aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2018-02-28 11:21:44 +0100
committerRaimo Niskanen <[email protected]>2018-02-28 11:21:44 +0100
commit31975bb0feab5c1c553078a4976c8d437b8241b4 (patch)
treec4ff7a1db9e46ad928af3914935ab5b9f78ad4c7 /lib
parentd77627f1c80ca6074a59a714b0bc37b99f6cb06b (diff)
parent92c4f5db635d286f0ca81ecf9e095f1dcfa40754 (diff)
downloadotp-31975bb0feab5c1c553078a4976c8d437b8241b4.tar.gz
otp-31975bb0feab5c1c553078a4976c8d437b8241b4.tar.bz2
otp-31975bb0feab5c1c553078a4976c8d437b8241b4.zip
Merge branch 'maint'
Diffstat (limited to 'lib')
-rw-r--r--lib/snmp/doc/src/snmp_impl_example_agent.xml10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/snmp/doc/src/snmp_impl_example_agent.xml b/lib/snmp/doc/src/snmp_impl_example_agent.xml
index a86006a0a7..e576fa51f3 100644
--- a/lib/snmp/doc/src/snmp_impl_example_agent.xml
+++ b/lib/snmp/doc/src/snmp_impl_example_agent.xml
@@ -47,6 +47,7 @@
EX1-MIB DEFINITIONS ::= BEGIN
IMPORTS
+ experimental FROM RFC1155-SMI
RowStatus FROM STANDARD-MIB
DisplayString FROM RFC1213-MIB
OBJECT-TYPE FROM RFC-1212
@@ -81,7 +82,7 @@ EX1-MIB DEFINITIONS ::= BEGIN
FriendsEntry ::=
SEQUENCE {
- fIndex
+ fIndex
INTEGER,
fName
DisplayString,
@@ -105,6 +106,7 @@ EX1-MIB DEFINITIONS ::= BEGIN
DESCRIPTION
"Name of friend"
::= { friendsEntry 2 }
+
fAddress OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
ACCESS read-write
@@ -112,6 +114,7 @@ EX1-MIB DEFINITIONS ::= BEGIN
DESCRIPTION
"Address of friend"
::= { friendsEntry 3 }
+
fStatus OBJECT-TYPE
SYNTAX RowStatus
ACCESS read-write
@@ -119,12 +122,13 @@ EX1-MIB DEFINITIONS ::= BEGIN
DESCRIPTION
"The status of this conceptual row."
::= { friendsEntry 4 }
+
fTrap TRAP-TYPE
ENTERPRISE example1
VARIABLES { myName, fIndex }
DESCRIPTION
- "This trap is sent when something happens to
- the friend specified by fIndex."
+ "This trap is sent when something happens to
+ the friend specified by fIndex."
::= 1
END
</code>