XML

Status XML Generator

Description:

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

Compatible With

  • Nagios 2.x
  • Nagios 3.x

Owner

License

GPL


Project Files
Project Notes
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.
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
103,447