[mrtg] Interval: 1 and heartbeat settings.

Gene Titus gene at ots.utsystem.edu
Fri Dec 4 20:51:22 CET 2009


Hi Paul,

Thanks for the quick response. Yes, I'm using  rrdtool-1.4.2  mrtg-2.16.2

Everything is being created from scratch (new). I set up an mrtg.cfg file
for a router, and ran mrtg against the cfg for the first time. MRTG created
the rrd databases for the interfaces. The rrd databases created have a
heartbeat of 600 and step of 60. My question is, should the heartbeat be
less?

Here is a dump of the first part of the database definition.

<rrd>
    <version>0003</version>
    <step>60</step> <!-- Seconds -->
    <lastupdate>1259955934</lastupdate> <!-- 2009-12-04 13:45:34 CST -->

    <ds>
        <name> ds0 </name>
        <type> COUNTER </type>
        <minimal_heartbeat>600</minimal_heartbeat>
        <min>0.0000000000e+00</min>
        <max>1.2500000000e+08</max>

Thanks,
Gene


On Fri, Dec 4, 2009 at 1:29 PM, PAUL WILLIAMSON <pwilliamson at mtb.com> wrote:

>  >>> Gene Titus <gene at ots.utsystem.edu> 12/4/2009 1:56 PM >>>
>
> >
> > Greetings,
> >
> > I'm testing MRTG with 1 min intervals and noticed
> > that the rrd databases that get created have a heartbeat
> > set to 600. That's the same as the heartbeat on 5 minute
> > (default) interval rrd databases. What is the effect of a 5
> > minute heartbeat on 1 minute intervals?
> >
> > Thanks,
> > Gene
> In this page:
>
> http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html
>
> It says:
>
> 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
>
> Are you using RRDTool?  If using log files, the interval can not be set to
> less than 5 minutes.  Also, when using RRDTool, you need to set the interval
> before the creation of the rrd, otherwise no matter how you change it, the
> heartbeat will stay the same.
>
> Paul
>
>
> ************************************
> 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.
> ************************************
>
>
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
>
>


-- 
Gene Titus
Sr Operating System Specialist
The Office of Telecommunication Services
The University of Texas at Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20091204/31080baa/attachment.htm 


More information about the mrtg mailing list