[mrtg] MRTG & NT & CISCO 3640?
acewilli at aeromotor.windmill.net
acewilli at aeromotor.windmill.net
Sat Dec 18 09:38:20 MET 1999
Hello,
I would like to see if you could answer a few of the questions I have about mrtg and a Cisco 3640. I am new at this so don't laugh. I am trying to monitor the ADSL traffic on my 3640 but the ports that it runs on get commented out when I build the mrtg.cfg. I am using mrtg-2.8.9, Perl5, and MRTG StatisticsUpdater. I have followed the instructions on the Windows NT MRTG Guide but I still can't see some of the ports, just so happens that these are the ones I need to see. I know that the cfgmaker code has this if statement that I inserted at the bottom in it:
As you can see I added three lines to see the return values. I have a couple of ports that return as type '18' which if you look at the code it is 'ds1' not 'e1' but it didn't matter when I switched them? I have even tried commenting this code out totally but then I can't generate the html files. I was wondering if you could email me back and let me know exactly what software you used and if you changed anything in the code, and I mean anything at all.
I just need to know if I need new MIBs or what? If I do need them I have no idea how to install them and use them.
I sure appreciate it!
Ace Williams
if (($sifadminstatus{$index} != 1)
# this check added by Josh - don't query E1-stack controllers
|| ($siftype{$index} == 18)
|| ($siftype{$index} == 24)
|| ($speed == 0 )
|| ($speed > 400 * 10**6) #speeds of 400 MByte/s are not realistic
|| ($sifoperstatus{$index} == 3)) {
print <<ECHO;
########
(operstatus = $sifoperstatus{$index}) I added these three lines to see what
value these were returning was returning.
(interface type = $siftype{$index})
(speed = $speed)
######## This Interface is one of the following
######## - administratively not UP
######## - it is in test mode
######## - it is a softwareLoopback interface
######## - has a unrealistic speed setting
######## It is commented out for this reason.
########
ECHO
$c="# ";
}else {
$c = '';
}
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/mrtg
More information about the mrtg
mailing list