using web content to determine the nagios status

Jaime Ventura jaimeventura at ipp.pt
Mon Oct 8 12:40:33 CEST 2007


Hello,
    Im trying to monitor a webserver (and its services) without 
installing a client on it.
    For that I was hopping to use a created php page which tests several 
services(mysql, ...) and prints a status message.
    Is there any way to take the status message presented by the php 
page (OK, WARNING, ERROR,..) and map it to nagios status?
   
    I tried check_http -H webserver -u /status.htm -s "STATUS OK", but 
this way I can only get a status ok or error on nagios status.
    Is there any other way to do it, besides developing a specific plug-in?
Thanks

jaime


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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