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

2008-05-28 Thread Andreas Ericsson
Mathieu Gagné wrote: Hi, Andy Shellam wrote: The lines you sent for the host escalation were actually for the host itself! The host escalation's contacts also had a space in the strtok() functions, which explains why a host escalation wouldn't register Andy Shellam as a contact name,

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

2008-05-27 Thread Mathieu Gagné
Hi Andy, Andy Shellam wrote: I'm more inclined to think that the service escalation is wrong in its behaviour, but then I could be wrong? HostEscalation differs from ServiceEscalation as you can see in the source code: File: xdata/xodtemplate.c For ServiceEscalation Line: 10251 (for

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

2008-05-27 Thread Andy Shellam
Hi again Mathieu, I've applied the patch successfully (I actually just went through the xodtemplate.c file and removed the spaces manually, as below. The lines you sent for the host escalation were actually for the host itself! The host escalation's contacts also had a space in the strtok()

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

2008-05-27 Thread Mathieu Gagné
Hi, Andy Shellam wrote: The lines you sent for the host escalation were actually for the host itself! The host escalation's contacts also had a space in the strtok() functions, which explains why a host escalation wouldn't register Andy Shellam as a contact name, but would recognise

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

2008-05-27 Thread Andy Shellam
Hi, My comments are inline. Quoting Mathieu Gagné [EMAIL PROTECTED]: Hi, Andy Shellam wrote: The lines you sent for the host escalation were actually for the host itself! The host escalation's contacts also had a space in the strtok() functions, which explains why a host escalation