issues using check_http ..HELP!!

C. Bensend benny at bennyvision.com
Wed Sep 1 04:38:33 CEST 2004


Hi Jarrod,

> [root at aubnenms:/etc/nagios] /usr/lib/nagios/plugins/check_http -H
> proxy.syd-co.au.dhl.com -p 8080
> HTTP ok: HTTP/1.0 200 OK -   0.062 second response time |time=  0.062

OK, good.

> Running pre-flight check on configuration data...
>
> Checking services...
> Error: Service check command 'check_http -H proxy.syd-co.au.dhl.com -p
> 8080'
> specified in service 'http' for host 'proxy.syd-co.au.dhl.com' not defined
> anywhere!

Righto.  Define a custom test (like a "check_proxy" or something) in
checkcommands.cfg that defines the test using your custom parameters.
Then, in the service definition, refer to that custom test.

Benny


-- 
Funniest spam subject: "The mighty cucumber lives again!"
                                                  -- Received Aug 31, 2004



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
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