Page 1 of 1

Need help to generate configuration report

Posted: Thu Oct 15, 2020 11:04 am
by capgemtools
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.

Re: Need help to generate configuration report

Posted: Thu Oct 15, 2020 3:23 pm
by benjaminsmith
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.

Code: Select all

/usr/local/nagios/var/objects.cache
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