Hobbit Server Summary Report
31 Jan
2012
31 Jan
'12
11:06 p.m.
Hi,
How do you go about getting a summary report of clients that a Hobbit
server is monitoring and being reported.
For example,
- how many full clients are there (or how many is a hobbit server receiving data)?
- how many client-less clients are there (no clients, only pings)?
My ad-hoc/convoluted approach:
FULL clients are those sending data and updating netstat.rrd files:
cd $HOME/data/rrd ls -t */netstat.rrd > file newer_files file TODAY > full_client_list
client-less are those with up-to-date tcp.conn.rrd files
ls -t */tcp.conn.rrd > file newer_files file TODAY > all_active (full + client_less) client_less_list = all_active - full_client_list
Thank you, Ye-fee
1 Feb
1 Feb
7:34 a.m.
On 01-02-2012 00:06, Ye-Fee Liang wrote:
How do you go about getting a summary report of clients that aHobbit server is monitoring and being reported.
I usually use the data from the xymon "xymondboard" command.
For example,
- how many full clients are there (or how many is a hobbit server receiving data)?
xymon 127.0.0.1 "xymondboard test=cpu fields=hostname" | wc -l
- how many client-less clients are there (no clients, only pings)?
xymon 127.0.0.1 "xymondboard test=info fields=hostname" | wc -l
will get you all systems monitored by Xymon, then deduct the number of systems with a client installed.
Regards, Henrik
5257
Age (days ago)
5258
Last active (days ago)
1 comments
2 participants
participants (2)
-
henrik@hswn.dk
-
yefee.liang@gmail.com