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.
Data output from nagios
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Data output from nagios
You can get the data from the JSON Query API in nagios
Code: Select all
/nagios/jsonquery.htmlRe: Data output from nagios
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.
Yeah, JSON API more easy than ndoutils, I found this php script https://github.com/lizell/php-nagios-js ... usJson.php it's useful.