Skip to content

Instantly share code, notes, and snippets.

@phemmer
Last active August 6, 2016 18:43
Show Gist options
  • Save phemmer/142839f6ebcc937d3fcfcf3754798b85 to your computer and use it in GitHub Desktop.
Save phemmer/142839f6ebcc937d3fcfcf3754798b85 to your computer and use it in GitHub Desktop.
TEST DEFINITIONS ::= BEGIN
testOID ::= { 1 2 3 }
testTable OBJECT-TYPE
SYNTAX SEQUENCE OF testTableEntry
MAX-ACCESS not-accessible
STATUS current
::= { testOID 0 }
testTableEntry OBJECT-TYPE
SYNTAX TestTableEntry
MAX-ACCESS not-accessible
STATUS current
INDEX {
hostname
}
::= { testTable 0 }
TestTableEntry ::=
SEQUENCE {
server OCTET STRING,
connections INTEGER,
latency OCTET STRING,
}
server OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
::= { testTableEntry 1 }
connections OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
::= { testTableEntry 2 }
latency OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
::= { testTableEntry 3 }
END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment