hobbit monitoring summary report
ye-fee liang
yf.liang at yahoo.ca
Fri Aug 21 19:30:34 CEST 2009
Thank you for the prompt reply. Is it possible to distinguish between "Active" clients
those that are promptly responding to tests (say, pings), those that are currently
sending data (say, CPU), and those have not been responding and sending
(maybe the users dispose/shut down the servers without informing to update Hobbit).
My definition of "Active" is if it responds or sends data in the last hour.
RE: [hobbit] hobbit monitoring summary report
--------------------------------------------------------------------------------
To: <hobbit (at) hswn.dk>
Subject: RE: [hobbit] hobbit monitoring summary report
From: Torsten Richter <bb4 (at) richter-it.net>
Date: Fri, 21 Aug 2009 09:34:37 +0200
--------------------------------------------------------------------------------
Hello,
well you could do a
ALLCLIENTS=`$HOBBITSERVERHOME/bin/bb 127.0.0.1 "hobbitdboard"|awk -F\| '{print $1}'|sort -u|wc -l`
to get all clients that actually report to your server.
As second step do a INSTCLIENTS=`$HOBBITSERVERHOME/bin/bb 127.0.0.1 "hobbitdboard test=cpu"|awk -F\| '{print $1}'|sort -u|wc -l`
to get all clients that have client installed monitoring. I assume if a client is installed then it also reports a cpu status.
Finally do CLIENTLESS=$((ALLCLIENTS-INSTCLIENTS)).
However, clients polled via SNMP are also show the cpu status but have no client installed.
But I hope to have helped you a bit.
Cheers
Torsten
__________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr!
http://www.flickr.com/gift/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20090821/99640e79/attachment.html>
More information about the Xymon
mailing list