[mrtg] FW: FW: Graph values

Nick Price np121 at hotmail.com
Sat Aug 28 00:27:00 CEST 2010


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:s.shipway at auckland.ac.nz] 
Sent: Friday, August 27, 2010 22:25
To: Nick Price; mrtg at lists.oetiker.ch
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

s.shipway at auckland.ac.nz

Ph: +64 9 373 7599 ext 86487

 

  _____  

From: mrtg-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch
[mrtg-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch] on behalf of Nick
Price [np121 at hotmail.com]
Sent: Saturday, 28 August 2010 3:41 a.m.
To: mrtg at lists.oetiker.ch
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20100828/dcfcab10/attachment.htm 


More information about the mrtg mailing list