[mrtg] target evaluated to xxx instead of a number

PAUL WILLIAMSON pwilliamson at mtb.com
Thu May 31 20:09:19 CEST 2007

You are getting this because you need two targets on the Target line:

Target[snr]:. at

Don't ask why, just do it. ;-)  Then RTFM - it's in there.  You need
two targets.


>>> "Paul Kelly" <paul at 2mnetworks.com> 05/29/07 7:23 PM >>>
I'm trying to run a very small mrtg config to monitor the SNR on my
cisco 1721, but everytime i run mrtg i get the following error
ERROR: Target[snr][_in_] '.
$target->[0]{$mode}' evaluated to ' xxxxxxx' instead of a number
ERROR: Target[snr][_out_] '.
$target->[0]{$mode}' evaluated to ' xxxxxxx' instead of a number
Where 'xxxxxxx' are just symbols, smiley face etc.
This is the config i am using :
EnableIPv6: no
WorkDir: c:\mrtgweb
Target[snr]:. at 
Title[snr]: Cisco 1700 - SNR Analysis
Background[snr]: #ffffff
PageTop[snr]: <H1>Cisco 1700 - SNR Analysis</H1>
WithPeak[snr]: wmy
XSize[snr]: 500
YSize[snr]: 200
MaxBytes[snr]: 200000
Options[snr]: gauge, growright, nopercent
YLegend[snr]: SNR Value
ShortLegend[snr]: SNR
Legend1[snr]: Average
Legend3[snr]: Maximum
LegendI[snr]: &nbsp;Local SNR:
LegendO[snr]: &nbsp;Remote SNR:

As far as i can tell, i am using the correct oid according to

Can anybody shed any light on this?
Thanks in advance for any help.

This email may contain privileged and/or confidential information that is intended solely for the use of the addressee.  If you are not the intended recipient or entity, you are strictly prohibited from disclosing, copying, distributing or using any of the information contained in the transmission.  If you received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy.  This communication may contain nonpublic personal information about consumers subject to the restrictions of the Gramm-Leach-Bliley Act and the Sarbanes-Oxley Act.  You may not directly or indirectly reuse or disclose such information for any purpose other than to provide the services for which you are receiving the information.
There are risks associated with the use of electronic transmission.  The sender of this information does not control the method of transmittal or service providers and assumes no duty or obligation for the security, receipt, or third party interception of this transmission.

More information about the mrtg mailing list