Page 1 of 1
Notification contact for all service of a Host
Posted: Tue Feb 28, 2017 9:32 am
by Dreeg
Hi all,
sorry in advance for trivial question.
Situation:
Host#1, Host#2, ..., Host#n
Hostgroup "X" that include Host#1..4
Service#1 (e.g. CPU Load) associated to Hostgroup X
All Host between #1 and #4 will have "CPU Load" check.
How should I do if I want to send notifications to Contact Y only for the CPU Load of Host#3?
Thanks in advance,
Dreeg
Re: Notification contact for all service of a Host
Posted: Tue Feb 28, 2017 3:44 pm
by bwallace
You'll have to create a separate check_CPU service for Host # 3 where only 'Contact Y' is listed as the contact. Unfortunately there is not a way to isolate Contact Y when the same service check is applied to all hosts in a host group, at least not that I'm aware of.
Re: Notification contact for all service of a Host
Posted: Wed Mar 01, 2017 3:05 am
by Dreeg
It is not a good situation, is extremely common requirement.
For now a draft result is given by removing any contact in service. It inherits from the host.
Unfortunately so granularity is limited to hosts and not to services.
Re: Notification contact for all service of a Host
Posted: Wed Mar 01, 2017 4:06 pm
by mcapra
I understand the frustration. The granularity is available for services, just not in the way your particular services have been deployed. There aren't very good options for overloading definitions within any given service/host when it's inheriting attributes from a hostgroup. Ideally, there may be a way to have a host inherit several services from a hostgroup, but overload any given service with host-level definitions. Unfortunately, this is not the case currently.