Xymon Mailing List Archive search

combotest bug - minus sign in hostname

list Henrik Størner
Wed, 5 Jul 2006 16:17:43 +0200
Message-Id: <user-a3263da277fd@xymon.invalid>

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