Discussion:
snmp trap error : Unknown Object Identifier
(too old to reply)
Dave Shield
2010-05-20 10:57:13 UTC
Permalink
/usr/bin/snmptrap 10.201.1.135:162 ' '  NOTIFICATION-MIB:defStatus
NOTIFICATION-MIB:abcStatus i  2
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

------------------------------------------------------------------------------
Dave Shield
2010-05-20 11:27:40 UTC
Permalink
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)

Dave

------------------------------------------------------------------------------
tamanna madaan
2010-05-20 11:19:33 UTC
Permalink
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: ***@googlemail.com [mailto:***@googlemail.com] On Behalf Of Dave Shield
Sent: Thursday, May 20, 2010 4:27 PM
To: tamanna madaan
Cc: net-snmp-***@lists.sourceforge.net; Gaurav Katiyar
Subject: Re: snmp trap error : Unknown Object Identifier
/usr/bin/snmptrap 10.201.1.135:162 ' '  NOTIFICATION-MIB:defStatus
NOTIFICATION-MIB:abcStatus i  2
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
2010-05-20 14:38:40 UTC
Permalink
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"
<***@gl
oballogic.com> To
"Dave Shield"
05/20/2010 06:19 <***@liverpool.ac.uk>
AM cc
Gaurav Katiyar
<***@globallogic.com>,
net-snmp-***@lists.sourceforge.ne
t
Subject
RE: snmp trap error : Unknown
Object Identifier










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: ***@googlemail.com [mailto:***@googlemail.com] On
Behalf Of Dave Shield
Sent: Thursday, May 20, 2010 4:27 PM
To: tamanna madaan
Cc: net-snmp-***@lists.sourceforge.net; Gaurav Katiyar
Subject: Re: snmp trap error : Unknown Object Identifier
/usr/bin/snmptrap 10.201.1.135:162 ' '  NOTIFICATION-MIB:defStatus
NOTIFICATION-MIB:abcStatus i  2
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-snmp-***@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users



------------------------------------------------------------------------------
Loading...