Hobbit Server Summary Report
list Ye-Fee Liang
Hi,
How do you go about getting a summary report of clients that a Hobbit
server is monitoring and being reported.
For example,
1. how many full clients are there (or how many is a hobbit server
receiving data)?
2. 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
list Henrik Størner
▸
On 01-02-2012 00:06, Ye-Fee Liang wrote:
How do you go about getting a summary report of clients that a Hobbit server is monitoring and being reported.
I usually use the data from the xymon "xymondboard" command.
▸
For example, 1. 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
2. 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