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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |