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