Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
Your review has been submitted and is pending approval.
statusXML.php is a simple PHP script that parses a local status.dat file and generates a simple XML description of the status of all hosts and services.
Current Version
Last Release Date
June 8, 2009
Owner
Jason Antman
Website
http://github.com/jantman/php-nagios-xml
Download URL
License
GPL
Compatible With
statusXML.php simply parses that Nagios status.dat file (at a location specified in the script) and generates a simple XML file containing the status information of all hosts and services. The PHP script can be run either from the command line or via a web server. Though its original use was to provide Nagios status information to an administrative portal page, it can be used whenever you need detailed status information from Nagios in an easy-to-parse format, and especially when serving raw status data (as XML) is required. The XML tags within each servicestatus and hoststatus entry are mostly identical to the field names in the status.dat file for ease of use. (Updated 2009-02-06 for Nagios3 compatibility). Thanks to a contributor, this is also available as a native module for PHP, written in C.
You must be logged in to submit a review.
To:
From: