Criticals to one group, unknowns to another?


#1

If this is not possible, please post indicating so. I hate having 0 replies
to a ‘yes / no’ question. :slight_smile:

For a specific service on a specific host, is it possible to send
unknown state alerts to one contractgroup and critical / warning / ok states
to another? And with using only one check?

I could see doing this with two checks:

define service {

service_description serviceA
contact_group groupA
notification_options w,c,r

}

define service {

service_description serviceA monitoring issues
contact_group groupB
notification_options u

}

But that seems very redundant, especially as you scale to thousands of hosts.


#2

So, Yes… :frowning:
Also though, I think you could use the service_notification_options in the contact objects instead, that would scale better for “thousands of hosts” but obviously if you want your “groupB” contacts to recieve notifications other than unknown for some other services, then you’ll have to double those up instead, and create a ‘unknown-only’ contact and a ‘normal’ contact object for each, and group them appropriately.

HTH

/S

Edit:
[blockquote]If this is not possible, please post indicating so. I hate having 0 replies
to a ‘yes / no’ question. [/blockquote]

What really gets my goat is when I take the trouble to respond to a question and OP doesn’t even say thanks…


#3

Thanks much. That confirms my suspicions. I should have said ‘thanks in advance’ in my original post.