[mrtg] Plotting CRCs in windows MRTG

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


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]: at 10.0.0.< at 10.0.0.>
MaxBytes[crc1]: 1000
Title[crc1]: CRC on first interface
PageTop[crc1]: <h1>CRCs on Router1's interfaces</h1>

where 14 at the ned of OID is the ifindex of interface of 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_] '
$target->[0]{$mode} ' evaluated to '☺♥♠☺☻☺►☺☺☺♣2458401775' instead of a
2009-03-16 16:39:20: ERROR: Target[crc1][_OUT_] '
$target->[0]{$mode} ' evaluated to '☺♥♠☺☻☺►☺☺☺♣4218328121' instead of a

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

Any idea?


-------------- 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