What software are you using -- IE, native MRTG, or MRTG/RRD/Routers2, or 
MRTG/RRD/14all, etc etc.  This will make a differrence.  Also, what version of 
MRTG, Routers2, 14all etc. as you may have an older (buggy) version.

To set the Y-Axis legend you just use YLegend[SNR]:

Steve

Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
[email protected]<mailto:[email protected]>
Ph: +64 9 373 7599 ext 86487

________________________________
From: [email protected] 
[[email protected]] on behalf of Nick 
Price [[email protected]]
Sent: Saturday, 28 August 2010 10:27 a.m.
To: [email protected]
Subject: [mrtg] FW: FW: Graph values

Thanks Steve

It worked for the values under the graph.

But it hasn’t changed the Y label

I have MAXBytes [SNR]: 160

So it shows the label a 0-160

I want the graphing to stay as it is but only the label to be 0 – 16    because 
its dB’s


Cheers

Nick




From: Steve Shipway [mailto:[email protected]]
Sent: Friday, August 27, 2010 22:25
To: Nick Price; [email protected]
Subject: RE: [mrtg] FW: Graph values

Factor[SNR]: 0.1

Note I think this may only work if you're using RRDTool as the backend as MRTG 
doesnt like decimals.

Factor[] differs from  '* 0.1' on the Target line because a '* 0.1' on the 
Target line divides by tem BEFORE storing the data in the RRD, a Factor[]:0.1 
will divide by ten at display time.  Thus, you do not need to modify your 
MaxBytes if you are using Factor[] but you do if you are using '* 0.1' on the 
Target line.

Steve

Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
[email protected]<mailto:[email protected]>
Ph: +64 9 373 7599 ext 86487

________________________________
From: [email protected] 
[[email protected]] on behalf of Nick 
Price [[email protected]]
Sent: Saturday, 28 August 2010 3:41 a.m.
To: [email protected]
Subject: [mrtg] FW: Graph values
I am graphing SNR values from a Cisco 877 the graphs look ok

But I would like to divide the Y legend values by 10  because I am dealing with 
dB’s


I have MAXBytes [SNR]: 160

But I want the legend to show this as 16.0 while keeping the max bytes 
untouched as this gives a nice graph

Also I would like the legend 1 and legend 2  below the graph to have its Max 
Average and current values divided by 10


Any ideas on how I can achieve this please

Many thanks

Nick
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to