~ubuntu-branches/ubuntu/lucid/torrus/lucid

« back to all changes in this revision

Viewing changes to sup/mibs/TORRUS-MIB.txt

  • Committer: Bazaar Package Importer
  • Author(s): Jurij Smakov
  • Date: 2005-08-03 20:02:19 UTC
  • Revision ID: james.westby@ubuntu.com-20050803200219-sasyqlzj967sx1w7
Tags: upstream-1.0.3
ImportĀ upstreamĀ versionĀ 1.0.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
TORRUS-MIB DEFINITIONS ::= BEGIN
 
2
 
 
3
IMPORTS
 
4
    MODULE-IDENTITY, OBJECT-IDENTITY, NOTIFICATION-TYPE,
 
5
    Integer32
 
6
        FROM SNMPv2-SMI
 
7
    DateAndTime
 
8
        FROM SNMPv2-TC
 
9
    rrdtool
 
10
        FROM RRDTOOL-SMI;
 
11
 
 
12
torrus MODULE-IDENTITY
 
13
    LAST-UPDATED "200506210000Z"
 
14
    ORGANIZATION "Round Robin Database Framework project"
 
15
    CONTACT-INFO
 
16
        "Round Robin Database Framework project
 
17
                
 
18
         Project description and documentation:
 
19
         http://torrus.org
 
20
         
 
21
         Administrative contact for MIB module:
 
22
 
 
23
         Stanislav Sinyagin
 
24
         Tel. +41 79 407 02 24
 
25
         E-mail: ssinyagin@yahoo.com"
 
26
    DESCRIPTION
 
27
        "The MIB module for SNMP variables specific to Torrus project"
 
28
        ::= { rrdtool 1 }
 
29
 
 
30
EventType ::= TEXTUAL-CONVENTION
 
31
    STATUS current
 
32
    DESCRIPTION
 
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
 
36
                    monitorin cycle
 
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"
 
41
    SYNTAX INTEGER {
 
42
             set(1),
 
43
             repeat(2),
 
44
             clear(3),
 
45
             forget(4)
 
46
             }
 
47
                   
 
48
TreeName ::= TEXTUAL-CONVENTION
 
49
    STATUS current
 
50
    DESCRIPTION
 
51
        "Torrus system operates with several datasource trees
 
52
        identified by names"
 
53
    SYNTAX OCTET STRING (SIZE (1..512))
 
54
    
 
55
Token ::= TEXTUAL-CONVENTION
 
56
    STATUS current
 
57
    DESCRIPTION
 
58
        "Token is a short ID for the leaf or subtree of the Torrus
 
59
        datasources hierarchy"
 
60
    SYNTAX OCTET STRING (SIZE (5..10))
 
61
 
 
62
Path ::= TEXTUAL-CONVENTION
 
63
    STATUS current
 
64
    DESCRIPTION
 
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))
 
68
 
 
69
MonitorEventsEntry ::= SEQUENCE {
 
70
    torrusEventIndex     Integer32,
 
71
    torrusToken          Token,
 
72
    torrusMonitorName    OCTET STRING,
 
73
    torrusEventType      EventType,
 
74
    torrusPath           Path,
 
75
    torrusTimestamp      DateAndTime,
 
76
    torrusSeverity       Integer32,
 
77
    torrusMonitorDesc    OCTET STRING
 
78
}
 
79
    
 
80
torrusMonitorEventsTable OBJECT-TYPE
 
81
    SYNTAX      SEQUENCE OF MonitorEventsEntry
 
82
    MAX-ACCESS  not-accessible
 
83
    STATUS      current
 
84
    DESCRIPTION
 
85
        "Table of current monitor events"    
 
86
    ::= { torrus 1 }
 
87
 
 
88
torrusMonitorEventsEntry OBJECT-TYPE
 
89
    SYNTAX      MonitorEventsEntry
 
90
    MAX-ACCESS  not-accessible
 
91
    STATUS      current
 
92
    DESCRIPTION
 
93
        "Each monitor event is characterized by the datasource token and
 
