Xymon Mailing List Archive search

hobbitdboard arguments

list Dominique Frise
Mon, 23 Apr 2007 13:47:00 +0200
Message-Id: <user-b1d036303696@xymon.invalid>

Torsten Richter wrote:
Hi fellows,

I've a question about the bb option hobbitdboard.
I am just converting a few scripts I've written for BB and I want of course incorporate the functionality that Hobbit has instead of digging through the log files.
What I'm trying to do is to get a list on which servers a certain test is running.
I do this by firing : ./bb 127.0.0.1 "hobbitdboard test=TEST"|awk -F\| '{print $1}' and get a list of all machines running TEST.
But not only thes machines but also the ones that are running test or myTEST or TestNEW which I don't want to be displayed.
So it seems that Hobbit is doing its search case insensitive.
Is there a switch for this and for search only tests that match the whole word instead of a substring?
./bb 127.0.0.1 "hobbitdboard test=^myTEST$ |awk -F\| '{print $1}'


Dominique
UNIL - University of Lausanne