notifications_enabled 0
Jim Mozley
jim.mozley at exponential-e.com
Tue Feb 3 11:12:13 CET 2004
Ben Whaley wrote:
>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?
>
>
>
Try the host definition rather than the service to avoid host
unreachables (the ping is checking a "service" on that host).
Jim
-------------------------------------------------------
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