Xymon Mailing List Archive search

hobbitdboard and host=HOSTNAME filter

3 messages in this thread

list Dominique Frise · Thu, 14 Sep 2006 08:32:19 +0200 ·
Hi,

host=HOSTNAME filter does not get the expected results.
On following examples "host=kawa" or "host=kawa2" return same output line.

[bb at iris bin]$ ./bb 127.0.0.1 "hobbitdboard color=blue host=kawa2"
kawa2|www|blue||1158099455|1158214979|1158216779|0|0|130.223.27.23|-1|blue  Thu 
Sep 14 08:22:59 CEST 2006 : Connection refused

[bb at iris bin]$ ./bb 127.0.0.1 "hobbitdboard color=blue host=kawa"
kawa2|www|blue||1158099455|1158214979|1158216779|0|0|130.223.27.23|-1|blue  Thu 
Sep 14 08:22:59 CEST 2006 : Connection refused


Dominique
UNIL - University of Lausanne
list Henrik Størner · Thu, 14 Sep 2006 10:47:46 +0200 ·
quoted from Dominique Frise
On Thu, Sep 14, 2006 at 08:32:19AM +0200, Dominique Frise wrote:
host=HOSTNAME filter does not get the expected results.
On following examples "host=kawa" or "host=kawa2" return same output line.
The filters are regular expressions, so "kawa" matches anything with 
that string in it. For an exact match, use "^kawa$"


Regards,
Henrik
list Dominique Frise · Thu, 14 Sep 2006 11:32:44 +0200 ·
quoted from Henrik Størner
Henrik Stoerner wrote:
On Thu, Sep 14, 2006 at 08:32:19AM +0200, Dominique Frise wrote:
host=HOSTNAME filter does not get the expected results.
On following examples "host=kawa" or "host=kawa2" return same output line.
The filters are regular expressions, so "kawa" matches anything with that string in it. For an exact match, use "^kawa$"

Thanks!

Dominique
UNIL - University of Lausanne