Re: Trap OID has a 0 before it?

This is a discussion on Re: Trap OID has a 0 before it? within the SNMP Users forums, part of the Networking and Network Related category; On 03/09/07, Edison C. <cedi@sonata-software.com> wrote: > When I try the following the ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-03-2007
Dave Shield
 
Posts: n/a
Default Re: Trap OID has a 0 before it?

On 03/09/07, Edison C. <cedi@sonata-software.com> wrote:
> When I try the following the command on a sample MIB file(attached
> below)
> snmptranslate -M+. -mNSMAIL-MIB -Tp -IR netscape
> I got the following output -
> +--netscape(1450)
> |
> +--netscape#(0)
> | |
> | +--nsMailServerStart(5002)



> Could some tell me why does the netscape#(0) node gets added
> automatically?


See RFC 2576, section 3.1, item (2).

> And is there any way to disable it?


No.

snmptranslate is taking an SMIv1 TRAP-TYPE definition
(which does not evaluate to an OID), and mapping it into
the equivalent SMIv2 NOTIFICATION-TYPE OID, according
to the rules in RFC 2576.
This includes an intermediate '0' subidentifier.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:53 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0