Hi,

I want to plot CRCs on Cisco Router's interfaces, for that i make a cfg file
as below:

***************************************************************** cfg file
snap ************************************
WorkDir: C:\Inetpub\wwwroot\mrtg\
HtmlDir: C:\Inetpub\wwwroot\mrtg\
ImageDir: C:\Inetpub\wwwroot\mrtg\
LogDir: C:\Inetpub\wwwroot\mrtg\
Icondir: C:\Inetpub\wwwroot\mrtg\
Refresh: 300
RunAsDaemon: Yes
Interval: 5
Options[_]: gauge
Target[crc1]: 
1.3.6.1.2.1.16.1.1.1.5.14:[email protected].<1.3.6.1.2.1.16.1.1.1.5.14%[email protected].>
.1
MaxBytes[crc1]: 1000
Title[crc1]: CRC on first interface
PageTop[crc1]: <h1>CRCs on Router1's interfaces</h1>
*****************************************************************end
*************************************************

where 14 at the ned of OID is the ifindex of interface of 10.0.0.1. But the
following error is generating when i run the below command

C:\mrtg\bin>perl mrtg C:\Inetpub\wwwroot\mrtg\CRC.cfg
Daemonizing MRTG ...
Do Not close this window. Or MRTG will die
2009-03-16 16:39:20: ERROR: Target[crc1][_IN_] '1.3.6.1.2.1.16.1.1.1.5.
$target->[0]{$mode} ' evaluated to '☺♥♠☺☻☺►☺☺☺♣2458401775' instead of a
number
2009-03-16 16:39:20: ERROR: Target[crc1][_OUT_] '1.3.6.1.2.1.16.1.1.1.5.
$target->[0]{$mode} ' evaluated to '☺♥♠☺☻☺►☺☺☺♣4218328121' instead of a
numbe
r


This seems that it is plotting in/out stats of interface rather CRCs.

Any idea?

Thanks

-FJ
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to