Trap OID has a 0 before it?
"Edison C." <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I need a clarification on the snmptranslate command.
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)
|
+--nsmail(5)
|
+--nsmailEntityInfo(1)
| |
| +-- -R-- String nsmailEntityDescr(1)
| | Textual Convention: DisplayString
Could some tell me why does the netscape#(0) node gets added
automatically? And is there any way to disable it?
Thanks
Ed
The MIB is attached is here -
NSMAIL-MIB DEFINITIONS ::= BEGIN
netscape OBJECT IDENTIFIER ::= { enterprises 1450 }
nsmail MODULE-IDENTITY
::= { netscape 5 }
nsmailEntityInfo OBJECT IDENTIFIER ::= { nsmail 1 }
nsmailEntityDescr OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
ACCESS read-only
STATUS mandatory
DESCRIPTION "A general textual description
of the Netscape Mail Server."
::= { nsmailEntityInfo 1 }
nsMailServerStart TRAP-TYPE
ENTERPRISE netscape
VARIABLES { nsmailEntityInfo }
DESCRIPTION "This trap is generated whenever
the agent detects the Netscape
Mail Server to have (re)started."
::= 5002
END
-------------------------------------------------------------------------
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