Re: Trap OID has a 0 before it?

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 03/09/07, Edison C. <[email protected]> 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
[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.