Re: mib file to map an trap oid

Pushpa Thimmaiah <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAASqVJXpnanm0YyVCnmsVtdWTVUK2TKSJce2zi+KQwuTe3VpFw@mail.gmail.com>
Hi Fulko Hew,

Thank you. trap  oid 1.3.6.1.4.1.8072.4.2  getting resolved after loading
NET-SNMP-AGENT-MIB as follows.
2015-10-29 16:01:34 172.16.1.xxx(via UDP:
[172.16.1.xxx]:40431->[172.16.1.yyy]) TRAP, SNMP v1, community public
NET-SNMP-MIB::netSnmpNotificationPrefix Enterprise Specific Trap
(NET-SNMP-AGENT-MIB::nsNotifyShutdown) Uptime: 0:00:23.44

 I have doubt here,
When I used snmptranslate on 1.3.6.1.4.1.8072.4.2 ,

$ snmptranslate -m all -M ./mibs -Tl .1.3.6.1.4.1.8072.4.2
NET-SNMP-MIB::netSnmpNotificationPrefix.2

$ snmptranslate -m all -M ./mibs -Tp .1.3.6.1.4.1.8072.4
+--netSnmpNotificationPrefix(4)
   |
   +--netSnmpNotifications(0)
   |  |
   |  +--nsNotifyStart(1)
   |  +--nsNotifyShutdown(2)
   |  +--nsNotifyRestart(3)
   |
   +--netSnmpNotificationObjects(1)

MIB tree netSnmpNotificationPrefix has only 2 child-nodes
netSnmpNotifications(0) and netSnmpNotificationObjects(1) but I dont know
how oid .1.3.6.1.4.1.8072.4.2 resolved in the traps

$ snmptranslate -m all -M ./mibs -Tl .1.3.6.1.4.1.8072.4
NET-SNMP-MIB::netSnmpNotificationPrefix

$ snmptranslate -m all -M ./mibs -Tl .1.3.6.1.4.1.8072.4.1
NET-SNMP-MIB::netSnmpNotificationObjects

$ snmptranslate -m all -M ./mibs -Tl .1.3.6.1.4.1.8072.4.2
NET-SNMP-MIB::netSnmpNotificationPrefix.2


Thank you,
Pushpa



On Thu, Oct 29, 2015 at 6:04 PM, Fulko Hew <[email protected]> wrote:

>
> On Thu, Oct 29, 2015 at 2:06 AM, Pushpa Thimmaiah <
> [email protected]> wrote:
>
>> Hi Folks,
>>
>> I have installed snmpagent (net-snmp-5.7.1) and it sends out trap
>> .1.3.6.1.4.1.8072.4.2 during its restart.  I am not able to map the trap
>> oid .1.3.6.1.4.1.8072.4.2
>> I have searched online but didnot get any information .  Kindly let me
>> know what is the mib for .1.3.6.1.4.1.8072.4.2
>>
>
> You will find it in  NET-SNMP-AGENT-MIB.
>
>

------------------------------------------------------------------------------

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.