Xymon Mailing List Archive search

combotest bug - minus sign in hostname

list Nicolas Dorfsman
Wed, 5 Jul 2006 16:20:02 +0200
Message-Id: <user-c0bc6488dce9@xymon.invalid>

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