If you want to graph negative values, you will need to :

1)       Use MRTG with the RRDtool backend and appropriate frontend (eg 
routers2, 14all, mrtg-rrd)
2)       Manually use rrdtune to set the minimum value for the rrd file (it 
defaults to 0 and cannot be changed via the MRTG .cfg file)

In addition, you will need to use RRDtool if you want to poll decimal values - 
native MRTG works with integer values only, although it will of course use 
decimals to calculate rates.

Steve

________________________________
From: [email protected] [mailto:[email protected]] On 
Behalf Of Sean Cheesman
Sent: Thursday, 23 April 2009 12:22 a.m.
To: Kashif Siddiq Patoli; [email protected]
Subject: Re: [mrtg] Differnet Poll Values for Similar Type of Interfaces

You can't poll negative values.  Maybe someone can offer an alternative, but 
MRTG itself cannot handle a negative polling value.

________________________________
From: [email protected] [[email protected]] On Behalf 
Of Kashif Siddiq Patoli [[email protected]]
Sent: Wednesday, April 22, 2009 4:58 AM
To: [email protected]
Subject: [mrtg] Differnet Poll Values for Similar Type of Interfaces
Hi,

I am observing differnet poll values for POS 0/0/0/0 and POS 0/1/0/0 while 
monitoring optical power (DOM). The output shows following tx/rx power
1). Tx power = 0.4930 mW, -3.1 dBm

2). Tx power = 0.5400 mW, -2.7 dBm

The polled values are:

For 1),
1240390321 2538 2538
1240390321 2538 2538 2538 2538
1240390019 2538 2538 2538 2538
1240389900 2538 2538 2538 2538
1240389600 2538 2538 2538 2538

For 2),

1240390321 45 45
1240390321 45 45 45 45
1240390019 45 45 45 45
1240389900 45 45 45 45
1240389600 45 45 45 45

Plz suggest if there is something wrong in the cfg as both the interfaces are 
using same OID on the same router.


Target[optical_power]: 
1.3.6.1.4.1.9.9.91.1.1.1.1.4.34&1.3.6.1.4.1.9.9.91.1.1.1.1.4.34:[email protected]

YLegend[optical_power]: dB

Options[optical_power]: gauge, noi, nopercent, growright

MaxBytes[optical_power]: 7000

factor[optical_power]: -0.001

YTics[optical_power]: 7

YTicsFactor[optical_power]: 0.001

ShortLegend[optical_power]: dB

Legend1[optical_power]: dB

Title[optical_power]: Optical Power Measurement for STM-64

PageTop[optical_power]: <H1>Optical Power Measurement for STM-64 </H1>
--
Kashif
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to