Hello Support,
We need to generate configuration report which should have all the details of the device and its services(For e.g. service thresholds etc). is there any way to pull such data from the configuration files.
Need help to generate configuration report
-
capgemtools
- Posts: 56
- Joined: Wed Aug 12, 2020 3:16 pm
Need help to generate configuration report
Thanks,
Supriya
Supriya
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Need help to generate configuration report
Hi Sandeep,
While there isn't a builtin configuration report, the objects.cache file is very useful for looking up the complete settings for any host or service.
The other option is to pull data from the nagiosql database, contains all of th configurations, but that will require writing the appropriate SQL commands.
Hope that helps answer your question.
Benjamin
While there isn't a builtin configuration report, the objects.cache file is very useful for looking up the complete settings for any host or service.
Code: Select all
/usr/local/nagios/var/objects.cache
Hope that helps answer your question.
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!