[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hobbit monitoring summary report
- To: hobbit (at) hswn.dk
- Subject: hobbit monitoring summary report
- From: ye-fee liang <yf.liang (at) yahoo.ca>
- Date: Thu, 20 Aug 2009 14:01:40 -0700 (PDT)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1250802100; bh=QNYya6Dervd1eD1xe30Ev2V0L6KWuAUqZnsN/cxrfic=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=cZXPJwrl3e67STozRx1gCSPRYzXM39AFQCb48JLESGbN/tU4Vf5Tkot+7bdRv6y5n3Cmeui3butLmn1gXTiIS+MYQ5PurDa8awBB28lGrauk0Yle5Vx3HMr/tW6ZP275Z/t7tyqYR29oKRtkPdF/3jKu/tha9UgOZGIV+oD4LRM=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=s3GAjqnqRSuZmq22cqWakQSoxiK4Uv3DJx6MvZs97jzEQF8P+jQi9pW/RMrtuxx6PSh0eaPn5gcvFEpKsrmh759OmCI5aatDtdxA6t3+hcaUZzhLef2DVm6H9ujOmThJb8I7qCLqb+byRoC2y/K2Bn9Q3ctwKl8K4bcr7zSV0kw=;
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.