summaryrefslogtreecommitdiff
path: root/torrus/sup/mibs/TORRUS-MIB.txt
blob: 8ada99b3e55b08c487b3c31c01bd5a092e089d89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
TORRUS-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY, OBJECT-IDENTITY, NOTIFICATION-TYPE,
    Integer32
        FROM SNMPv2-SMI
    DateAndTime
        FROM SNMPv2-TC
    rrdtool
        FROM RRDTOOL-SMI;

torrus MODULE-IDENTITY
    LAST-UPDATED "200506210000Z"
    ORGANIZATION "Round Robin Database Framework project"
    CONTACT-INFO
        "Round Robin Database Framework project
                
         Project description and documentation:
         http://torrus.org
         
         Administrative contact for MIB module:

         Stanislav Sinyagin
         Tel. +41 79 407 02 24
         E-mail: ssinyagin@yahoo.com"
    DESCRIPTION
        "The MIB module for SNMP variables specific to Torrus project"
        ::= { rrdtool 1 }

EventType ::= TEXTUAL-CONVENTION
    STATUS current
    DESCRIPTION
        "Defines the event type:
        set      -- The monitor condition is first time met
        repeat   -- The monitor condition is met again on the consequtive
                    monitorin cycle
        clear    -- The monitor condition is not met the first time after
                    event type set or repeat
        forget   -- The monitor condition was not met during the expiration
                    period since the last event type clear"
    SYNTAX INTEGER {
             set(1),
             repeat(2),
             clear(3),
             forget(4)
             }
                   
TreeName ::= TEXTUAL-CONVENTION
    STATUS current
    DESCRIPTION
        "Torrus system operates with several datasource trees
        identified by names"
    SYNTAX OCTET STRING (SIZE (1..512))
    
Token ::= TEXTUAL-CONVENTION
    STATUS current
    DESCRIPTION
        "Token is a short ID for the leaf or subtree of the Torrus
        datasources hierarchy"
    SYNTAX OCTET STRING (SIZE (5..10))

Path ::= TEXTUAL-CONVENTION
    STATUS current
    DESCRIPTION
        "Path is the full name of the Torrus datasource, containing its
        parent nodes separated by slashes"
    SYNTAX OCTET STRING (SIZE (1..512))

MonitorEventsEntry ::= SEQUENCE {
    torrusEventIndex     Integer32,
    torrusToken          Token,
    torrusMonitorName    OCTET STRING,
    torrusEventType      EventType,
    torrusPath           Path,
    torrusTimestamp      DateAndTime,
    torrusSeverity       Integer32,
    torrusMonitorDesc    OCTET STRING
}
    
torrusMonitorEventsTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF MonitorEventsEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Table of current monitor events"    
    ::= { torrus 1 }

torrusMonitorEventsEntry OBJECT-TYPE
    SYNTAX      MonitorEventsEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Each monitor event is characterized by the datasource token and
         monitor name"
    INDEX { torrusEventIndex }
    ::= { torrusMonitorEventsTable 1 }

torrusEventIndex OBJECT-TYPE
    SYNTAX      Integer32 (1..65535)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The value of this object uniquely identifies this
        event entry."
    ::= { torrusMonitorEventsEntry 1 }
                        
torrusToken OBJECT-TYPE
    SYNTAX      Token
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Token is a short ID for the leaf or subtree of the Torrus
         datasources hierarchy"
    ::= { torrusMonitorEventsEntry 2 }

torrusMonitorName OBJECT-TYPE
    SYNTAX      OCTET STRING
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Each monitor instance is identified by unique name"
    ::= { torrusMonitorEventsEntry 3 }

torrusEventType OBJECT-TYPE
    SYNTAX      EventType
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The type of the event: set(1), repeat(2), clear(3), forget(4)"
    ::= { torrusMonitorEventsEntry 4 }
    
torrusPath OBJECT-TYPE
    SYNTAX      Path
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The full name of the Torrus datasource, containing its
        parent nodes separated by slashes"
    ::= { torrusMonitorEventsEntry 5 }

torrusTimestamp OBJECT-TYPE
    SYNTAX      DateAndTime
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Timestamp of the event, in SNMPv2 format, e.g.
         1992-5-26,13:30:15.0,-4:0"
    ::= { torrusMonitorEventsEntry 6 }
        
torrusTreeName OBJECT-TYPE
    SYNTAX      TreeName
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Name of the datasource tree"
    ::= { torrusMonitorEventsEntry 7 }

torrusSeverity OBJECT-TYPE
    SYNTAX      Integer32 (1..65535)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Optional severity level"
    ::= { torrusMonitorEventsEntry 8 }

torrusMonitorDesc OBJECT-TYPE
    SYNTAX      OCTET STRING
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Human readable monitor comment"
    ::= { torrusMonitorEventsEntry 9 }
    
torrusAlarm NOTIFICATION-TYPE
    OBJECTS  { torrusToken, torrusMonitorName, torrusEventType,
               torrusPath, torrusTimestamp }
    STATUS   current
    DESCRIPTION
        "The SNMP trap that is generated when an Torrus monitor
        condition is changed for the leaf being monitored"
    ::= { torrus 2 }
        
END