[mrtg] parsing mib files
Daniel J McDonald
dmcdonald at digicontech.com
Wed Mar 7 01:27:39 MET 2001
I'm having trouble loading a mib file in MRTG 2.9.10. I've run through the
debugs and can't figure out what the ultimate problem is, but it appears to
be ignoring the LoadMIBs directive.
[root at netmon mrtg]# /usr/local/mrtg-2/bin/mrtg voip.cfg
Unknown SNMP var dialCtlPeerStatsConnectTime.5.37
Unknown SNMP var dialCtlPeerStatsConnectTime.5.37
Unknown SNMP var dialCtlPeerStatsConnectTime.5.37
Unknown SNMP var dialCtlPeerStatsConnectTime.5.37
WARNING: could not match&get 172.16.0.1/dialCtlPeerStatsConnectTime.5 for
Name 'VoiceOverIpPeer5'
[root at netmon mrtg]# cat voip.cfg
######################################################################
# Voice Accounting
#.....................................................................
WorkDir: /home/httpd/mrtg
Options[_]: withzeroes
Legend1[_]: off-hook
Ylegend[_]: %
kMG[_]: 0
LoadMIBs: /usr/share/snmp/mibs/RFC1213-MIB.txt,
usr/share/snmp/mibs/DIAL-CONTROL-MIB.my
######################################################################
# Description: Cisco Internetwork Operating System Software IOS (tm) 3600
Software (C3640-IO3S56I-M), Version 12.0(5)T1, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1999 by cisco Systems, Inc. Compiled Tue 17-Aug-99 20:50
by cmong
# Contact:
# System Name: Austin 3640
# Location:
#.....................................................................
Target[austin_voip5]:
dialCtlPeerStatsConnectTime.5#VoiceOverIpPeer5&dialCtlPeerStatsConnectTime.5
#VoiceOverIpPeer5:public at 172.16.0.1
MaxBytes[austin_voip5]: 4
[uninteresting config elided]
[root at netmon mrtg]# ls -l /usr/share/snmp/mibs/DIAL-CONTROL-MIB.my
-rw-r--r-- 1 root root 48005 Mar 6 17:11
/usr/share/snmp/mibs/DIAL-CONTROL-MIB.my
[root at netmon mrtg]# grep -B 2 -A 10 dialCtlPeerStatsConnectTime
/usr/share/snmp/mibs/DIAL-CONTROL-MIB.my
DialCtlPeerStatsEntry ::=
SEQUENCE {
dialCtlPeerStatsConnectTime AbsoluteCounter32,
dialCtlPeerStatsChargedUnits AbsoluteCounter32,
dialCtlPeerStatsSuccessCalls AbsoluteCounter32,
dialCtlPeerStatsFailCalls AbsoluteCounter32,
dialCtlPeerStatsAcceptCalls AbsoluteCounter32,
dialCtlPeerStatsRefuseCalls AbsoluteCounter32,
dialCtlPeerStatsLastDisconnectCause OCTET STRING,
dialCtlPeerStatsLastDisconnectText DisplayString,
dialCtlPeerStatsLastSetupTime TimeStamp
}
dialCtlPeerStatsConnectTime OBJECT-TYPE
SYNTAX AbsoluteCounter32
UNITS "seconds"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Accumulated connect time to the peer since system startup.
This is the total connect time, i.e. the connect time
for outgoing calls plus the time for incoming calls."
::= { dialCtlPeerStatsEntry 1 }
--
dialCtlPeerCfgTrapEnable,
dialCtlPeerCfgStatus,
dialCtlPeerStatsConnectTime,
dialCtlPeerStatsChargedUnits,
dialCtlPeerStatsSuccessCalls,
dialCtlPeerStatsFailCalls,
dialCtlPeerStatsAcceptCalls,
Any ideas?
Daniel J McDonald - CCIE 2495, CNX
Principal Network Specialist
Digicon Technologies
http://www.digicontech.com
dmcdonald at digicontech.com
Digicon - A Cisco Systems Partner, Silver Certified.
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list