httping through proxy

naim abu darwish naim.abu.darwish at gmail.com
Mon Sep 25 22:39:15 CEST 2006


hello.
I'm trying to monitor browsing performance through proxies. httping (
http://www.vanheusden.com/httping/ )is  like ping but for
http-requests.
check command example is  something like ::

httping -h www.google.com -x 192.168.20.24:8080 -c 1 -t 2

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$

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


define command{
        command_name    check_httping
        command_line       /usr/bin/httping -x $HOSTADDRESS$ : $ARG1$
-c 1 -h  www.google.com
        }
###
Many thanks


-Naim

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list