[mrtg] pulling snr data error

Lee Todd ltodd2 at hallmark-uk.com
Thu Jan 19 09:47:31 CET 2012


Thanks for the info.  From reading Matts message about the OID showing some
very strange characters I tried the cisco site my self and found the same
issue.  As I was at home now I logged in using our remote access server
which I could get an ssh session to the mrtg server and I could see the
strange character this time.  The only difference is the remote access is
via a Solaris box and ssh'ing form it and using vim showed different than
from my laptop at work direct to the server.  Anyway removed all the
oddness and ran int agian and it worked.  I have now made the changes you
have suggested below aswell.  So thanks both of you.

Now I can add attenuation and speed etc.

Steve.   Is there a good guide for changing a system from using just mrtg
to rrd and routers2?  I have installed all the tools etc but have had no
luck getting the web interface to see anything

From:       Steve Shipway <s.shipway at auckland.ac.nz>
To:         Lee Todd <ltodd2 at hallmark-uk.com>,
Cc:         "mrtg at lists.oetiker.ch" <mrtg at lists.oetiker.ch>
Date:       18/01/2012 21:50
Subject:    RE: [mrtg] pulling snr data error

> 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

Registered Office: Bingley Road, Bradford, BD9 6SD
Registered in England no. 03414540

The information contained in this e-mail and any accompanying documents
may contain information that is confidential or otherwise protected from
disclosure. If you are not the intended recipient of this message, or if
this message has been addressed to you in error, please immediately
alert the sender by reply e-mail and then delete this message, including
any attachments. Any dissemination, distribution or other use of the
contents of this message by anyone other than the intended recipient is
strictly prohibited.

Unless specifically stated in this e mail, the agreement and content 
of this correspondence is subject to contract.  
No contract is implied by this correspondence, unless specifically 
stated as a contract (purchase order or sales order)

Think of the environment; please don't print this e-mail unless you
really need to

More information about the mrtg mailing list