summaryrefslogtreecommitdiff
path: root/MIBS/ifotec/IFOTEC-SMI
blob: c14dd5cc7f2900089f22a85671804ce3a6b80724 (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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
-- *****************************************************************
-- IFOTEC-SMI.mib:  IFOTEC Enterprise Structure of Management Information
--   
-- Jully 2020, MARMONIER Cedric
--   
-- Copyright (c) 1998-2020 by IFOTEC.
-- All rights reserved.
--   
-- ****************************************************************

IFOTEC-SMI DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY, OBJECT-IDENTITY, OBJECT-TYPE, enterprises, TimeTicks   FROM SNMPv2-SMI
	TEXTUAL-CONVENTION, DisplayString                            			FROM SNMPv2-TC;
 

ifotec MODULE-IDENTITY
    LAST-UPDATED    "202007280000Z"
    ORGANIZATION    "IFOTEC"
    CONTACT-INFO    "contact@ifotec.com"
    DESCRIPTION
        "The Structure of Management Information for the
        IFOTEC enterprise."
     ::= { enterprises 21362 }

	 
IfotecDataStatus ::= TEXTUAL-CONVENTION
	STATUS             current
	DESCRIPTION   "Represents the data status."
	SYNTAX  INTEGER {
		noData(1),
		ok(2),
		warning(3),
		warningLowThreshold(4),
		warningHighThreshold(5),
		error(6),
		errorLowThreshold(7),
		errorHighThreshold(8),
		errorWrongData(9),
		errorLowDataOverflow(10),
		errorHighDataOverflow(11)
	}


-- ****************************************************************
ifotecGeneral OBJECT-IDENTITY
    STATUS          current
    DESCRIPTION
        "General informations about the IFOTEC product."
    ::= { ifotec 101 }

-- *****************************************
ifotecSystem OBJECT-IDENTITY
    STATUS          current
    DESCRIPTION     "IFOTEC System informations."
     ::= { ifotecGeneral 1 }

 
ifoSysProductIndex OBJECT-TYPE
	 SYNTAX Integer32	 MAX-ACCESS read-only	 STATUS current
	 DESCRIPTION "The ifoSysIndex of the product."    ::= { ifotecSystem 1 }
	 
	 
-- ******************	 
ifoSysTable OBJECT-TYPE 
	 SYNTAX SEQUENCE OF IfoSysEntry
	 MAX-ACCESS not-accessible
	 STATUS current
	 DESCRIPTION "list of systems present."
 	::= { ifotecSystem 2 }	 

ifoSysEntry OBJECT-TYPE 
	 SYNTAX IfoSysEntry
	 MAX-ACCESS not-accessible
	 STATUS current
	 DESCRIPTION "An entry containing system informations."
	 INDEX { ifoSysIndex } 
 	::= { ifoSysTable 1  }

IfoSysEntry ::= SEQUENCE {
	ifoSysIndex        		Integer32,
	ifoSysRef         		DisplayString,
	ifoSysInfo        		DisplayString,
	ifoSysFamilly			DisplayString,
	ifoSysSerialNumber		DisplayString,
	ifoSysDateCode			DisplayString,
	ifoSysFirmware			DisplayString,
	ifoSysBootloader		DisplayString,
	ifoSysDescr  			DisplayString,
	ifoSysLocation			DisplayString,
	ifoSysContact			DisplayString,
	ifoSysUpTime			TimeTicks
}	

ifoSysIndex OBJECT-TYPE 
	 SYNTAX Integer32	 MAX-ACCESS not-accessible	 STATUS current
	 DESCRIPTION "A unique value, greater than zero, for each product."
											    ::= { ifoSysEntry 1 }
ifoSysRef          
  OBJECT-TYPE     SYNTAX DisplayString          MAX-ACCESS read-only   STATUS current
  DESCRIPTION     "Product reference"           ::= { ifoSysEntry 2 }
ifoSysInfo
  OBJECT-TYPE     SYNTAX DisplayString          MAX-ACCESS read-only   STATUS current
  DESCRIPTION     "Product information"         ::= { ifoSysEntry 3 }
ifoSysFamilly
  OBJECT-TYPE     SYNTAX DisplayString          MAX-ACCESS read-only   STATUS current
  DESCRIPTION     "Product familly"             ::= { ifoSysEntry 4 }  
ifoSysSerialNumber  
  OBJECT-TYPE     SYNTAX DisplayString          MAX-ACCESS read-only   STATUS current
  DESCRIPTION     "Serial number"               ::= { ifoSysEntry 5 }
ifoSysDateCode
  OBJECT-TYPE     SYNTAX DisplayString          MAX-ACCESS read-only   STATUS current
  DESCRIPTION     "Date code"                   ::= { ifoSysEntry 6 }
ifoSysFirmware
  OBJECT-TYPE     SYNTAX DisplayString          MAX-ACCESS read-only   STATUS current
  DESCRIPTION     "Firmware version"            ::= { ifoSysEntry 7 }
ifoSysBootloader
  OBJECT-TYPE     SYNTAX DisplayString          MAX-ACCESS read-only   STATUS current
  DESCRIPTION     "Bootloader version"          ::= { ifoSysEntry 8 }
ifoSysDescr
  OBJECT-TYPE     SYNTAX DisplayString          MAX-ACCESS read-only   STATUS current
  DESCRIPTION     "Administratively-assigned name (sysName)"         ::= { ifoSysEntry 9 }
ifoSysLocation
  OBJECT-TYPE     SYNTAX DisplayString          MAX-ACCESS read-only   STATUS current
  DESCRIPTION     "Physical location (sysLocation)"                  ::= { ifoSysEntry 10 }
ifoSysContact
  OBJECT-TYPE     SYNTAX DisplayString          MAX-ACCESS read-only   STATUS current
  DESCRIPTION     "Physical location (sysContact)"                   ::= { ifoSysEntry 11 }
ifoSysUpTime
  OBJECT-TYPE	  SYNTAX TimeTicks	            MAX-ACCESS read-only   STATUS current
  DESCRIPTION "The time (in hundredths of a second) since the 
               network management portion of the system was last 
               re-initialized (sysUpTime)."
 	::= { ifoSysEntry 12 }

  
-- ******************  

ifoSysMibTable OBJECT-TYPE
	 SYNTAX SEQUENCE OF IfoSysMibEntry
	 MAX-ACCESS not-accessible
	 STATUS current
	 DESCRIPTION "list of mibs presents in the system."
 	::= { ifotecSystem 3 }	 

ifoSysMibEntry OBJECT-TYPE 
	 SYNTAX IfoSysMibEntry
	 MAX-ACCESS not-accessible
	 STATUS current
	 DESCRIPTION "An entry containing mib informations."
	 INDEX { ifoSysORIfoSysIndex, ifoSysORIndex } 
 	::= { ifoSysMibTable 1  }

IfoSysMibEntry ::= SEQUENCE {
	ifoSysORIfoSysIndex   		Integer32,
	ifoSysORIndex        		Integer32,
	ifoSysORID         		    OBJECT IDENTIFIER,
	ifoSysORDescr        		DisplayString
}

ifoSysORIfoSysIndex OBJECT-TYPE 
	 SYNTAX Integer32	 MAX-ACCESS not-accessible	 STATUS current
	 DESCRIPTION "The index value which uniquely identifies the system in ifoSysMibTable. It is the same value used by ifoSysIndex."
											    ::= { ifoSysMibEntry 1 }
ifoSysORIndex OBJECT-TYPE 
	 SYNTAX Integer32	 MAX-ACCESS not-accessible	 STATUS current
	 DESCRIPTION "A unique value, greater than zero, for each mib presents in the system."
											    ::= { ifoSysMibEntry 2 }
ifoSysORID          
  OBJECT-TYPE     SYNTAX OBJECT IDENTIFIER           MAX-ACCESS read-only   STATUS current
  DESCRIPTION     "An unique identifier to designate the mib."           ::= { ifoSysMibEntry 3 }
ifoSysORDescr          
  OBJECT-TYPE     SYNTAX DisplayString          MAX-ACCESS read-only   STATUS current
  DESCRIPTION     "Description of the mib."                              ::= { ifoSysMibEntry 4 }

  
  
-- *****************************************  
ifotecTemperatures OBJECT-IDENTITY
    STATUS          current
    DESCRIPTION     "IFOTEC Temperature Sensors."
     ::= { ifotecGeneral 2 }

  
ifoTemperatureTable OBJECT-TYPE 
	 SYNTAX SEQUENCE OF IfoTemperatureEntry
	 MAX-ACCESS not-accessible
	 STATUS current
	 DESCRIPTION "A list of sensors."
 	::= { ifotecTemperatures 1  }
	 
ifoTemperatureEntry OBJECT-TYPE 
	 SYNTAX IfoTemperatureEntry
	 MAX-ACCESS not-accessible
	 STATUS current
	 DESCRIPTION "An entry containing sensor informations."
	 INDEX { ifoTempIfoSysIndex, ifoTempIndex } 
 	::= { ifoTemperatureTable 1  }

IfoTemperatureEntry ::= SEQUENCE {
	ifoTempIfoSysIndex     Integer32,
	ifoTempIndex           Integer32,
	ifoTempName            DisplayString,
	ifoTempDescr           DisplayString,
	ifoTempValue		   Integer32,
	ifoTempAlarmStatus	   IfotecDataStatus,
	ifoTempLowThldAlarm    Integer32,
	ifoTempHighThldAlarm   Integer32,
	ifoTempLowThldWarning  Integer32,
	ifoTempHighThldWarning  Integer32
}	

ifoTempIfoSysIndex OBJECT-TYPE 
	 SYNTAX Integer32	 MAX-ACCESS not-accessible	 STATUS current
	 DESCRIPTION "The index value which uniquely identifies the system in ifoSysMibTable. It is the same value used by ifoSysIndex."
											    ::= { ifoTemperatureEntry 1 }
ifoTempIndex OBJECT-TYPE 
	 SYNTAX Integer32
	 MAX-ACCESS not-accessible
	 STATUS current
	 DESCRIPTION "A unique value, greater than zero, for each temperature sensor."
 	::= { ifoTemperatureEntry 2  }
	
ifoTempName OBJECT-TYPE 
	 SYNTAX DisplayString
	 MAX-ACCESS read-only
	 STATUS current
	 DESCRIPTION "The name of the temperature sensor."
 	::= { ifoTemperatureEntry 3  }

ifoTempDescr OBJECT-TYPE 
	 SYNTAX DisplayString
	 MAX-ACCESS read-only
	 STATUS current
	 DESCRIPTION "The description of the temeprature sensor."
 	::= { ifoTemperatureEntry 4 }

ifoTempValue OBJECT-TYPE 
	 SYNTAX Integer32
	 MAX-ACCESS read-only
	 STATUS current
	 DESCRIPTION "the value of the sensor in 0.1 degree Celsius."
 	::= { ifoTemperatureEntry 5  }
	
ifoTempAlarmStatus OBJECT-TYPE 
	 SYNTAX IfotecDataStatus
	 MAX-ACCESS read-only
	 STATUS current
	 DESCRIPTION "Indicates the sensor alarm status."
 	::= { ifoTemperatureEntry 6  }

ifoTempLowThldAlarm OBJECT-TYPE
	 SYNTAX Integer32
	 MAX-ACCESS read-only
	 STATUS current
	 DESCRIPTION "the value in 0.1 degree Celsius of the low threshold alarm."
 	::= { ifoTemperatureEntry 7  }
	
ifoTempHighThldAlarm OBJECT-TYPE
	 SYNTAX Integer32
	 MAX-ACCESS read-only
	 STATUS current
	 DESCRIPTION "the value in 0.1 degree Celsius of the high threshold alarm."
 	::= { ifoTemperatureEntry 8  }

ifoTempLowThldWarning OBJECT-TYPE
	 SYNTAX Integer32
	 MAX-ACCESS read-only
	 STATUS current
	 DESCRIPTION "the value in 0.1 degree Celsius of the low threshold warning."
 	::= { ifoTemperatureEntry 9  }
	
ifoTempHighThldWarning OBJECT-TYPE
	 SYNTAX Integer32
	 MAX-ACCESS read-only
	 STATUS current
	 DESCRIPTION "the value in 0.1 degree Celsius of the high threshold warning."
 	::= { ifoTemperatureEntry 10  }

	
	
-- ****************************************************************
ifotecModules OBJECT-IDENTITY
    STATUS          current
    DESCRIPTION
        "ifotecModules provides a root object identifier
        from which MODULE-IDENTITY values may be assigned."
    ::= { ifotec 102 }

END