Page 1 of 1

[Nagios-devel] Bug in 3.0.2 with service escalation contact groups

Posted: Mon May 26, 2008 1:15 pm
by Guest
Hi,

I think I've found a bug in Nagios 3.0.2 with the contact_groups (and
contacts) directive in service escalations.
I have a contact group called "NetServe Support" which all my support
personnel are a member of. In all other definitions (services, hosts
etc), the following line works:

contact_groups NetServe Support

But with a service escalation, it tries to expand that into two separate
groups "NetServe" and "Support" despite the documentation saying that
multiple groups should be separated by commas.

Service escalation definition:

define serviceescalation {
# host_name *
hostgroup_name All Servers
service_description *
first_notification 3
last_notification 0
notification_interval 1800
contact_groups NetServe Support
}

Errors on config verification:

Error: Contact group 'Support' specified in service escalation for
service '' on host '' is not defined anywhere!
Error: Contact group 'NetServe' specified in service escalation for
service '' on host '' is not defined anywhere!

The following host escalation works, and produces no errors:

define hostescalation {
hostgroup_name All Servers
first_notification 3
last_notification 0
notification_interval 1800
contact_groups NetServe Support
}

Also, with both host and service escalations, a contact called "Andy
Shellam" also produces the above errors (trying to find 2 contacts
called "Andy" and "Shellam".)

For all of the above, the documentation says "Multiple contacts (groups)
should be separated by commas".

Can someone verify this bug report with the following version?

"Nagios 3.0.2
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 05-19-2008
License: GPL"

Many thanks,

Andy

N.B. Quoting the directives doesn't help either - e.g (contacts "Andy
Shellam")






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]