[mrtg] Re: Newbie Questions not in the FAQ

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Wed Sep 29 01:05:23 MEST 1999


> 3) Is it a problem to call mrtg at less than at 5 minute intervals?  I'm
> monitoring a small number of interfaces and would like to update it every 90
> seconds.
> 
Depends on what you mean by this. If your setup can handle the load and
finishes the job in time, mrtg has no problem with 90 seconds.
It will poll more frequently but (without extra efford) it will not
provide more detail in your graphs.

However, if you want to change the actual interval size, see the config
parameter "step". This has not been fully tested and may cause errors.

Apart from this "step" you will also need to change Refresh and
Interval as described in mrtg-dir/doc/config.{html|txt|pod}. This
in itself is not sufficient as it will only show you the same page
more than once without the necessary change.
You may also have to change the mrtg script, somewhere in the subroutine
"quickcheck" (didn't try for recent version, was necessary for older)

Free advice: Don't do it and if you still want to poll more often set
it up using rrdtool. (http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool
and in the contrib dir under 14all)
You will be hacking anyway so you better start to do it right.

Regards,
Alex

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list