Hi,
I followed the advice from Rick and pulled out trap info out of my
distributed 'ascend.mib' file and cat'ed it onto /usr/lib/mib.txt of
my cmu-snmp distribution for Linux.
It sort of seems to work because it 'picks up' the object-id name
even though i specify numbers in the command line of snmpget but
then it says 'no such variable name in this MIB?'..which is strange
because I can see it in the mib file.
Any ideas would be greatly appreciated. Here are the
results that I get from snmpget:
ns:/usr/src/snmp#
snmpget ascend-host public .1.3.6.1.4.1.529.9.1
Error in packet.
Reason: There is no such variable name in this MIB.
This name doesn't exist:
enterprises.ascend.systemStatusGroup.sysAbsoluteStartupTime
>Date: 1997/03/18
>Newsgroups: comp.os.linux.networking
>To add an enterprise MIB you just strip out any Trap definitions from the
>MIB file and cat it onto the end of the MIB.txt file that comes with cmu
>SNMP. The main file is under usr/lib but you can play with one in your
>current directory until you get it right. I have been able to add several
>MIB definitions to mine but cannot get the very large ones to work.
>Rick..
>>> I'm trying to use MIB file distributed by Ascend in order to query some
>> enterprise specific variables from Ascend system. This far I've had no
>>luck,
>> mostly because I don't have slightest idea how to get snmpget (from
>>cmu-snmp
>> package) to recognize enterprise distributed MIBs.