Hi, Is there better way of reporting this?
Purpose: to report how many active client and client-less monitoring are done by hobbit.
My method: 1. for client installed monitoring, count the number of /home/hobbit/data/rrd/*/vmstat.rrd that are recent (ie. newer than a date file created earlier, say 5am)
2. for client-less monitoring, count the number of latest /home/hobbit/data/histlogs/*/conn/ or /home/hobbit/data/histlogs/*/http/ (if both exist, then count only one) that are recent (see def. above). (some clients may not be pingable; multiple web pages on the same server should be counted only once).
Thanks,
__________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com.