Hi Henrik,
On Wed, Dec 03, 2008 at 09:19:03AM +0000, Henrik Størner wrote:
In <user-65e4810968df@xymon.invalid> Thomas =?iso-8859-1?Q?K=E4hn?= <user-02a72cb3f725@xymon.invalid> writes:
This problem seems to be simple problem when matching the hostname:
# bb 127.0.0.1 "hobbitdboard host=manager test=conn fields=hostname,testname,color"
manager|conn|green
managereval|conn|green
managertest|conn|green
This should be fixed already in the 4.2.2 RC1 - it wraps the hostname
in "^...$" regex anchors so it should get data only from the exact
hostname. In other words, it now queries using
bb 127.0.0.1 'hobbitdboard host=^manager$ test=conn fields=hostname,testname,color'
which should return only a single host.
yes, this returns only one line.
I've compiled the new version and the problem is gone.
Thanks for your quick help.
Best regards
Thomas
--
Thomas Kähn NetCologne
Network Engineering & Design Gesellschaft für Telekommunikation mbH
Im Süsterfeld 6
Telefon: 0241/701333-18 52072 Aachen
Fax: XXXX/XXXXXX
Handelsregister: HRB 25580, Amtsgericht Köln
Geschäftsführer: Werner Hanf, Dipl.-Ing. Karl-Heinz Zankel