Hi,
We have XI 2014R2.3.
We use bandwidth checks for graphing only. We do not alert on bandwidth. These individual bandwidth checks have all 'Check Settings and Alert Settings' in CCM empty, and use a service template 'xiwizard_switch_port_bandwidth_service' to drive these settings. In this service template under 'Alert Settings' the 'Notifications enabled:' is set to off. However, these bandwidth checks are still sending notifications out via email. Am I missing something? Thanks.
Here is the notification event from within the nagios log:
[Sun Apr 12 02:40:34 2015] SERVICE NOTIFICATION: it-netops;host-a;inpath0_0 Bandwidth;OK;xi_service_notification_handler;OK - Current BW in: 15.65Mbps Out: 74.99Mbps
Service Template Notification Turned OFF But firing
Re: Service Template Notification Turned OFF But firing
Please post the config for the service template and the service that is alerting.
Go to the service template and click the little blue floppy disk icon to the right of it to show the config, do the same for the service.
Go to the service template and click the little blue floppy disk icon to the right of it to show the config, do the same for the service.
You do not have the required permissions to view the files attached to this post.
Re: Service Template Notification Turned OFF But firing
please find attached
You do not have the required permissions to view the files attached to this post.
Re: Service Template Notification Turned OFF But firing
Well, those look correct. Could you post a copy of the actual runtime config from one of the hosts in: /usr/local/nagios/etc/servcies
And post the relevant template from: /usr/local/nagios/etc/servicetemplates.cfg?
And post the relevant template from: /usr/local/nagios/etc/servicetemplates.cfg?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Service Template Notification Turned OFF But firing
Relevant template from servicetemplates.cfg below, and host def attached.
define service {
name xiwizard_switch_port_bandwidth_service
service_description Network Bandwidth
max_check_attempts 3
check_interval 5
retry_interval 3
active_checks_enabled 1
passive_checks_enabled 0
check_period 24x7
notification_interval 0
notification_period 24x7
notifications_enabled 0
contact_groups net_cg
register 0
}
define service {
name xiwizard_switch_port_bandwidth_service
service_description Network Bandwidth
max_check_attempts 3
check_interval 5
retry_interval 3
active_checks_enabled 1
passive_checks_enabled 0
check_period 24x7
notification_interval 0
notification_period 24x7
notifications_enabled 0
contact_groups net_cg
register 0
}
You do not have the required permissions to view the files attached to this post.
Re: Service Template Notification Turned OFF But firing
Could you check to see if notfications_enabled is set correctly on a few of the problematic services in:
They could be turned on as runtime options.
Code: Select all
/usr/local/nagios/var/retention.dat?Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Service Template Notification Turned OFF But firing
Ah! That is the problem. Another person had enabled from front-end...
When I go into Service Status I can see that this 1 bandwidth check has notification enabled. And, the entry for this service check in retention.dat is:
notifications_enabled=1
Thanks guys! All set.
When I go into Service Status I can see that this 1 bandwidth check has notification enabled. And, the entry for this service check in retention.dat is:
notifications_enabled=1
Thanks guys! All set.