Getting a list of all tests

Trent Melcher trent.melcher at sitel.com
Thu Oct 25 17:39:32 CEST 2007


Ok, Im re-writing a Bigbrother script for Hobbit.  I need a little help.
The current script gets a list of all currents tests performed by doing
an ls on the %BBVAR/log directory and using sed to pull the test from
each file.

Example:

ls -1 $BB_LOGS_DIR | awk -F. '{print $2}' | sort -u

results in 

conn
cpu
disk
dns
errpt
ftp
http
memory
msgs
procs
ssh
svcs
telnet


Is there a way to do this in hobbit using hobbitd_channel or some other
prog?

Thanks
Trent



More information about the Xymon mailing list