Hallo all,
is it possible the servicegroup directive is ignored within
serviceescalation block? See the following basic example:
define serviceescalation {
hostgroup_name monitoring
servicegroup_name escalate
service_description .*
first_notification 1
last_notification 0
notification_interval 0
contacts zdenek.pizl
}
define servicegroup{
servicegroup_name donotescalate
alias donotescalate
}
define servicegroup{
servicegroup_name escalate
alias escalate
}
define service{
servicegroups donotescalate
use passive-template ; template to
inherit from
host_name icinga ; host where send_nsca is located
service_description Passive-test ; service to be checked
check_command check_dummy!3 ; if check is stale, UNKNOWN
check_freshness 1
freshness_threshold 900
initial_state o
notifications_enabled 1
flap_detection_enabled 0
notification_options w,c
contacts passivecontact
}
Host *icinga* is member of *monitoring* hostgroup, the *Passive*-*test* is
member of *donotescalate* servicegroup. All other services are members of
*escalate* servicegroup.
And the interesting part - I've assumed that the *serviceescalation* will
not match for event/notifications from Passive-test because of "filtering"
it for "escalate" servicegroup only, but it does match. And it has not sent
notification to *passivecontact* at all.
Any idea what's wrong with my testing setup? Thank you, with regards, .zp.
--
Zdenek Pizl
[email protected]
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users