Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
  • Loading branch information
RaimoNiskanen committed Feb 28, 2018
2 parents d77627f + 92c4f5d commit 31975bb
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions lib/snmp/doc/src/snmp_impl_example_agent.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -81,7 +82,7 @@ EX1-MIB DEFINITIONS ::= BEGIN

FriendsEntry ::=
SEQUENCE {
fIndex
fIndex
INTEGER,
fName
DisplayString,
Expand All @@ -105,26 +106,29 @@ EX1-MIB DEFINITIONS ::= BEGIN
DESCRIPTION
"Name of friend"
::= { friendsEntry 2 }

fAddress OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Address of friend"
::= { friendsEntry 3 }

fStatus OBJECT-TYPE
SYNTAX RowStatus
ACCESS read-write
STATUS mandatory
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>
Expand Down

0 comments on commit 31975bb

Please sign in to comment.