Page 1 of 1
Searching Hosts
Posted: Thu Dec 18, 2014 11:19 am
by JohnFLi
I ran across a new host machine that one of my users created.
He had Notifications for that host disabled.
Is there a way I can do a search and see if there are any other hosts that have notifications disabled?
Re: Searching Hosts
Posted: Thu Dec 18, 2014 11:44 am
by tmcdonald
This would be pretty simple to do in XI, but in Core there are issues with templates that might have that option set which makes it a bit trickier. /usr/local/nagios/var/objects.cache will have a list of all the compiled configs (meaning the template options are displayed directly) and you could grep around for it there.
Re: Searching Hosts
Posted: Wed Jan 21, 2015 5:15 pm
by JohnFLi
Gotcha....
feel free to close this item
Re: Searching Hosts
Posted: Wed Jan 21, 2015 5:20 pm
by slansing
Closing as requested.