check_http

Sebastian Ries Sebastian.Ries at dtnet.de
Tue Oct 21 12:11:22 CEST 2008


Hi

> I have this command sudo -u nagios /usr/nagios/libexec/check_http -H
> 192.168.0.10 -p 8080 -u http://192.168.0.10:8080/SMPPSender/control -s
> Connected
> But not sure how to proceed. 

Try To check for "Disconnected" and run the negate script.
This will convert the status to OK as long as the string was NOT found.

In other words it will give you an OK state as long as check_http gives
you CRITICAL for the string "Disconnected".

Regards
Sebastian Ries

-- 
------------------------------------------------------------
DT Netsolution GmbH -  Talaeckerstr. 30 -  D-70437 Stuttgart
Tel: +49-711-849910-36               Fax: +49-711-849910-936
WEB: http://www.dtnet.de/     email: Sebastian.Ries at dtnet.de

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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