Home Directory Addons APIs JSON Status JSON Generator

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Status JSON Generator

Last Release Date
2013-06-13
Compatible With
  • Nagios 2.x
  • Nagios 3.x
Owner
License
GPL
Hits
51579
Files:
FileDescription
statusJson.phpstatusJson.php
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Status JSON Generator
Script to parse Nagios status.dat and present it as JSON, to allow inclusion of status info in a web page served from a separate machine.
Script to parse Nagios status.dat and present it as JSON, to allow inclusion of status info in a web page served from a separate machine.

The code is a modification of Jason Antman's statusXML.php available at http://exchange.nagios.org/directory/Addons/APIs/XML/Status-XML-Generator/details or https://github.com/jantman/php-nagios-xml.

Place in /opt/local/share/nagios/ (or wherever your nagios content is served).
Reviews (1)
bystephanhughson, October 10, 2014
This is really useful, thanks so much.