[mrtg] Data collection interval
Kevin Wong
KWong at PaceWildenstein.com
Fri Nov 21 23:44:49 CET 2008
Steven, I appreciate the details. I am not aware that RRDTool is a must component before hand. Well, I am going to work on getting RRDTool setup next week.
Kevin
-----Original Message-----
From: Steve Shipway [mailto:s.shipway at auckland.ac.nz]
Sent: Friday, November 21, 2008 5:37 PM
To: Kevin Wong; mrtg at lists.oetiker.ch
Subject: RE: Data collection interval
You need to do 5 things.
1. Make sure you are using RRDtool as your backend and not native mode, else you can't use <5min. If you switch to RRDtool from native, be aware you will need a frontend to cretae the graphs on demand, such as Routers2 or 14all.
2. Put 'Interval:1' in your .cfg files.
3. Delete your old .rrd files - they were made with interval 5 and so you cant convert them easily. The new ones will be automatically created according to the Interval: definition.
4. Change your collection to 1-min intervals. This may mean altering your scheduler (if you use something like cron) or may happen automatically (if you run MRTG in daemon mode)
5. If you are using Routers2 as your frontend for MRTG/RRD, you will need to add '6hour=yes' to your routers2.conf to enable the '6hour' graph in the menu (IE, the graph at the 1min granularity rather than the daily graph which is 5min granularity)
Steve
_____
From: mrtg-bounces at lists.oetiker.ch [mrtg-bounces at lists.oetiker.ch] On Behalf Of Kevin Wong [KWong at PaceWildenstein.com]
Sent: Saturday, 22 November 2008 6:31 a.m.
To: mrtg at lists.oetiker.ch
Subject: [mrtg] Data collection interval
Hi, instead of collecting data on my Cisco switch every 5 minutes, is it possible to change it to say 1 minute interval? I am collecting data from 3 devices using rateup under just one MRTG instance running.
Thanks,
Kevin
Kevin Wong | Manager of IT | Pace Wildenstein LLC | Phone: 212.421.3292
P Please consider the environment - do you really need to print this email?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20081121/82d35de6/attachment.html
More information about the mrtg
mailing list