Team
Could you please help me on How can 3rd party applications pull data from Nagios DB ?
Scanario : Selenium is monitoring the application transactions and storing the data in Nagios DB. 3rd party application want to pull the data and display the performance data as a widget.
Thanks in advance.
Access to Nagios Database
Re: Access to Nagios Database
Performance data is stored in RRD files under /usr/local/nagios/share/perfdata/, and everything else like object configs and statuses are in the MySQL database in the nagios and nagiosql tables.
Former Nagios employee
Re: Access to Nagios Database
Thanks for the quick response.
Is there a Service already available to pull this data for a given time range ?
We dont want to give access to Mysql database.
Regards
Srinadh
Is there a Service already available to pull this data for a given time range ?
We dont want to give access to Mysql database.
Regards
Srinadh
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Access to Nagios Database
srinadhv9 wrote:3rd party application want to pull the data and display the performance data as a widget.
tmcdonald wrote:Performance data is stored in RRD files under /usr/local/nagios/share/perfdata/
If it's performance data you seek to query that is in RRD as tmcdonald said. yes there are tools available for querying that data:srinadhv9 wrote:Is there a Service already available to pull this data for a given time range ?
We dont want to give access to Mysql database.
http://oss.oetiker.ch/rrdtool/
Re: Access to Nagios Database
However in terms of readily-available API access within Nagios, we have a few options:
https://assets.nagios.com/downloads/nag ... nd_API.pdf
https://labs.nagios.com/2014/06/19/expl ... -7-part-1/
https://assets.nagios.com/downloads/nag ... nd_API.pdf
https://labs.nagios.com/2014/06/19/expl ... -7-part-1/
Former Nagios employee