Can I get a report of
- How many hosts I have with a particular test
- What number of them (or percentage) are green, yellow, red, etc.
-- Stewart
here is a quick bash shell script/command line. Set qtest to the test you want to know about.
qtest="http"; bbout=bin/bb 127.0.0.1 "hobbitdbord test=$qtest fields=color"; printf "Report Sumary: %s\n Green: %5s\nYellow: %5s\n
Red: %5s\n Clear: %5s\nPurple: %5s\n Blue: %5s\n--------------\n Total:
%5s\n", $qtest echo "$bbout" | grep green | wc -l echo "$bbout" | grep yellow | wc -l echo "$bbout" | grep red | wc -l echo "$bbout" | grep clear | wc -l echo "$bbout" | grep purple | wc -l echo "$bbout" | grep blue | wc -l echo "$bbout" | wc -l
-----Original Message----- From: Stewart_Larsen at doh.state.fl.us [mailto:Stewart_Larsen at doh.state.fl.us] Sent: Thursday, March 08, 2007 10:36 AM To: hobbit at hswn.dk Subject: [hobbit] Raw number reports
Can I get a report of
- How many hosts I have with a particular test
- What number of them (or percentage) are green, yellow, red, etc.
-- Stewart
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (2)
-
steve.aiello@ge.com
-
Stewart_Larsen@doh.state.fl.us