aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/test/snmp_test_data/TestTrap.mib
diff options
context:
space:
mode:
Diffstat (limited to 'lib/snmp/test/snmp_test_data/TestTrap.mib')
-rw-r--r--lib/snmp/test/snmp_test_data/TestTrap.mib44
1 files changed, 44 insertions, 0 deletions
diff --git a/lib/snmp/test/snmp_test_data/TestTrap.mib b/lib/snmp/test/snmp_test_data/TestTrap.mib
new file mode 100644
index 0000000000..afa97f1188
--- /dev/null
+++ b/lib/snmp/test/snmp_test_data/TestTrap.mib
@@ -0,0 +1,44 @@
+TestTrap DEFINITIONS ::= BEGIN
+
+ IMPORTS
+ Counter, TimeTicks, IpAddress
+ FROM RFC1155-SMI
+ OBJECT-TYPE
+ FROM RFC-1212
+ mgmt, NetworkAddress, IpAddress, Counter, Gauge,
+ TimeTicks
+ FROM RFC1155-SMI
+ DisplayString, snmp, system,sysContact, ifIndex
+ FROM RFC1213-MIB
+ OBJECT-TYPE
+ FROM RFC-1212;
+
+
+
+ testTrap1 TRAP-TYPE
+ ENTERPRISE snmp
+ VARIABLES { sysContact }
+ DESCRIPTION
+ ""
+ ::= 1
+
+ testTrap2 TRAP-TYPE
+ ENTERPRISE system
+ VARIABLES { sysContact }
+ DESCRIPTION
+ ""
+ ::= 1
+
+
+ linkDown TRAP-TYPE
+ ENTERPRISE snmp
+ VARIABLES { ifIndex }
+ DESCRIPTION
+ "A linkDown trap signifies that the sending
+ protocol entity recognizes a failure in one of
+ the communication links represented in the
+ agent's configuration."
+ ::= 2
+
+
+END