[mrtg] Re: config file options

Matt Walkowiak mwalkowi at intxx.com
Thu Jun 7 15:01:24 MEST 2001


Why not just mulitiply your Target[asdf]: by a whole number in your .cfg
file, like 100.  Then you can still use the absolute option.  Or did I miss
the point...

Matt

-----Original Message-----
From: Derek Diget [mailto:diget+mrtg at unix.cc.wmich.edu]
Sent: Wednesday, June 06, 2001 6:23 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] config file options





After doing some code searching and rateup debugging I have come to
the conclusion that the following options are exclusive and can not be
combined:

absolute (a), gauge (g), perhour (h), perminute (m)

Am I correct?

(If so, can the config file docs be updated to reflect this?)


The reason that I am asking this is because I have an external program
returning an absolute value that when averaged out over the ~300
seconds between reads becomes a fractional number.  (Typcial returned
numbers are below 100.)  I wanted to use the "perminute" option along
with the "absolute" option, but I doesn't seem to fly.  Does anybody
have any  suggestions on how I can get some good numbers to rateup?

Example: I am getting 15 units over the 5 minute interval.  When using
"absolute" 15/300 = .05 units/second which gets logged as 0.  Not
going to work. :(  OK, I will _add_ the "perminute" to multiply the
result by 60.  15*60)/300 = 3 units/minute  OK, this will work.
Well, I doesn't seem to work.  Any suggestions?

Thanks.

-- 
***********************************************************************
Derek Diget
Western Michigan University - Kalamazoo  Michigan  USA - www.wmich.edu/
Office of Information Technology -  UNIX support  - www.wmich.edu/unix/
***********************************************************************


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

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