[mrtg] Data collection interval

PAUL WILLIAMSON pwilliamson at mtb.com
Fri Nov 21 19:39:06 CET 2008

>From the MRTG docs here: http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html 

Note that unless you are using rrdtool you can not set Interval to less than 5 minutes. If you are using rrdtool you can set interval in the format
So, you need to move to an RRDTool backend if you want less than a 5 minute resolution.

>>> "Kevin Wong" <KWong at PaceWildenstein.com> 11/21/2008 1:00 PM >>>
Troy, thanks for the hint.  I am running it on Windows and I can't seem
to cross reference that.  Anyone else??

-----Original Message-----
From: Troy Wical [mailto:troy at wical.com] 
Sent: Friday, November 21, 2008 12:49 PM
To: Kevin Wong
Cc: mrtg at lists.oetiker.ch 
Subject: Re: [mrtg] Data collection interval

On Nov 21, 2008, at 10:31 AM, Kevin Wong wrote:

> 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.

If you are running in cron, you can adjust your interval.  In the  
example below, I am running a query every 2 minutes.

*/2 ** * *rootif [ -x /usr/bin/mrtg ] && [ -r /etc/mrtg/ 
mrtg_haze.cfg ]; then env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg_haze.cfg  
>> /var/log/mrtg/mrtg_haze.log 2>&1; fi

Peace, Troy

mrtg mailing list
mrtg at lists.oetiker.ch 

This email may contain privileged and/or confidential information that is intended solely for the use of the addressee.  If you are not the intended recipient or entity, you are strictly prohibited from disclosing, copying, distributing or using any of the information contained in the transmission.  If you received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy.  This communication may contain nonpublic personal information about consumers subject to the restrictions of the Gramm-Leach-Bliley Act and the Sarbanes-Oxley Act.  You may not directly or indirectly reuse or disclose such information for any purpose other than to provide the services for which you are receiving the information.
There are risks associated with the use of electronic transmission.  The sender of this information does not control the method of transmittal or service providers and assumes no duty or obligation for the security, receipt, or third party interception of this transmission.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20081121/1ef4edb4/attachment-0001.html 

More information about the mrtg mailing list