diff options
author | Raimo Niskanen <[email protected]> | 2018-02-28 11:20:56 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2018-02-28 11:20:56 +0100 |
commit | 92c4f5db635d286f0ca81ecf9e095f1dcfa40754 (patch) | |
tree | 760291c442c2e87ab90c7a2a9fe7e139cc38b0bf /lib | |
parent | b600910bf17c92721fb8da04e8c508d6395dabc4 (diff) | |
parent | 763b431883f3a1895f302aaeb18c82df344fbe09 (diff) | |
download | otp-92c4f5db635d286f0ca81ecf9e095f1dcfa40754.tar.gz otp-92c4f5db635d286f0ca81ecf9e095f1dcfa40754.tar.bz2 otp-92c4f5db635d286f0ca81ecf9e095f1dcfa40754.zip |
Merge pull request #1726 from gotthardp/maint
Fix example MIB in the documentation
Diffstat (limited to 'lib')
-rw-r--r-- | lib/snmp/doc/src/snmp_impl_example_agent.xml | 10 |
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> |