Searching Hosts

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
User avatar
JohnFLi
Posts: 517
Joined: Mon Jun 17, 2013 3:11 pm

Searching Hosts

Post 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?
Everybody is somebody else’s weirdo
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Searching Hosts

Post 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.
Former Nagios employee
User avatar
JohnFLi
Posts: 517
Joined: Mon Jun 17, 2013 3:11 pm

Re: Searching Hosts

Post by JohnFLi »

Gotcha....


feel free to close this item
Everybody is somebody else’s weirdo
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Searching Hosts

Post by slansing »

Closing as requested.
Locked