[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Big Brother to Hobbit vmstat, iostat, netstat purple
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Big Brother to Hobbit vmstat, iostat, netstat purple
- From: "Jeffrey Chandler" <jeffrey.chandler (at) gmail.com>
- Date: Tue, 7 Nov 2006 12:04:09 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=H5D/I4AkwSxGeejQQZB7RaoN2jJti3NRMtz5nhW1NwkrEqM5wlW6Tb30PGf79YUZB9StBahZlb/3vboiLU41KV5UC+s4Xceg0BnCnd8FAtV/03BweOyq3S3ggagusToizCfAR9d9YjKavyxZ3yfHHhW+J0FRsUA+Yd0q8x3G4oo=
- References: <00c901c7028c$8b45e880$6b2fb8a5@txaccess.net> <1A590FCC158A244B80DC7D09134B9AED016744EE@svr-gbn-exc-02.mgc.mentorg.com>
Taken from a previous post:
How can I remove all my conn tests? I tried this, but it didn't work:
bb 127.0.0.1 "drop * testname conn"
From a message sent by Hendrik to the list dated: Tue, 5 Sep 2006 09:26:23
The command
bb 127.0.0.1 "hobbitdboard"
is your friend, combined with a bit of scripting. E.g:
Is it possible to remove a single test from *all* hosts?
bb 127.0.0.1 "hobbitdboard test=MYTEST fields=hostname" |
while read H; do bb 127.0.0.1 "drop $H MYTEST"; done
Or all tests from all hosts?
bb 127.0.0.1 "hobbitdboard test=info fields=hostname" |
while read H; do bb 127.0.0.1 "drop $H"; done
Or all tests that are purple?
bb 127.0.0.1 "hobbitdboard color=purple fields=hostname,testname" |
while read L; do
HOST=`echo $L | cut -d'|' -f1`
TEST=`echo $L | cut -d'|' -f2`
bb 127.0.0.1 "drop $HOST $TEST"
done