Bug in 3.0.2 with service escalation contact groups

Andy Shellam andy.shellam-lists at mailnetwork.co.uk
Mon May 26 23:15:11 CEST 2008


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 '<service>' on host '<host>' is not defined anywhere!
Error: Contact group 'NetServe' specified in service escalation for 
service '<service>' on host '<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 SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Developers mailing list