TOP LEVEL CATEGORIES
EXPLORE
Description:
status-json duplicates the output of status.cgi in JSON format to make it easier for other applications/services to use Nagios data.
To compile: 1. Copy status-json.c into $NAGIOS_DIR/cgi/ 2. cd $NAGIOS_DIR/cgi/ 3. Execute the command below to compile status-json.c into status-json.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o status-json.cgi status-json.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../common/shared.o
Updated 7 March 2012: Thanks to Doychin Atanasov for making some changes to fix problems with honoring disabled notifications and acknowledged states.
Updated 6 March 2017: Thanks to everyone who has used status-json, or who has made improvements to it, or who has had questions about it. We’re no longer using Nagios at my site, so I am not able to promise ongoing support for status-json. I’ve updated the source to include instructions for compiling status-json with gcc.
Current Version
2.0
Last Release Date
2012-03-06
Compatible With
Owner
Martin
License
GPL
status-json.c source code with D. Atansov's bug fix
You must be logged in to submit a review.
Your review has been submitted and is pending approval.
To:
From:
Your recommendation has been sent.