[mrtg] Re: Problem with Options

Roth, Gabrielle gabrielle.roth at xo.com
Thu Jan 11 18:59:17 MET 2001


You don't want to use the gauge option with a counter-type variable
(ifInErrors and ifOutErrors are counters.)

What is probably happening is that you are not getting enough data for mrtg
to pick up.  Assuming you're running mrtg at the default 5-minute interval,
you need to have at least 300 errors.  (300 errors / 300 seconds)  Any less
than that will be seen as 0.

Look at the 'perminute' and 'perhour' options.
http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/reference.html#item_perminute
http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/reference.html#item_perhour

Don't forget to change your YLegend tag as well.

-gr 

> I have an mrtg.cfg that I use to graph the number of errors 
> recorded per
> interface on a router.  When I run mrtg with the options 
> absolute or gauge,
> I get information in the graph.  When I just use 
> growright,nopercent, the
> graph doesn't show any data, even though I know there are 
> errors on the
> interface.  Here is a piece of the .cfg file and the options 
> that I used to
> make it.  If anyone has any suggestions as to why I don't get any data
> unless I use the absolute or gauge option, I would appreciate 
> it.  Thanks in
> advance.
> 

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list