[mrtg] Re: maxbytes

Calvert, Neil ncalvert at GlobalNTS.com
Fri Dec 15 21:53:04 MET 2000


Well from my (limited) experience, it sounds to me like you should be
lowering your MaxBytes. When a value comes in greater than MaxBytes it would
be discarded. To not see any spike greater than 2000, set your MaxBytes to
2000.

Unscaled won't be what you're after - in an unscaled setting, the graph
plots with the y-axis going up to maxbytes, no matter what the current
values are. Unfortunately dynamic scaling just has these things to deal
with. Undynamic : sometimes flat line graphs. Dynamic : sometimes the graph
is forced out of alignment by a large data spike.

Perhaps other group members can suggest alternatives?

Neil
 

-----Original Message-----
From: Alan Rader [mailto:arader at finishlines.com]
Sent: Friday, December 15, 2000 3:35 PM
To: 'MRTG'
Cc: mrtglist (E-mail)
Subject: [mrtg] Re: maxbytes


Well, I have a spike that went up to 2100K and normal usage is down around
100k.  I would like the graph to stay down at that max even if there is
another spike over it.  I put in the maxbytes[xxx]: 100000 and added the
Unscaled[xxxx]: d since I only want the day graph like that.  I made a small
change in one of the title just to make sure the new cfg took when I
restarted it and it did, yet the graph did not change.
 
Do I have to delete the .png files next or should it adjust on its own?
 
Thanks
 
Alan Rader 
Finish Line, Inc. 
Network Administrator 
arader at finishline.com 
317-899-1022 x3529 

-----Original Message-----
From: Calvert, Neil [mailto:ncalvert at GlobalNTS.com]
Sent: Friday, December 15, 2000 12:23 PM
To: 'Alan Rader'
Cc: mrtglist (E-mail)
Subject: RE: [mrtg] maxbytes



Not sure what you're expecting to see? Do you want to see the graph only
scale up to 2000 or go all the way to 10,000 and show the spike 1/5 of the
way up?

Firstly, I would try removing the .png files and let the process rebuild new
ones after the next poll. (Back up the files in case this doesn't work, of
course.) If your config file is OK this might be the simplest way to do
things.

Next, look at the Unscaled option in cfg files.. (from manual) : 

Unscaled 

By default each graph is scaled vertically to make the actual data visible
even when it is much lower than MaxBytes. With the Unscaled variable you can
suppress this. It's argument is a string, containing one letter for each
graph you don't want to be scaled: d=day w=week m=month y=year. In the
example scaling for the yearly and the monthly graph are suppressed.

Example: 

 Unscaled[ezwf]: ym 

hope this helps. 

Neil 


-----Original Message----- 
From: Alan Rader [ mailto:arader at finishlines.com
<mailto:arader at finishlines.com> ] 
Sent: Friday, December 15, 2000 12:09 PM 
To: 'MRTG' 
Subject: [mrtg] maxbytes 



I set my maxbytes to 10000 and I have a spike that only goes to 2000, so why

will the graph not resize?  I stopped and restarted the service running that

config. 




Alan Rader 
Finish Line, Inc. 
Network Administrator 
arader at finishline.com 
317-899-1022 x3529 


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


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