Determining status of a single service
Mohr James
james.mohr at elaxy.com
Thu Mar 5 09:40:37 CET 2009
Hi All!
Is there any combination of parameters with status.cgi or some other
script that one could use to easily determine the current status of a
specific host:service? I can get the whole page with this kind of URL
nagios/cgi-bin/status.cgi?host=HOSTNAME
and then simply parse out the status of the specific service. However, I
am not too happy with relying on the structure of an HTML page.
I would like to be able to call up a URL from a remote machine, passing
the hostname and service, and get some very basic text like OK or a
numeric value for the status of that service. I would then take this
value and pass it to some other application. Building something with
Perl or PHP is straight forward (we're running NDO). But I was hoping
that something is already available.
Any input is appreaciated.
Regards,
Jim Mohr
--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090305/c491cfca/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
-------------- next part --------------
_______________________________________________
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