[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hobbit monitoring summary report
- To: hobbit (at) hswn.dk
- Subject: Re: hobbit monitoring summary report
- From: ye-fee liang <yf.liang (at) yahoo.ca>
- Date: Fri, 21 Aug 2009 10:30:34 -0700 (PDT)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1250875835; bh=KD1WmTSiiW+GxutWNUn63hQrQIgAb8MYj0GHblLw8/U=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=pNvpknFO+TM0llQqqDEGMVOJkJRVjlBYbKVBsToMGVCGl02paqjC5VMsDl12miVUcaXg7FcQNPV9EqyurHA7xymoiFUuSEDS3ooF59Vv9M7Dd3StyuMQvSkzZVx+YT9u66Qn9Jtuo2uPzcmJqC66zeQ3hHjQfcq4J2UekNVtdCg=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=I44BRDkVBygQi34HSHxd0famGmllDY7wTlvl7XX3DZBDJ1VupBvlScb9NllL3dCqCtqCPIdSd3ME54TF0a2FSQ35lWBlihBZdWnJQhBft9itJKwC7dcj5Tw9yRKxyW8Z/RPEZOumATH8CmJcse85dDL2X8x+k/vfcppZVfP1S7s=;
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/