Xymon Mailing List Archive search

Hobbit Server Summary Report

2 messages in this thread

list Ye-Fee Liang · Tue, 31 Jan 2012 15:06:32 -0800 ·
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 · Wed, 01 Feb 2012 08:34:40 +0100 ·
quoted from Ye-Fee Liang
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.
quoted from Ye-Fee Liang
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