[mrtg] pulling snr data error

Steve Shipway s.shipway at auckland.ac.nz
Wed Jan 18 22:46:21 CET 2012

> Target[Gauge32]:.­
>­. at

You DEFINTELY need to remove the leading '.' on the OID.  I'm guessing the '-' was added by your mail client because it shouldn’t be there either.  Note that the identifier between the [] is not an indication of what the data is; it is only a unique identifier to MRTG (routers2 calls this the 'targetname'), and it is used to create the RRD filename.  You might also want to amend your legends as below.

Target[Cisco-snr]: at
Title[Cisco-snr]: Cisco 887 SNR Analysis
PNGTitle[Cisco-snr]: Cisco 887 SNR Analysis
Background[Cisco-snr]: #ffffff
PageTop[Cisco-snr]: <H1>Cisco 887 SNR Analysis</H1>
WithPeak[Cisco-snr]: wmy
MaxBytes[Cisco-snr]: 200000
Options[Cisco-snr]: gauge, nopercent
YLegend[Cisco-snr]: decibels
ShortLegend[Cisco-snr]: dB
Legend1[Cisco-snr]: Local SNR
Legend2[Cisco-snr]: Remote SNR
Legend3[Cisco-snr]: Peak local SNR
Legend4[Cisco-snr]: Peak remote SNR
LegendI[Cisco-snr]: Local :
LegendO[Cisco-snr]: Remote:
routers.cgi*Options[Cisco-snr]: scaled fixunit nomax

The extended options directive will help Routers2 display the data better (preventing 1000dB appearing as 1kdB for example)


Steve Shipway
ITS Unix Services Design Lead
University of Auckland, New Zealand
Floor 1, 58 Symonds Street, Auckland
Phone: +64 (0)9 3737599 ext 86487
DDI: +64 (0)9 924 6487
Mobile: +64 (0)21 753 189
Email: s.shipway at auckland.ac.nz
 Please consider the environment before printing this e-mail 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6080 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20120118/8cbc2c46/attachment.bin 

More information about the mrtg mailing list