summaryrefslogtreecommitdiff
path: root/MIBS/fiberhome/WRI-TEMPERATURE-MIB
blob: 2e009fdacf1664e71c4a55d88993bcf0be50352b (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
WRI-TEMPERATURE-MIB DEFINITIONS ::= BEGIN
	IMPORTS
			MODULE-IDENTITY, OBJECT-TYPE, Counter32, Gauge32,
			Integer32, TimeTicks, Counter64,enterprises,
			NOTIFICATION-TYPE,Unsigned32                        
							FROM SNMPv2-SMI       
			TEXTUAL-CONVENTION
							FROM SNMPv2-TC
			wri,wriProducts			
							FROM WRI-SMI;
	


	-- temperature monitor
	msppTemperature			MODULE-IDENTITY
        LAST-UPDATED    "201001110000Z"
        ORGANIZATION    "Wuhan FiberHome Networks Co.,Ltd."
        CONTACT-INFO
                "  FHN Customer Service
                   Tel: 027-87693784"
        DESCRIPTION
                "The MIB module to describe the monitor for temperature."
        REVISION        "201001110000Z" 
        DESCRIPTION
                "Add description for oid."
        REVISION        "200901110000Z" 
        DESCRIPTION
                "Init version for temperature monitor."
        ::=   {msppChassis 6}

	mspp         	OBJECT IDENTIFIER ::= { wriProducts 8012 }
	msppChassis		OBJECT IDENTIFIER ::=   {mspp 1}

	
	DisplayString ::= TEXTUAL-CONVENTION
		STATUS current
		DESCRIPTION
				"8 bit octet."
		SYNTAX OCTET STRING
		
	
--	msppTemperature			OBJECT IDENTIFIER ::=   {msppChassis 6}
	
	temperatureGeneral			OBJECT IDENTIFIER ::=   {msppTemperature 1}
					
		temperatureTrapEnable OBJECT-TYPE
				SYNTAX  INTEGER{
					enable(1),
					disable(2)
				}
				MAX-ACCESS  read-write
				STATUS  current
				DESCRIPTION
						"Enable temperature trap or not."
				::= { temperatureGeneral 1 }
				
		temperatureMonitorEnable OBJECT-TYPE
				SYNTAX  INTEGER{
					enable(1),
					disable(2)
				}
				MAX-ACCESS  read-write
				STATUS  current
				DESCRIPTION
						"Enable temperature monitor or not."
				::= { temperatureGeneral 2 }
				
		temperatureNumber OBJECT-TYPE
				SYNTAX  INTEGER
				MAX-ACCESS  read-only
				STATUS  current
				DESCRIPTION
						"Temperature numbers"
				::= { temperatureGeneral 3 }
		
		temperatureTable OBJECT-TYPE
			SYNTAX  SEQUENCE OF TemperatureEntry
			MAX-ACCESS   not-accessible
			STATUS  current
			DESCRIPTION
			         "Temperature information table."
			::= { msppTemperature 2 }

		temperatureEntry OBJECT-TYPE
			SYNTAX TemperatureEntry
			MAX-ACCESS   not-accessible
			STATUS  current
			DESCRIPTION
		         	"An entry in the temperature table."
			INDEX {temperatureIndex }
			::= { temperatureTable 1 }
		
		TemperatureEntry ::=
		    SEQUENCE {
		    temperatureIndex          		Unsigned32,
		    temperatureDescr          		DisplayString,
		    temperatureLThreshold			INTEGER,
		    temperatureHThreshold	       	INTEGER,
		    temperatureValue        		INTEGER,
		    temperatureState		       	INTEGER,
			temperatureTrapEna		      	INTEGER,
		    temperatureAllSetting			OCTET STRING,
			--xf add 2014-7-2
			temperatureIndexDescr			OCTET STRING,
			temperatureRebootHThreshold	    INTEGER
			}
		-- The following section describes the components of the table.

			temperatureIndex OBJECT-TYPE
				SYNTAX  Unsigned32
				MAX-ACCESS  read-only
				STATUS  current
				DESCRIPTION
						"Unique index for the temperature."
				::= { temperatureEntry 1 }

			temperatureDescr OBJECT-TYPE
				SYNTAX  DisplayString (SIZE(0..64))
				MAX-ACCESS  read-write
				STATUS  current
				DESCRIPTION
						"temperature description.slot-1-temp1,slot-1-tem2,eg."
				::= { temperatureEntry 2 }
				
			temperatureLThreshold OBJECT-TYPE
				SYNTAX  INTEGER
				MAX-ACCESS  read-write
				STATUS  current
				DESCRIPTION
						"temperature low threshold"
				::= { temperatureEntry 3 }
				
			temperatureHThreshold OBJECT-TYPE
				SYNTAX  INTEGER
				MAX-ACCESS  read-write
				STATUS  current
				DESCRIPTION
						"temperature high threshold"
				::= { temperatureEntry 4 }
				
			temperatureValue OBJECT-TYPE
				SYNTAX  INTEGER
				MAX-ACCESS  read-only
				STATUS  current
				DESCRIPTION
						"temperature value."
				::= { temperatureEntry 5 }
			
			temperatureState OBJECT-TYPE
				SYNTAX  INTEGER {
				normal(0),
		     	lowtrap(1),
		    	hightrap(2)
		    }
				MAX-ACCESS  read-only
				STATUS  current
				DESCRIPTION
						"temperature state."
				::= { temperatureEntry 6 }
				
			temperatureTrapEna OBJECT-TYPE
				SYNTAX  INTEGER{
					enable(1),
					disable(2)
				}
				MAX-ACCESS  read-write
				STATUS  current
				DESCRIPTION
						"Enable temperature trap or not."
				::= { temperatureEntry 7 }
				
			temperatureAllSetting OBJECT-TYPE
				SYNTAX  OCTET STRING
				MAX-ACCESS  read-write
				STATUS  current
				DESCRIPTION
						"All oid operation of this table."
				::= { temperatureEntry 8 }
				
			--xf add 2014-7-2
			temperatureIndexDescr	OBJECT-TYPE
				SYNTAX  OCTET STRING
				MAX-ACCESS  read-only
				STATUS  current
				DESCRIPTION
						"Temperature index descrption."
				::= { temperatureEntry 9 }
			                                      
			temperatureRebootHThreshold OBJECT-TYPE
				SYNTAX  INTEGER
				MAX-ACCESS  read-write
				STATUS  current
				DESCRIPTION
						"temperature high threshold for reboot"
				::= { temperatureEntry 10 }
			                                      
		temperatureTrap			OBJECT IDENTIFIER ::=   {msppTemperature 3}
		
		
		temperatureOk NOTIFICATION-TYPE
       		OBJECTS {temperatureDescr,temperatureValue}
       		STATUS  current
       		DESCRIPTION
               	"mspp temperature ok trap."
			::= { temperatureTrap 1}
		
		temperatureFault NOTIFICATION-TYPE
	       	OBJECTS {temperatureDescr,temperatureValue,temperatureLThreshold,temperatureHThreshold}
       		STATUS  current
       		DESCRIPTION
               	"mspp temperature fault trap."
			::= { temperatureTrap 2}
				
END