[hobbit] combotest bug - minus sign in hostname

Nicolas Dorfsman ndo at unikservice.com
Wed Jul 5 16:20:02 CEST 2006


Le 5 juil. 06 à 16:17, Henrik Stoerner a écrit :

> On Wed, Jul 05, 2006 at 04:04:08PM +0200, Nicolas Dorfsman wrote:
>>
>> Argggg....help :
>>
>> (c92-dc200.dns||c92-dc220.dns||c92-dc221.dns) = (1-1||1-1||1-1) = 0
>>
>> (c92-dc200.dns||c92-dc220.dns) = (1-1||1-1) = 0
>
> man bbcombotest.cfg says:
>
>        Note:  If the expression involves hostnames with a character  
> that
>        is also an operator - e.g. if you have a host
>        "t1-router-newyork.foo.com" with a dash in the hostname -
>        then  the  operator-character  must  be escaped  with  a   
> backslash
>        '\' in the expression, or it will be interpreted as an  
> operator.
>        E.g.  like this:
>
>         nyc.conn = (t1\-router\-nyc.conn || backup\-router\-nyc.conn)


Thx.  Found it just before your answer.

nicolas


More information about the Xymon mailing list