Cant turn of notifications

Fredrik Wänglund fredrik.wanglund at datavis.se
Mon Mar 31 16:35:46 CEST 2003


I'm trying to disable notifications for a series of hosts. I have 
attached my template and service-definition below.
I have changed 'notifications_enabled' to '0' in the template and 
restart Nagios, but notifications is still sent out...
If I add a new service to Nagios that uses the same template, the 
notification is supressed (and an icon witha a crossed-over speaker 
shows up in the web).

Why cant' I disable notifications for an existing service?




define service {
name                           bb-template
active_checks_enabled          1
passive_checks_enabled         1
parallelize_check              1
obsess_over_service            1
check_freshness                0
notifications_enabled          0
event_handler_enabled          0
flap_detection_enabled         1
process_perf_data              1
retain_status_information      1
retain_nonstatus_information   1
register                       0
max_check_attempts             5
normal_check_interval          3
retry_check_interval           1
check_period                   24x7
notification_interval          10
notification_period            24x7
notification_options           w,u,c,r
contact_groups                 UNIX-kungar
}


And this service-definitions:

define service {
host_name                       sc1,sc2,sc3,sc4,sc5,sc_gavle
service_description             Net-usage
check_command                   apan!snmpget!10!20
use                             bb-template
normal_check_interval           1
}

/FredrikW



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
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