[mrtg] Monitoring a target only during certain hours
Daniel McDonald
dan.mcdonald at austinenergy.com
Fri Jan 7 14:48:43 CET 2011
On 1/6/11 5:40 PM, "Geoff Powell" <geoff at g8kbz.demon.co.uk> wrote:
> I have an MRTG installation running here on my home network.
>
> MRTG version is 2.10.13, running in rateup mode from cron
> My ISP places a download limit of 200GB on a 30-day rolling average, and
> I've worked out a way to handle that, but they recently added a clause
> "we will not count data transferred between the hours of midnight and 8
> a.m.".
>
> Does anyone have an idea of how to implement this?
Exclude those hours from the crontab entry, and use unknownaszero so that
the non-polled intervals are not interpolated.
A second method would be to switch to rrdtool, use Routers2.cgi, and set the
worktime options appropriately.
--
Daniel J McDonald, CCIE # 2495, CISSP # 78281
More information about the mrtg
mailing list