Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Status XML Generator
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.
Thanks to a contributor, this is also available as a native module for PHP, written in C.
Reviews (0)
Be the first to review this listing!