notifications_enabled 0

Dan Hopkins dan.hopkins at uk.easynet.net
Tue Feb 3 11:09:10 CET 2004


> -----Original Message-----
> From: Ben Whaley [mailto:bwhaley at costrack.com]
> Sent: 02 February 2004 17:20
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] notifications_enabled 0
> 
> 
> Greetings,
> 
> I am having trouble with disabling notifications. I would not 
> like to be
> notified when a host cannot be pinged, but I still want the 
> check to happen.
> In my generic service template, I have "notifications_enabled 
> 1". However,
> in the ping check service definition, I have:
> 
>     defined service{
>         ; Generic template for all services
>         use                         common-to-all
>         name                        simple-ping-check
>         notifications_enabled       0
>         service description         Ping Check
>         check_command               check_ping
>         max_check_attempts          1
>         host_name                   *
>     }
> 
> The notifications disabled icon (a speaker with a red X 
> through it) apears
> on the Service Detail webpage next to the Ping Check service. 
> However, I am
> still getting notified when hosts are unreachable.
> 
> Should I remove the "notifications_enabled 1" from the 
> generic template and
> specify notifications_enabled in each service definition? 
> This would be
> unintuitive. Does anyone have other suggestions?
> 
> Regards,
> Ben Whaley


Are you sure it's a service notification you're getting and not a host
notification? (easily spotted by service notifications having a service
description if you're using the generic notify commands) Check the
notifications setting in your host definition

Kind Regards,
-- 
Dan Hopkins


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list