1 TORRUS-MIB DEFINITIONS ::= BEGIN
4 MODULE-IDENTITY, OBJECT-IDENTITY, NOTIFICATION-TYPE,
12 torrus MODULE-IDENTITY
13 LAST-UPDATED "200506210000Z"
14 ORGANIZATION "Round Robin Database Framework project"
16 "Round Robin Database Framework project
18 Project description and documentation:
21 Administrative contact for MIB module:
25 E-mail: ssinyagin@yahoo.com"
27 "The MIB module for SNMP variables specific to Torrus project"
30 EventType ::= TEXTUAL-CONVENTION
33 "Defines the event type:
34 set -- The monitor condition is first time met
35 repeat -- The monitor condition is met again on the consequtive
37 clear -- The monitor condition is not met the first time after
38 event type set or repeat
39 forget -- The monitor condition was not met during the expiration
40 period since the last event type clear"
48 TreeName ::= TEXTUAL-CONVENTION
51 "Torrus system operates with several datasource trees
53 SYNTAX OCTET STRING (SIZE (1..512))
55 Token ::= TEXTUAL-CONVENTION
58 "Token is a short ID for the leaf or subtree of the Torrus
59 datasources hierarchy"
60 SYNTAX OCTET STRING (SIZE (5..10))
62 Path ::= TEXTUAL-CONVENTION
65 "Path is the full name of the Torrus datasource, containing its
66 parent nodes separated by slashes"
67 SYNTAX OCTET STRING (SIZE (1..512))
69 MonitorEventsEntry ::= SEQUENCE {
70 torrusEventIndex Integer32,
72 torrusMonitorName OCTET STRING,
73 torrusEventType EventType,
75 torrusTimestamp DateAndTime,
76 torrusSeverity Integer32,
77 torrusMonitorDesc OCTET STRING
80 torrusMonitorEventsTable OBJECT-TYPE
81 SYNTAX SEQUENCE OF MonitorEventsEntry
82 MAX-ACCESS not-accessible
85 "Table of current monitor events"
88 torrusMonitorEventsEntry OBJECT-TYPE
89 SYNTAX MonitorEventsEntry
90 MAX-ACCESS not-accessible
93 "Each monitor event is characterized by the datasource token and
95 INDEX { torrusEventIndex }
96 ::= { torrusMonitorEventsTable 1 }
98 torrusEventIndex OBJECT-TYPE
99 SYNTAX Integer32 (1..65535)
100 MAX-ACCESS not-accessible
103 "The value of this object uniquely identifies this
105 ::= { torrusMonitorEventsEntry 1 }
107 torrusToken OBJECT-TYPE
109 MAX-ACCESS not-accessible
112 "Token is a short ID for the leaf or subtree of the Torrus
113 datasources hierarchy"
114 ::= { torrusMonitorEventsEntry 2 }
116 torrusMonitorName OBJECT-TYPE
118 MAX-ACCESS not-accessible
121 "Each monitor instance is identified by unique name"
122 ::= { torrusMonitorEventsEntry 3 }
124 torrusEventType OBJECT-TYPE
126 MAX-ACCESS not-accessible
129 "The type of the event: set(1), repeat(2), clear(3), forget(4)"
130 ::= { torrusMonitorEventsEntry 4 }
132 torrusPath OBJECT-TYPE
134 MAX-ACCESS not-accessible
137 "The full name of the Torrus datasource, containing its
138 parent nodes separated by slashes"
139 ::= { torrusMonitorEventsEntry 5 }
141 torrusTimestamp OBJECT-TYPE
143 MAX-ACCESS not-accessible
146 "Timestamp of the event, in SNMPv2 format, e.g.
147 1992-5-26,13:30:15.0,-4:0"
148 ::= { torrusMonitorEventsEntry 6 }
150 torrusTreeName OBJECT-TYPE
152 MAX-ACCESS not-accessible
155 "Name of the datasource tree"
156 ::= { torrusMonitorEventsEntry 7 }
158 torrusSeverity OBJECT-TYPE
159 SYNTAX Integer32 (1..65535)
160 MAX-ACCESS not-accessible
163 "Optional severity level"
164 ::= { torrusMonitorEventsEntry 8 }
166 torrusMonitorDesc OBJECT-TYPE
168 MAX-ACCESS not-accessible
171 "Human readable monitor comment"
172 ::= { torrusMonitorEventsEntry 9 }
174 torrusAlarm NOTIFICATION-TYPE
175 OBJECTS { torrusToken, torrusMonitorName, torrusEventType,
176 torrusPath, torrusTimestamp }
179 "The SNMP trap that is generated when an Torrus monitor
180 condition is changed for the leaf being monitored"