Hello:
I have disabled the notifications in as many spots as I can think of for a group of printers and yet I am still receiving notifications from the services. Here are the configurations:
Service
define service {
service_description Printer - Check Status
use Waypoint Printers Template
hostgroup_name Waypoint Printers
check_command check_snmp_printer!STATUS!!!!!!!
notifications_enabled 0
register 1
}
Host
define host {
host_name Administration - Clinical Information Services - A271 - Wristband
use Printer Host Template
alias Administration - Clinical Information Services - A271 - Wristband
address 10.10.5.3
hostgroups Waypoint Printers
check_command check-host-alive!!!!!!!!
notifications_enabled 0
register 1
}
Host Template
define host {
name Printer Host Template
hostgroups Waypoint Printers
initial_state u
max_check_attempts 10
check_interval 5
retry_interval 1
active_checks_enabled 1
check_period workhours
contact_groups Waypoint Technicians
notification_interval 30
first_notification_delay 5
notification_options d,u,r,f,s,
notifications_enabled 0
register 0
Service Template
define service {
name Waypoint Printers Template
service_description Waypoint Printers Template
initial_state o
max_check_attempts 10
check_interval 5
retry_interval 1
active_checks_enabled 1
passive_checks_enabled 0
check_period workhours
event_handler_enabled 0
notification_interval 30
first_notification_delay 5
notifications_enabled 0
contact_groups Waypoint Technicians
register 0
}
I am not sure where else to check at this point. Thanks!
Notifications disabled but still being sent
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Notifications disabled but still being sent
Hello, @CameronWP . I noticed that both service and host templates are assigned to Waypoint Technicians contact group. Perhaps the contact group's alert settings override individual service/host alert settings.
So, you may need to create a new Printer Host Template and Waypoint Printers Template and don't add any contact groups to them. And then change the templates for Administration - Clinical Information Services - A271 - Wristband host and Printer - Check Status service.
If you go to core configuration manager, then templates, you should be able to just clone the existing templates, rename them and remove the contact group.
So, you may need to create a new Printer Host Template and Waypoint Printers Template and don't add any contact groups to them. And then change the templates for Administration - Clinical Information Services - A271 - Wristband host and Printer - Check Status service.
If you go to core configuration manager, then templates, you should be able to just clone the existing templates, rename them and remove the contact group.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.