Page 1 of 1

Data output from nagios

Posted: Fri Dec 25, 2020 5:32 pm
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.

Re: Data output from nagios

Posted: Fri Dec 25, 2020 8:17 pm
by scottwilkerson
You can get the data from the JSON Query API in nagios

Code: Select all

/nagios/jsonquery.html

Re: Data output from nagios

Posted: Sat Dec 26, 2020 1:58 pm
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.