[mrtg] Plotting CRCs in windows MRTG

Farhan Jaffer bandhani at gmail.com
Mon Mar 16 13:58:44 CET 2009


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:community at 10.0.0.<1.3.6.1.2.1.16.1.1.1.5.14%3Acommunity at 10.0.0.>
.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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20090316/26ff9352/attachment-0001.html 


More information about the mrtg mailing list