Re: [Nagios-users] Bug in 3.0.2 with service escalation contact
Posted: Tue May 27, 2008 2:17 am
------=_20080527051729_11051
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
----- Original Message -----
Subject: Re: [Nagios-users] Bug in 3.0.2 with service escalation contact
groups
Date: Tue, May 27, 2008 5:27
From: "Andreas Ericsson"
> Andy Shellam wrote:
> > 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
> >
>
> It's not supposed to. If it works, it's an easter egg.
>
> > 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.
> >
>
> The documentation also says that the value referred to by the variable
> contactgroup_name (which can't contain spaces) is the one to use when
> referencing the contactgroup from other objects. I'm guessing you're
> using the alias field instead, no?
>
> --
> Andreas Ericsson [email protected]
> OP5 AB www.op5.se
> Tel: +46 8-230225 Fax: +46 8-230231
>
>
>
Hi Andreas,
Well in that case it's a lot of easter eggs! Service escalations are the
only thing it doesn't work for! Hosts, services, host escalations,
contacts, contact groups all accept "NetServe Support" as a valid contact
group name.
I even have hosts that have names with spaces that work OK (e.g. Telehouse
Router 1.) See attached screenshot - notice the contact group is
"NetServe Support" and parent hosts such as "Telehouse Router 1" and
"Telecity Router 1".)
No I'm not using the alias, my contact groups don't have aliases defined;
I'm using the name directive. I couldn't find where the documentation
says not to use spaces in name definitions?
"contactgroup_name: This directive is a short name used to identify the
contact group."
"contact_groups: This directive is used to identify the short name of the
contact group that should be notified when the service notification is
escalated. Multiple contact groups should be separated by commas. You must
specify at least one contact or contact group in each service escalation
definition."
Sorry if I seem confused here, I am. I don't understand how when the
majority of definitions work, it's incorrect, surely something this major
would be an even bigger bug that would have been picked up during the beta
and RC testing?
I'm more inclined to think that the service escalation is wrong in its
behaviour, but then I could be wrong?
Thanks,
Andy
------=_20080527051729_11051
Content-Type: image/jpeg; name="nagios_hosts_config.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="nagios_hosts_config.jpg"
/9j/4AAQSkZJRgABAQEAYABgAAD/4QBmRXhpZgAASUkqAAgAAAAEABoBBQABAAAAPgAAABsBBQAB
AAAARgAAACgBAwABAAAAAgAAADEBAgAQAAAATgAAAAAAAABgAAAAAQAAAGAAAAABAAAAUGFpbnQu
TkVUIHYzLjIyAP/bAEMACAYGBwYFCAcHBwkJCAoMFA0MCwsMGRITDxQdGh8eHRocHCAkLicgIiwj
HBwoNyksMDE0NDQfJzk9ODI8LjM0Mv/bAEMBCQkJDAsMGA0NGDIhHCEyMjIyMjIyMjIyMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMv/AABEIAuIEAAMBIgACEQEDEQH/xAAf
AAABBQEBAQEBAQAAAAAAAAAAAQIDBAUGBwgJCgv/xAC1EAACAQMDAgQDBQUEBAAAAX0BAgMABBEF
EiExQQYTUWEHInEUMoGRoQgjQrHBFVLR8CQzYnKCCQoWFxgZGiUmJygpKjQ1Njc4OTpDREVGR0hJ
SlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3
uLm6wsPExcbHyMnK0tPU1dbX2Nna4eLj5OXm5+jp6vHy8/T19vf4+fr/xAAfAQADAQEBAQEBAQEB
AAAAAAAAAQIDBAUGBwgJCgv/xAC1EQACAQIEBAMEBwUEBAABAncAAQIDEQQFITEGEkFRB2FxEyIy
gQgUQpGhscEJIzNS8BVictEKFiQ04SXxFxgZGiYnKCkqNTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNk
ZWZnaGlqc3R1dnd4eXqCg4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfI
ycrS09TV1tfY2dri4+Tl5ufo6ery8/T19vf4+fr/2gAMAwEAAhEDEQA/ANTTNOtZbWK7vbeKaaVd
wVkGxFPQbQME46nk81f+w6X/ANAyy/8AAdP8KykvEisrdCct5EYwDg8oKr6tqVpBdxIdzO75lQqS
ETHDAnhSD6c/19XEY6FHExwzTcpK/lY8+ng6lXDz
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
----- Original Message -----
Subject: Re: [Nagios-users] Bug in 3.0.2 with service escalation contact
groups
Date: Tue, May 27, 2008 5:27
From: "Andreas Ericsson"
> Andy Shellam wrote:
> > 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
> >
>
> It's not supposed to. If it works, it's an easter egg.
>
> > 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.
> >
>
> The documentation also says that the value referred to by the variable
> contactgroup_name (which can't contain spaces) is the one to use when
> referencing the contactgroup from other objects. I'm guessing you're
> using the alias field instead, no?
>
> --
> Andreas Ericsson [email protected]
> OP5 AB www.op5.se
> Tel: +46 8-230225 Fax: +46 8-230231
>
>
>
Hi Andreas,
Well in that case it's a lot of easter eggs! Service escalations are the
only thing it doesn't work for! Hosts, services, host escalations,
contacts, contact groups all accept "NetServe Support" as a valid contact
group name.
I even have hosts that have names with spaces that work OK (e.g. Telehouse
Router 1.) See attached screenshot - notice the contact group is
"NetServe Support" and parent hosts such as "Telehouse Router 1" and
"Telecity Router 1".)
No I'm not using the alias, my contact groups don't have aliases defined;
I'm using the name directive. I couldn't find where the documentation
says not to use spaces in name definitions?
"contactgroup_name: This directive is a short name used to identify the
contact group."
"contact_groups: This directive is used to identify the short name of the
contact group that should be notified when the service notification is
escalated. Multiple contact groups should be separated by commas. You must
specify at least one contact or contact group in each service escalation
definition."
Sorry if I seem confused here, I am. I don't understand how when the
majority of definitions work, it's incorrect, surely something this major
would be an even bigger bug that would have been picked up during the beta
and RC testing?
I'm more inclined to think that the service escalation is wrong in its
behaviour, but then I could be wrong?
Thanks,
Andy
------=_20080527051729_11051
Content-Type: image/jpeg; name="nagios_hosts_config.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="nagios_hosts_config.jpg"
/9j/4AAQSkZJRgABAQEAYABgAAD/4QBmRXhpZgAASUkqAAgAAAAEABoBBQABAAAAPgAAABsBBQAB
AAAARgAAACgBAwABAAAAAgAAADEBAgAQAAAATgAAAAAAAABgAAAAAQAAAGAAAAABAAAAUGFpbnQu
TkVUIHYzLjIyAP/bAEMACAYGBwYFCAcHBwkJCAoMFA0MCwsMGRITDxQdGh8eHRocHCAkLicgIiwj
HBwoNyksMDE0NDQfJzk9ODI8LjM0Mv/bAEMBCQkJDAsMGA0NGDIhHCEyMjIyMjIyMjIyMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMv/AABEIAuIEAAMBIgACEQEDEQH/xAAf
AAABBQEBAQEBAQAAAAAAAAAAAQIDBAUGBwgJCgv/xAC1EAACAQMDAgQDBQUEBAAAAX0BAgMABBEF
EiExQQYTUWEHInEUMoGRoQgjQrHBFVLR8CQzYnKCCQoWFxgZGiUmJygpKjQ1Njc4OTpDREVGR0hJ
SlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3
uLm6wsPExcbHyMnK0tPU1dbX2Nna4eLj5OXm5+jp6vHy8/T19vf4+fr/xAAfAQADAQEBAQEBAQEB
AAAAAAAAAQIDBAUGBwgJCgv/xAC1EQACAQIEBAMEBwUEBAABAncAAQIDEQQFITEGEkFRB2FxEyIy
gQgUQpGhscEJIzNS8BVictEKFiQ04SXxFxgZGiYnKCkqNTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNk
ZWZnaGlqc3R1dnd4eXqCg4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfI
ycrS09TV1tfY2dri4+Tl5ufo6ery8/T19vf4+fr/2gAMAwEAAhEDEQA/ANTTNOtZbWK7vbeKaaVd
wVkGxFPQbQME46nk81f+w6X/ANAyy/8AAdP8KykvEisrdCct5EYwDg8oKr6tqVpBdxIdzO75lQqS
ETHDAnhSD6c/19XEY6FHExwzTcpK/lY8+ng6lXDz
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]