[mrtg] Re: how to adding mib file into mrtg in winNT4?
Daniel J McDonald
dan.mcdonald at austinenergy.com
Mon Feb 23 14:22:43 MET 2004
On Mon, 2004-02-23 at 02:45, lyang at tel-pacific.com wrote:
> Hi, all:
>
> Sorry to bother you with this question.
> I installed MRTG in win NT4, I can get those reply from cisco OIDs,
> but I didn't get reply from Lucent switch OID (3959). I don't know
> where the problem is. But acturally I didn't manully upload any mib
> into MRTG for cisco mibs.
If you know the numeric OID, you can specify that directly.
> Can you please tell me how I can add Lucent switch mib into
> winnt4 ?
If you want to use names, you need to add a LoadMibs: statement near the
top of your mrtg.cfg file. One one LoadMibs: is allowed, the mib files
have to be in v1 format (the parser won't handle v2) and any references
have to be loaded before the mib file. For example, my LoadMibs:
statement reads (all on one line):
LoadMibs: /usr/share/snmp/mibs/CISCO-SMI-V1SMI.my
/usr/share/snmp/mibs/CISCO-TC-V1SMI.my
/usr/share/snmp/mibs/CISCO-PROCESS-MIB-V1SMI.my
/usr/share/snmp/mibs/CISCO-QOS-PIB-MIB-V1SMI.my
/usr/share/snmp/mibs/CISCO-MEMORY-POOL-MIB-V1SMI.my
/usr/share/snmp/mibs/sa.mib /usr/share/snmp/mibs/sh2.mib
/usr/share/snmp/mibs/ups.mib /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt
/usr/share/snmp/mibs/CISCO-FIREWALL-MIB-V1SMI.my
/usr/share/snmp/mibs/ETHERLIKE-MIB-V1SMI.my
/usr/share/snmp/mibs/apent.mib /usr/share/snmp/mibs/chassismgrext.mib
/usr/share/snmp/mibs/cntsvcext.mib
the Cisco Process Mib has import statements refering to the CISCO-TC and
CISCO-SMI mibs, so those are listed first.
You do have to specify the full path to the mib file.
>
> Thanks in advance.
>
> Lucy
>
> --
> 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
--
Daniel J McDonald <dan.mcdonald at austinenergy.com>
Austin Energy
--
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