Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: snmp trap error : Unknown Object Identifier

323 views
Skip to first unread message

Dave Shield

unread,
May 20, 2010, 6:57:13 AM5/20/10
to
On 20 May 2010 10:42, tamanna madaan <tamann...@globallogic.com> wrote:
> /usr/bin/snmptrap 10.201.1.135:162 ' '  NOTIFICATION-MIB:defStatus
> NOTIFICATION-MIB:abcStatus i  2

> I get the following error  :

> 2010-05-20 14:14:01 NEXTONE-NOTIFICATION-MIB:defStatus: Unknown Object
> Identifier

One things spring out immediately.
What is the name of the MIB module - NOTIFICATION-MIB or
NEXTONE-NOTIFICATION-MIB ?

What is reporting this error? snmptrap or snmptrapd?

Can you run
snmptranslate -On {NEXTONE-,}NOTIFICATION-MIB:defStatus
successfully?

Dave

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

_______________________________________________
Net-snmp-users mailing list
Net-snm...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Dave Shield

unread,
May 20, 2010, 7:27:40 AM5/20/10
to
On 20 May 2010 12:19, tamanna madaan <tamann...@globallogic.com> wrote:
> snmptranslate -On  NOTIFICATION-MIB:defStatus
>
>  returns
>
> 2010-05-20 16:47:30 No log handling enabled - turning on stderr logging
> 2010-05-20 16:47:30 NOTIFICATION-MIB:defStatus: Unknown Object Identifier


It looks as if the tools (both snmptrap & translate) either cannot
find the MIB file,
or don't recognise the object name.

Could you perhaps post the full text of your MIB file (as an attachement
rather than inline)

tamanna madaan

unread,
May 20, 2010, 7:19:33 AM5/20/10
to
Thanks Dave, for your quick response .

Well, the name of the MIB module is NOTIFICATION-MIB . And actually I am getting error :

2010-05-20 14:14:01 NOTIFICATION-MIB:defStatus: Unknown Object Identifier

While executing command

/usr/bin/snmptrap 10.201.1.135:162 ' ' NOTIFICATION-MIB:defStatus NOTIFICATION-MIB:abcStatus i 2


snmptrap is reporting this error .

snmptranslate -On NOTIFICATION-MIB:defStatus

returns

2010-05-20 16:47:30 No log handling enabled - turning on stderr logging
2010-05-20 16:47:30 NOTIFICATION-MIB:defStatus: Unknown Object Identifier


Regards
Tamanna


-----Original Message-----
From: dave....@googlemail.com [mailto:dave....@googlemail.com] On Behalf Of Dave Shield
Sent: Thursday, May 20, 2010 4:27 PM
To: tamanna madaan
Cc: net-snm...@lists.sourceforge.net; Gaurav Katiyar
Subject: Re: snmp trap error : Unknown Object Identifier

On 20 May 2010 10:42, tamanna madaan <tamann...@globallogic.com> wrote:
> /usr/bin/snmptrap 10.201.1.135:162 ' '  NOTIFICATION-MIB:defStatus
> NOTIFICATION-MIB:abcStatus i  2

> I get the following error  :

> 2010-05-20 14:14:01 NEXTONE-NOTIFICATION-MIB:defStatus: Unknown Object
> Identifier

One things spring out immediately.
What is the name of the MIB module - NOTIFICATION-MIB or
NEXTONE-NOTIFICATION-MIB ?

What is reporting this error? snmptrap or snmptrapd?

Can you run
snmptranslate -On {NEXTONE-,}NOTIFICATION-MIB:defStatus
successfully?

Dave

Kathy McLeod

unread,
May 20, 2010, 10:38:40 AM5/20/10
to
Does it work if you put :: between the name of the mib and the name of the
field?

NOTIFICATION-MIB::defStatus


Kathy McLeod



"tamanna madaan"
<tamanna.madan@gl
oballogic.com> To
"Dave Shield"
05/20/2010 06:19 <D.T.S...@liverpool.ac.uk>
AM cc
Gaurav Katiyar
<gaurav....@globallogic.com>,
net-snm...@lists.sourceforge.ne
t
Subject
RE: snmp trap error : Unknown

0 new messages