23 Nov
2009
23 Nov
'09
10:04 a.m.
In <OF9111DD46.08BB549D-ONC1257673.0029AADD-C1257673.002A7E7F at dcx.dcx> thorsten.erdmann at daimler.com writes:
is there a way to read the tags, especially the nopropred tag for a given host and test from a client via the bb command? I am creating an interface from hobbit to our process monitoring system and want to ignore tests which have the nopropred set.
You can use the "hostinfo" command (it's in 4.3.0 beta, so it might require an update to your hobbit server + the bb client tool).
$ bb 127.0.0.1 "hostinfo host=voodoo.hswn.dk" voodoo.hswn.dk|172.16.10.2|ssh|ntp|dns|bbd|apache|rpc=showmount,nlockmgr,nfs|CLIENT:voodoo|TRENDS:*,vmstat:vmstat1\pvmstat5,la:la1|NK:rpc,ssh,cpu,msgs
Regards, Henrik