My situation: I'm working on a web monitoring dashboard that assembles informations from different applications and sources and generate graphs, info graphics and reports.
The applications I'm trying to integrate are CACTI, Nagios, and other local private monitoring tools. I had no problem to integrate these applications, except for Nagios (I don't have much experience with it).
What I want to know is if there is a way to use Nagios as a Web Service, or something similar, so I can expose some of the informations and use it to generate my own reports on my dashboard application.
Is it possible to do that without any epic effort?
thanks for reading.
Export to files From the Configuration menu option, choose Nagios Monitoring > Maintenance > Tools. Select Export to files. The next screen shows a list of configuration files that are downloaded to the directory /usr/local/groundwork/monarch/htdocs/monarch/download.
nagios-api - presents a REST-like JSON interface to Nagios.
Nagios Log Server allows administrators to set the data path they would like their data to be stored. The default location is /usr/local/nagioslogserver/elasticsearch/data/, however with proper planning this path can be changed.
Nagios 4.x starting with version 4.4 now includes CGIs for JSON output. Installing the newest version of Nagios might be the easiest way to go.
See the announcement here.
Review the slides from Nagios World Conference 2013 here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With