94
         monitor name"
 
95
    INDEX { torrusEventIndex }
 
96
    ::= { torrusMonitorEventsTable 1 }
 
97
 
 
98
torrusEventIndex OBJECT-TYPE
 
99
    SYNTAX      Integer32 (1..65535)
 
100
    MAX-ACCESS  not-accessible
 
101
    STATUS      current
 
102
    DESCRIPTION
 
103
        "The value of this object uniquely identifies this
 
104
        event entry."
 
105
    ::= { torrusMonitorEventsEntry 1 }
 
106
                        
 
107
torrusToken OBJECT-TYPE
 
108
    SYNTAX      Token
 
109
    MAX-ACCESS  not-accessible
 
110
    STATUS      current
 
111
    DESCRIPTION
 
112
        "Token is a short ID for the leaf or subtree of the Torrus
 
113
         datasources hierarchy"
 
114
    ::= { torrusMonitorEventsEntry 2 }
 
115
 
 
116
torrusMonitorName OBJECT-TYPE
 
117
    SYNTAX      OCTET STRING
 
118
    MAX-ACCESS  not-accessible
 
119
    STATUS      current
 
120
    DESCRIPTION
 
121
        "Each monitor instance is identified by unique name"
 
122
    ::= { torrusMonitorEventsEntry 3 }
 
123
 
 
124
torrusEventType OBJECT-TYPE
 
125
    SYNTAX      EventType
 
126
    MAX-ACCESS  not-accessible
 
127
    STATUS      current
 
128
    DESCRIPTION
 
129
        "The type of the event: set(1), repeat(2), clear(3), forget(4)"
 
130
    ::= { torrusMonitorEventsEntry 4 }
 
131
    
 
132
torrusPath OBJECT-TYPE
 
133
    SYNTAX      Path
 
134
    MAX-ACCESS  not-accessible
 
135
    STATUS      current
 
136
    DESCRIPTION
 
137
        "The full name of the Torrus datasource, containing its
 
138
        parent nodes separated by slashes"
 
139
    ::= { torrusMonitorEventsEntry 5 }
 
140
 
 
141
torrusTimestamp OBJECT-TYPE
 
142
    SYNTAX      DateAndTime
 
143
    MAX-ACCESS  not-accessible
 
144
    STATUS      current
 
145
    DESCRIPTION
 
146
        "Timestamp of the event, in SNMPv2 format, e.g.
 
147
         1992-5-26,13:30:15.0,-4:0"
 
148
    ::= { torrusMonitorEventsEntry 6 }
 
149
        
 
150
torrusTreeName OBJECT-TYPE
 
151
    SYNTAX      TreeName
 
152
    MAX-ACCESS  not-accessible
 
153
    STATUS      current
 
154
    DESCRIPTION
 
155
        "Name of the datasource tree"
 
156
    ::= { torrusMonitorEventsEntry 7 }
 
157
 
 
158
torrusSeverity OBJECT-TYPE
 
159
    SYNTAX      Integer32 (1..65535)
 
160
    MAX-ACCESS  not-accessible
 
161
    STATUS      current
 
162
    DESCRIPTION
 
163
        "Optional severity level"
 
164
    ::= { torrusMonitorEventsEntry 8 }
 
165
 
 
166
torrusMonitorDesc OBJECT-TYPE
 
167
    SYNTAX      OCTET STRING
 
168
    MAX-ACCESS  not-accessible
 
169
    STATUS      current
 
170
    DESCRIPTION
 
171
        "Human readable monitor comment"
 
172
    ::= { torrusMonitorEventsEntry 9 }
 
173
    
 
174
torrusAlarm NOTIFICATION-TYPE
 
175
    OBJECTS  { torrusToken, torrusMonitorName, torrusEventType,
 
176
               torrusPath, torrusTimestamp }
 
177
    STATUS   current
 
178
    DESCRIPTION
 
179
        "The SNMP trap that is generated when an Torrus monitor
 
180
        condition is changed for the leaf being monitored"
 
181
    ::= { torrus 2 }
 
182
        
 
183
END