[hobbit] combotest bug - minus sign in hostname

Henrik Stoerner henrik at hswn.dk
Wed Jul 5 16:17:43 CEST 2006


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)


Henrik




More information about the Xymon mailing list