Data output from nagios

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Hanza
Posts: 8
Joined: Fri Dec 25, 2020 5:24 pm

Data output from nagios

Post by Hanza »

I want to create a special front-end for nagios by using some framework, but I need the data it collects nagios as a back-end.
So, How I can do that?
(I found something like using ndoutils and JSON, but I'm not sure, can you propose for me the best solution if you know? )
Thank you in advance.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Data output from nagios

Post by scottwilkerson »

You can get the data from the JSON Query API in nagios

Code: Select all

/nagios/jsonquery.html
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Hanza
Posts: 8
Joined: Fri Dec 25, 2020 5:24 pm

Re: Data output from nagios

Post by Hanza »

Thank you for response.
Yeah, JSON API more easy than ndoutils, I found this php script https://github.com/lizell/php-nagios-js ... usJson.php it's useful.
Locked