Page 1 of 1

Nagios 3 data extraction

Posted: Mon Nov 28, 2016 9:13 am
by ab3pu
All,

I have been given the task of reorganizing our Nagios data as we migrate to Nagios XI.

Our contact list and contact groups are woefully outdated.

Does anyone have a script or other quick method of creating a list of what hosts and services are associated with all my contacts and contact groups?

Thanks in Advance

Re: Nagios 3 data extraction

Posted: Mon Nov 28, 2016 4:16 pm
by rkennedy
I would look at /usr/local/nagios/var/objects.cache (path may vary depending on how you installed) as this will be a configuration of all of your compiled configs.

You should be able to apply a grep of some sort to get the information you're after from here, but I don't have anything handy.

Re: Nagios 3 data extraction

Posted: Thu Jan 05, 2017 9:42 am
by ab3pu
ok to close