Notifications going to incorrect people
Posted: Thu Aug 28, 2014 11:29 am
Hello,
I have a host in the system configure like the following. The "mvhosttemplate" used below on it has a contact group called "mv" configured in it so host notifications will go to the group when a host notifications sent out. The secondary "standard_host_win" template is also setup to notify a specific contact and add this host to a hostgroup called "basic_checks_windows".
define host {
host_name MVStaging
use mvhosttemplate,standard_host_win
alias mvstaging.wz.hasbro.com
address x.x.x.x (omitted the IP for security reasons)
register 1
}
Yesterday, I created a new service check (shown below) and applied it. The first service template "live_ops_notifications" configure the check settings and one specific contact to send the service notification to. The second template (memcheck_windows_template) holds the check command settings only. I have also listed both template configs here.
### Service check ###
define service {
service_description check-mem-WIN
use live_ops_notifications,memcheck_windows_template
hostgroup_name basic_checks_windows
register 1
}
### Service template ###
define service {
name memcheck_windows_template
service_description memcheck_windows_template
display_name windows snmp template
servicegroups basic_service_checks
check_command check_winmem!snmpCommName -t 30!80!90!!!!!
register 0
}
### Service template ###
define service {
name live_ops_notifications
service_description live_ops_notifications
max_check_attempts 3
check_interval 10
retry_interval 3
check_period 24x7
notification_interval 60
notification_period 24x7
notification_options w,c,u,r,
notifications_enabled 1
contacts liveopsmonitoring
register 0
}
Once this new service check went active after applying the nagios config from XI interface, this host memory was over utilized so it promptly sent out a crit alert but besides going to the "liveopsmonitoring" contact, it also went all other people listed on the MV contact group configured on the "mvhosttemplate".
How is that possible? I thought service check notifications only went out to the contacts or contact groups configured on the service check themselves or any templates used in that service check and host notificaitons would only go out to the contacts or contactgroups configured on the host object or any templates used on the host object.
Any help would be appeciated.
--
[email protected]
Wizards of the Coast
I have a host in the system configure like the following. The "mvhosttemplate" used below on it has a contact group called "mv" configured in it so host notifications will go to the group when a host notifications sent out. The secondary "standard_host_win" template is also setup to notify a specific contact and add this host to a hostgroup called "basic_checks_windows".
define host {
host_name MVStaging
use mvhosttemplate,standard_host_win
alias mvstaging.wz.hasbro.com
address x.x.x.x (omitted the IP for security reasons)
register 1
}
Yesterday, I created a new service check (shown below) and applied it. The first service template "live_ops_notifications" configure the check settings and one specific contact to send the service notification to. The second template (memcheck_windows_template) holds the check command settings only. I have also listed both template configs here.
### Service check ###
define service {
service_description check-mem-WIN
use live_ops_notifications,memcheck_windows_template
hostgroup_name basic_checks_windows
register 1
}
### Service template ###
define service {
name memcheck_windows_template
service_description memcheck_windows_template
display_name windows snmp template
servicegroups basic_service_checks
check_command check_winmem!snmpCommName -t 30!80!90!!!!!
register 0
}
### Service template ###
define service {
name live_ops_notifications
service_description live_ops_notifications
max_check_attempts 3
check_interval 10
retry_interval 3
check_period 24x7
notification_interval 60
notification_period 24x7
notification_options w,c,u,r,
notifications_enabled 1
contacts liveopsmonitoring
register 0
}
Once this new service check went active after applying the nagios config from XI interface, this host memory was over utilized so it promptly sent out a crit alert but besides going to the "liveopsmonitoring" contact, it also went all other people listed on the MV contact group configured on the "mvhosttemplate".
How is that possible? I thought service check notifications only went out to the contacts or contact groups configured on the service check themselves or any templates used in that service check and host notificaitons would only go out to the contacts or contactgroups configured on the host object or any templates used on the host object.
Any help would be appeciated.
--
[email protected]
Wizards of the Coast