[mrtg] Re: locking the graph's scale

Eric Brander Eric_Mailing_List at rednarb.com
Fri Apr 16 20:23:55 MEST 2004


I think this section taken from the manual may be your answer:
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. There is also a special case to unset
the variable completely: n=none. This could be useful in the event
you need to override a global configuration. In the example scaling
for the yearly and the monthly graph are suppressed.

Example:

 Unscaled[ezwf]: ymHTH,Eric Brander
Eric_Mailing_List at rednarb dot com

----- Original Message ----- 
From: "Nejaa Halcyon" <nejaa at racc2000.com>
To: "MRTG List" <mrtg at list.ee.ethz.ch>
Sent: Friday, April 16, 2004 1:03 PM
Subject: [mrtg] locking the graph's scale


Greetings,

Here's a graph scale question:
I'm monitoring my server room's switch and would like to lock the
scale of
the MRTG graph to the bandwidth of my upstream (2 T1s). That way,
when the
bandwidth spikes up with a LAN transfer the bandwidth spikes off the
graph
with the graph maximum still at 3 megabit.

I've got MaxBytes set to 3 megabit so I get the cool red line and
the
percentages are based on 3 meg.
I've got AbsMax set to 100 megabit so that mrtg takes the spikes a
valid
data.
The only link I'm missing is locking the graph scale.

Is this possible? Any ideas on how?


I found this in the archives:

http://www.ee.ethz.ch/~slist/mrtg/msg20507.html

It talks about a perl script called '95th Percentile.' The idea
sounds
cool, but that's not what I'm looking for in this implementation.

Any help would be greatly appreciated.

Nejaa

-- 
"Hackers and academics have uncovered one Windows security hole
after
another, turning Microsoft into a frantic little Dutch boy at the
dike
without enough fingers."
-- David Pogue, The New York Times

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