-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lee,
I am not sure if you can specify OIDs for cfgmaker. I know you can specify interfaces by name and type and such, but again, dont think you can do straight SNMP OIDs. If I am wrong, can someone else correct me as well :) You might have to build those particular parts of the config file by hand. I know I had to, and it takes a looooooong time (lots of copy/paste) It should look something like this (this is very rough, your going to have to customize it to what you need) : ### Interface Errors Target[errors]:1.3.6.1.2.1.2.2.1.14.1&1.3.6.1.2.1.2.2.1.20.1:[EMAIL PROTECTED] Options[errors]: nopercent,growright,noinfo Title[errors]: Total Interface Errors PageTop[errors]: <H1> Interface Errors </H1> MaxBytes[errors]: 10000000 YLegend[errors]: # of errors ShortLegend[errors]: errors LegendI[errors]: LegendO[errors]: Legend1[errors]: Regards, John Lee Christie wrote: > I am specifically trying to add Interface errors both inbound and > outbound. When I try to run cfgmaker I receive the following error: > > d:\Program Files\MRTG\mrtg-2.12.1\bin>perl cfgmaker > 1.3.6.1.2.1.2.2.1.14.1&1.3.6 > .1.2.1.2.2.1.20.1:[EMAIL PROTECTED] --global "WorkDir: > d:\mrtg\omaha\routers\router-1" --output router-1.cfg > --base: Get Device Info on [EMAIL PROTECTED]: > Error: > can't resolve "1.3.6.1.2.1.2.2.1.14.1" to IP address > at D:/Program Files/MRTG/mrtg-2.12.1/bin\..\lib\mrtg2/SNMP_util.pm line 426 > SNMPWALK Problem for [EMAIL PROTECTED]::::::v4only > at cfgmaker line 857 > WARNING: Skipping [EMAIL PROTECTED]: as no info could be retrieved > > Do I need to add this directly into the cfg file? If so could someone > shoot me an example. > > Thanks, > > Lee > > -- > Unsubscribe mailto:[EMAIL PROTECTED] > Archive http://lists.ee.ethz.ch/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://lists.ee.ethz.ch/lsg2.cgi > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC36mQntjrPsCbhI4RAqW3AJ4kPUC9YePjYtYyNMFmKFpMDsOMFgCfa4ES oGajmcgHjG7zDzuQhfXDiys= =Bvew -----END PGP SIGNATURE----- -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
