[mrtg] Graphing small values (disappear in the month/year graph)

Fehmi Dumani albadino at hotmail.com
Wed Jun 2 13:54:32 CEST 2010


Since the maximum value can be 1 why not putting MaxBytes value of 1. It wont solve the problem if mostly you get 0-s and only few 1-s but will help it a bit.

From: albadino at hotmail.com
To: f.zwarts at kvi.nl; mrtg at lists.oetiker.ch
Subject: RE: [mrtg] Graphing small values (disappear in the month/year graph)
Date: Wed, 2 Jun 2010 11:41:09 +0000








There is allways a way of limiting the Y axe with MaxBytes try to decrease it...

> To: mrtg at lists.oetiker.ch
> From: F.Zwarts at KVI.nl
> Date: Wed, 2 Jun 2010 12:52:59 +0200
> Subject: Re: [mrtg] Graphing small values (disappear in the month/year graph)
> 
> "Markus" <universe at truemetal.org> wrote in message
> news:411bd32775c402813167ebc20080fef9.squirrel at squirrel.lightup.net 
> > Hi all,
> > 
> > I'm using MRTG to graph a state of "ON" of a certain event, and that
> > event usually lasts only something like 15 to 60 minutes. Also, it
> > happens not so frequently, so something like every 2-4 days.
> > 
> > The script that feeds the data into MRTG just sends a "1" when the
> > state is "ON", so MRTG displays a value of 1 for a period of 15 to 60
> > mins in the daily graph. When the event is "OFF", the script feeds a
> > "0" to MRTG. 
> > 
> > The problem that I am encountering is that the event "disappears"
> > after a while from the monthly / yearly graphs. I think this is
> > because MRTG is building an average of the collected values and this
> > average is becoming "smaller and smaller" for the monthly and yearly
> > graphs over time (I can confirm that by looking at the logfile) and
> > because of the small value and short time span results in the events
> > disappearing completely from the monthly and yearly graphs.
> > 
> > Does anyone have an idea how to solve that?
> > 
> > My config:
> > 
> > Target[something]: `script.sh`
> > Options[something]: integer, gauge, nobanner, growright, noinfo,
> > nopercent, nolegend, perhour
> > MaxBytes[something]: 4
> > kMG[something]: ,,
> > 
> > Thanks a lot!
> > Markus
> 
> What if you use a value of 100 for the On state?
> Than for the monthly and yearly graphs, you will
> see the percentage of On state in time.
> 
> 
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
 		 	   		  
Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. See how. 		 	   		  
_________________________________________________________________
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20100602/16dd077c/attachment-0001.htm 


More information about the mrtg mailing list