Find hosts running bb client

Asif Iqbal vadud3 at gmail.com
Tue Dec 23 20:00:49 CET 2008


I still have few servers that are running bb client and not hobbit
client. Is there a hobbit way to find out which servers still running
bb-client?

I could do some ugly tricks like this
  awk '/^[1-9]/ {print $2}' server/etc/bb-hosts to get the list of hosts
  do echo bb 127.0.0.1 \"clientlog $h section=uname\"; done > script.sh
  run the script.sh
  find the hosts with no output

Thanks

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu



More information about the Xymon mailing list