Xymon Mailing List Archive search

hobbit monitoring summary report

list Ye-fee Liang
Thu, 20 Aug 2009 14:01:40 -0700 (PDT)
Message-Id: <user-0e7b9af113cb@xymon.invalid>

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.