[mrtg] Differnet Poll Values for Similar Type of Interfaces

Steve Shipway s.shipway at auckland.ac.nz
Wed Apr 22 22:34:48 CEST 2009


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: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Sean Cheesman
Sent: Thursday, 23 April 2009 12:22 a.m.
To: Kashif Siddiq Patoli; mrtg at lists.oetiker.ch
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: mrtg-bounces at lists.oetiker.ch [mrtg-bounces at lists.oetiker.ch] On Behalf Of Kashif Siddiq Patoli [patoli at gmail.com]
Sent: Wednesday, April 22, 2009 4:58 AM
To: mrtg at lists.oetiker.ch
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:public at a.b.c.d

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20090423/445493b8/attachment-0001.html 


More information about the mrtg mailing list