de-couple notification settings from a service ?
Posted: Thu Apr 23, 2015 6:44 pm
Guys
Generic question. At this time it appears I have to tie a notification profile to a service it if want it to ever alert.
Problem is that when I define a service I don't necessarily know whether it should alert or not. F.e. a check for /var should show up on the dash but not alert for stg systems.
The same service should alert for prd. According to how I understand it I'd have to create various versions of the same service
1. check /var without alert
2. check /var with alert to a certain group
But what if I need the same check on another set of systems and I want to alert to another contact group ? I'd end up with God knows how many versions of the same /var service.
That cannot be it. However, I have not found a way to de-couple the notification from the service and inherit it from a hostgroup instead. In my opinion this would be the way to do this.
I'd imagine creating the service without a notification profile, then I associate it to a hostgroup, but that implies that I can associate a notification profile with a hostgroup.
That option isn't available as far as I see.
Even if I could overwrite the service notification it still requires the creation of another service that monitors the same thing.
I'm sure I'm looking at this wrong. Any ideas are appreciated.
thx
Generic question. At this time it appears I have to tie a notification profile to a service it if want it to ever alert.
Problem is that when I define a service I don't necessarily know whether it should alert or not. F.e. a check for /var should show up on the dash but not alert for stg systems.
The same service should alert for prd. According to how I understand it I'd have to create various versions of the same service
1. check /var without alert
2. check /var with alert to a certain group
But what if I need the same check on another set of systems and I want to alert to another contact group ? I'd end up with God knows how many versions of the same /var service.
That cannot be it. However, I have not found a way to de-couple the notification from the service and inherit it from a hostgroup instead. In my opinion this would be the way to do this.
I'd imagine creating the service without a notification profile, then I associate it to a hostgroup, but that implies that I can associate a notification profile with a hostgroup.
That option isn't available as far as I see.
Even if I could overwrite the service notification it still requires the creation of another service that monitors the same thing.
I'm sure I'm looking at this wrong. Any ideas are appreciated.
thx