I'm trying to monitor browsing performance through proxies. httping is like ping but for http-requests.
check command example could be something like ::
[blockquote]# httping -h www.google.com -x 192.168.20.24:8080 -c 1 -t 2[/blockquote]
where the variables are ::
1) 192.168.20.24 is the ip address of the proxy, corresponding to $$HOSTADDRESS$$
2) 8080 is the port number that the squid proxy is running on, this could be corresponding to $ARG1$
Command should return some value in milliseconds, corresponding to how fast browsing is through that proxy.
Could anyone please tell me how to put this in a way nagios understands. Its something close to what i did below, but i cant quiet figure it out yet.
the mistake is somewhere with the colon ( : ), i think.
from the file /etc/nagios/checkcommands.cfg
command_line /usr/bin/httping -x $HOSTADDRESS$:$ARG1$ -c 1 -h www.google.com