[Nagiosplug-devel] how to find the services that are on disable notifications

Marc Powell marc at ena.com
Fri Mar 6 23:32:54 CET 2009


On Mar 6, 2009, at 4:10 PM, Ovidiu Marcu wrote:

> Hello all,
>
> I’m trying to find a way to see all the hosts and services that have  
> disable notifications set.

I expect this will get you a good way toward your goal --

egrep 'host_name|service_description|notifications_enabled' /usr/local/ 
nagios/var/status.dat | grep -B2 '=0' | grep -v '=1'

--
Marc





More information about the Devel mailing list