@cryptotaxi247 / netdata-1 / commits / 8ac072e08

update tripplite snmp profiles (#20613)

Ilya Mashchenko committed Jul 1, 2025 at 11:03 UTC 8ac072e08faf8bfe947abb8261b2a68dde5de2e0
2 files changed +229 -250
src/go/plugin/go.d/config/go.d/snmp.profiles/default/tripplite-pdu.yaml
+103 -128
@@ -10,81 +10,51 @@ metadata:
10 type:
11 value: "PDU"
12
13 +# https://mibbrowser.online/mibdb_search.php?mib=TRIPPLITE-PRODUCTS
14 metrics:
15 - MIB: TRIPPLITE-PRODUCTS
16 table:
17 OID: 1.3.6.1.4.1.850.1.1.1.2
18 name: tlpDeviceTable
19 symbols:
19 - - name: tlpDevice
20 - constant_value_one: true
21 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
20 + - OID: 1.3.6.1.4.1.850.1.1.1.2.1.10
21 + name: tlpDeviceStatus
22 + description: The currently most critical alarm status for the device
23 + family: Device/Alarm/Status
24 + unit: "{status}"
25 + mapping:
26 + 0: none
27 + 1: critical
28 + 2: warning
29 + 3: info
30 + 4: status
31 + 5: offline
32 + 6: custom
33 + 7: configuration
34 metric_tags:
23 - - symbol:
35 + - tag: tlp_device_index
36 + index: 1
37 + - tag: _tlp_device_manufacturer
38 + symbol:
39 OID: 1.3.6.1.4.1.850.1.1.1.2.1.4
40 name: tlpDeviceManufacturer
26 - tag: tlp_device_manufacturer
27 - description: The name of the manufacturer.
28 - unit: "TBD"
29 - - symbol:
41 + - tag: _tlp_device_model
42 + symbol:
43 OID: 1.3.6.1.4.1.850.1.1.1.2.1.5
44 name: tlpDeviceModel
32 - tag: tlp_device_model
33 - description: The model designation.
34 - unit: "TBD"
35 - - symbol:
45 + - tag: _tlp_device_name # A user-supplied name for the device.
46 + symbol:
47 OID: 1.3.6.1.4.1.850.1.1.1.2.1.6
48 name: tlpDeviceName
38 - tag: tlp_device_name
39 - description: A user-supplied name for the device.
40 - unit: "TBD"
41 - - symbol:
49 + - tag: _tlp_device_location # A user-supplied location for the device.
50 + symbol:
51 OID: 1.3.6.1.4.1.850.1.1.1.2.1.8
52 name: tlpDeviceLocation
44 - tag: tlp_device_location
45 - description: A user-supplied location for the device.
46 - unit: "TBD"
47 - - symbol:
53 + - tag: _tlp_device_region # A user-supplied region for the device.
54 + symbol:
55 OID: 1.3.6.1.4.1.850.1.1.1.2.1.9
56 name: tlpDeviceRegion
50 - tag: tlp_device_region
51 - description: A user-supplied region for the device.
52 - unit: "TBD"
53 - - symbol:
54 - OID: 1.3.6.1.4.1.850.1.1.1.2.1.10
55 - name: tlpDeviceStatus
56 - tag: tlp_device_status
57 - mapping:
58 - 0: none
59 - 1: critical
60 - 2: warning
61 - 3: info
62 - 4: status
63 - 5: offline
64 - 6: custom
65 - 7: configuration
66 - description: The currently most critical alarm status for the device.
67 - unit: "TBD"
68 - - MIB: TRIPPLITE-PRODUCTS
69 - table:
70 - OID: 1.3.6.1.4.1.850.1.1.2.1
71 - name: tlpDeviceIdentTable
72 - symbols:
73 - - name: tlpDeviceIdent
74 - constant_value_one: true
75 - metric_tags:
76 - - symbol:
77 - OID: 1.3.6.1.4.1.850.1.1.2.1.1.5
78 - name: tlpDeviceIdentSerialNum
79 - tag: tlp_device_ident_serial_num
80 - description: The serial number of the device.
81 - unit: "TBD"
82 - - symbol:
83 - OID: 1.3.6.1.4.1.850.1.1.2.1.1.6
84 - name: tlpDeviceIdentDateInstalled
85 - tag: tlp_device_ident_date_installed
86 - description: The installation date for this device in the format of mm/dd/yyyy.
87 - unit: "TBD"
57 +
58 - MIB: TRIPPLITE-PRODUCTS
59 table:
60 OID: 1.3.6.1.4.1.850.1.1.3.2.2.1
@@ -93,39 +63,44 @@ metrics:
63 - OID: 1.3.6.1.4.1.850.1.1.3.2.2.1.1.6
64 name: tlpPduDeviceTemperatureC
65 description: The ambient temperature at or near the PDU casing.
66 + family: Environment/Temperature/Value
67 unit: "Cel"
68 - OID: 1.3.6.1.4.1.850.1.1.3.2.2.1.1.7
69 name: tlpPduDeviceTemperatureF
70 description: The ambient temperature at or near the PDU casing.
71 + family: Environment/Temperature/Value
72 unit: "F"
73 - OID: 1.3.6.1.4.1.850.1.1.3.2.2.1.1.8
74 name: tlpPduDevicePhaseImbalance
75 description: The percentage of imbalance of the three phases.
76 + family: Phase/Imbalance/Value
77 unit: "%"
78 - OID: 1.3.6.1.4.1.850.1.1.3.2.2.1.1.9
79 name: tlpPduDeviceOutputPowerTotal
80 description: The AC output total power for all circuits.
81 + family: Output/Power/Total
82 unit: "W"
109 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
83 + - OID: 1.3.6.1.4.1.850.1.1.3.2.2.1.1.1
84 + name: tlpPduDeviceMainLoadState
85 + description: The current state of the main output of the device
86 + family: Output/Main/Status
87 + unit: "{status}"
88 + mapping:
89 + 0: unknown
90 + 1: off
91 + 2: on
92 metric_tags:
111 - - index: 1 # tlpDeviceIndex
112 - tag: tlp_device_index
93 + - tag: tlp_device_index
94 + index: 1
95 - symbol:
96 OID: 1.3.6.1.4.1.850.1.1.3.2.2.1.1.11
97 name: tlpPduDeviceOutputCurrentPrecision
116 - tag: tlp_pdu_device_output_current_precision
98 + tag: _tlp_pdu_device_output_current_precision
99 mapping:
100 0: whole_number
101 1: tenths
102 2: hundredths
121 - - symbol:
122 - OID: 1.3.6.1.4.1.850.1.1.3.2.2.1.1.1
123 - name: tlpPduDeviceMainLoadState
124 - tag: tlp_pdu_device_main_load_state
125 - mapping:
126 - 0: unknown
127 - 1: off
128 - 2: on
103 +
104 - MIB: TRIPPLITE-PRODUCTS
105 table:
106 OID: 1.3.6.1.4.1.850.1.1.3.2.3.2.1
@@ -134,40 +109,45 @@ metrics:
109 - OID: 1.3.6.1.4.1.850.1.1.3.2.3.2.1.1.4
110 name: tlpPduOutputVoltage
111 description: The magnitude of the present output voltage for a given output line.
112 + family: Output/Phase/Voltage/Value
113 unit: "V"
114 - OID: 1.3.6.1.4.1.850.1.1.3.2.3.2.1.1.5
115 name: tlpPduOutputCurrent
116 description: The output current, in hundreths of amps, for a given phase.
117 + family: Output/Phase/Current/Value
118 unit: "mA"
119 - OID: 1.3.6.1.4.1.850.1.1.3.2.3.2.1.1.10
120 name: tlpPduOutputSource
121 description: The present source of output power.
145 - unit: "TBD"
122 + family: Output/Source/Status
123 + unit: "{status}"
124 - OID: 1.3.6.1.4.1.850.1.1.3.2.3.2.1.1.11
125 name: tlpPduOutputFrequency
126 description: The present output frequency.
127 + family: Output/Frequency/Value
128 unit: "Hz"
129 # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
130 metric_tags:
152 - - index: 1 # tlpDeviceIndex
153 - tag: tlp_device_index
154 - - index: 2 # tlpPduOutputIndex
155 - tag: tlp_pdu_output_index
156 - - symbol:
131 + - tag: tlp_device_index
132 + index: 1 # tlpDeviceIndex
133 + - tag: tlp_pdu_output_index
134 + index: 2 # tlpPduOutputIndex
135 + - tag: tlp_pdu_output_phase
136 + symbol:
137 OID: 1.3.6.1.4.1.850.1.1.3.2.3.2.1.1.2
138 name: tlpPduOutputPhase
159 - tag: tlp_pdu_output_phase
139 mapping:
140 1: phase1
141 2: phase2
142 3: phase3
164 - - symbol:
143 + - tag: tlp_pdu_output_phase_type
144 + symbol:
145 OID: 1.3.6.1.4.1.850.1.1.3.2.3.2.1.1.3
146 name: tlpPduOutputPhaseType
167 - tag: tlp_pdu_output_phase_type
147 mapping:
148 0: phase_to_neutral
149 1: phase_to_phase
150 +
151 - MIB: TRIPPLITE-PRODUCTS
152 table:
153 OID: 1.3.6.1.4.1.850.1.1.3.2.3.3.1
@@ -176,41 +156,52 @@ metrics:
156 - OID: 1.3.6.1.4.1.850.1.1.3.2.3.3.1.1.4
157 name: tlpPduOutletState
158 description: The current state of the outlet.
179 - unit: "TBD"
159 + family: Outlet/Operational/Status
160 + unit: "{status}"
161 - OID: 1.3.6.1.4.1.850.1.1.3.2.3.3.1.1.7
162 name: tlpPduOutletVoltage
163 description: The magnitude of the present output voltage for a given outlet.
164 + family: Outlet/Voltage/Value
165 unit: "V"
166 - OID: 1.3.6.1.4.1.850.1.1.3.2.3.3.1.1.8
167 name: tlpPduOutletCurrent
168 description: The present output current, in hundreths of amps, of a given outlet.
169 + family: Outlet/Current/Value
170 unit: "mA"
171 - OID: 1.3.6.1.4.1.850.1.1.3.2.3.3.1.1.9
172 name: tlpPduOutletPower
173 description: The output power of a given outlet.
174 + family: Outlet/Power/Active
175 unit: "W"
176 metric_tags:
193 - - symbol:
177 + - tag: tlp_pdu_outlet_name
178 + symbol:
179 OID: 1.3.6.1.4.1.850.1.1.3.2.3.3.1.1.2
180 name: tlpPduOutletName
196 - tag: tlp_pdu_outlet_name
197 - - symbol:
181 + - tag: _tlp_pdu_outlet_description
182 + symbol:
183 OID: 1.3.6.1.4.1.850.1.1.3.2.3.3.1.1.3
184 name: tlpPduOutletDescription
200 - tag: tlp_pdu_outlet_description
185 +
186 - MIB: TRIPPLITE-PRODUCTS
187 table:
188 OID: 1.3.6.1.4.1.850.1.1.3.2.3.5.1
189 name: tlpPduBreakerTable
190 symbols:
206 - - name: tlpPduBreaker
207 - constant_value_one: true
208 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
191 + - OID: 1.3.6.1.4.1.850.1.1.3.2.3.5.1.1.2
192 + name: tlpPduBreakerStatus
193 + description: The current state of the bank breaker
194 + family: Breaker/Status
195 + unit: "{status}"
196 + mapping:
197 + 0: open
198 + 1: closed
199 + 2: not_installed
200 metric_tags:
210 - - index: 1 # tlpDeviceIndex
211 - tag: tlp_device_index
212 - - index: 2 # tlpPduBreakerIndex
213 - tag: tlp_pdu_breaker_index
201 + - tag: tlp_device_index
202 + index: 1 # tlpDeviceIndex
203 + - tag: tlp_pdu_breaker_index
204 + index: 2 # tlpPduBreakerIndex
205 - symbol:
206 OID: 1.3.6.1.4.1.850.1.1.3.2.3.5.1.1.2
207 name: tlpPduBreakerStatus
@@ -219,56 +210,40 @@ metrics:
210 0: open
211 1: closed
212 2: not_installed
213 +
214 - MIB: TRIPPLITE-PRODUCTS
215 symbol:
216 OID: 1.3.6.1.4.1.850.1.3.1.0
217 name: tlpAlarmsPresent
218 description: The present number of active alarm conditions.
227 - unit: "{alarm_condition}"
219 + family: Alarm/Active/Count
220 + unit: "{alarm}"
221 +
222 - MIB: TRIPPLITE-PRODUCTS
223 table:
224 OID: 1.3.6.1.4.1.850.1.3.2
225 name: tlpAlarmTable
226 symbols:
233 - - name: tlpAlarm
234 - constant_value_one: true
235 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
236 - metric_tags:
237 - - index: 1 # tlpAlarmId
238 - tag: tlp_alarm_id
239 - - symbol:
240 - OID: 1.3.6.1.4.1.850.1.3.2.1.2
241 - name: tlpAlarmDescr
242 - tag: tlp_alarm_descr
243 - description: A reference of the alarm description object.
244 - unit: "TBD"
245 - - symbol:
246 - OID: 1.3.6.1.4.1.850.1.3.2.1.3
247 - name: tlpAlarmTime
248 - tag: tlp_alarm_time
249 - description: The value of sysUpTime when the alarm condition was detected.
250 - unit: "ms"
251 - - symbol:
252 - OID: 1.3.6.1.4.1.850.1.3.2.1.6
253 - name: tlpAlarmDetail
254 - tag: tlp_alarm_detail
255 - description: A textual description of the alarm condition.
256 - unit: "TBD"
257 - - symbol:
258 - OID: 1.3.6.1.4.1.850.1.3.2.1.8
259 - name: tlpAlarmState
260 - tag: tlp_alarm_state
227 + - OID: 1.3.6.1.4.1.850.1.3.2.1.8
228 + name: tlpAlarmState
229 + description: The current state of this alarm condition
230 + family: Alarm/Condition/Status
231 + unit: "{status}"
232 mapping:
233 1: active
234 2: inactive
264 - description: The current state of this alarm condition.
265 - unit: "TBD"
266 - - symbol:
267 - OID: 1.3.6.1.4.1.850.1.3.2.1.9
268 - name: tlpAlarmAcknowledged
269 - tag: tlp_alarm_acknowledged
235 + - OID: 1.3.6.1.4.1.850.1.3.2.1.9
236 + name: tlpAlarmAcknowledged
237 + description: Denotes whether the alarm condition has been acknowledged
238 + family: Alarm/Condition/Acknowledgment/Status
239 + unit: "{status}"
240 mapping:
241 1: not_acknowledged
242 2: acknowledged
273 - description: Denotes whether the alarm condition has been acknowledged.
274 - unit: "TBD"
243 + metric_tags:
244 + - tag: tlp_alarm_index
245 + index: 1 # tlpAlarmId
246 + - tag: _tlp_alarm_descr
247 + symbol:
248 + OID: 1.3.6.1.4.1.850.1.3.2.1.2
249 + name: tlpAlarmDescr
src/go/plugin/go.d/config/go.d/snmp.profiles/default/tripplite-ups.yaml
+126 -122
@@ -11,104 +11,120 @@ metadata:
11 type:
12 value: "UPS"
13
14 +metric_tags:
15 + - tag: tl_ups_ident_serial_num
16 + OID: 1.3.6.1.4.1.850.100.1.1.2.0
17 + symbol: tlUpsIdentSerialNum
18 + - OID: 1.3.6.1.4.1.850.100.1.1.3.0
19 + symbol: tlUpsIdentID
20 + tag: tl_ups_ident_id
21 + - OID: 1.3.6.1.4.1.850.100.1.1.4.0
22 + symbol: tlUpsSnmpCardSerialNum
23 + tag: tl_ups_snmp_card_serial_num
24 + - OID: 1.3.6.1.4.1.850.100.1.1.6.0
25 + symbol: tlUpsLocation
26 + tag: tl_ups_location
27 +
28 +# https://mibbrowser.online/mibdb_search.php?mib=TRIPPLITE-12X
29 metrics:
15 -# - MIB: TRIPPLITE-12X
16 -# symbol:
17 -# OID: 1.3.6.1.4.1.850.100.1.12.1.0
18 -# name: tlUpsMainOutletState
19 -# enum:
20 -# unknown: 0
21 -# off: 1
22 -# on: 2
23 -# mixed: 3
24 -# TODO: enum in scalar metric is not supported yet (keep this metric and this
25 -# comment in profile until it's fixed)
30 + - MIB: TRIPPLITE-12X
31 + symbol:
32 + OID: 1.3.6.1.4.1.850.100.1.12.1.0
33 + name: tlUpsMainOutletState
34 + description: The current state of the main output of the device
35 + family: Outlet/Main/Status
36 + unit: "{status}"
37 + mapping:
38 + unknown: 0
39 + off: 1
40 + on: 2
41 + mixed: 3
42 - MIB: TRIPPLITE-12X
43 symbol:
44 OID: 1.3.6.1.4.1.850.100.1.13.1.0
45 name: tlUpsTemperature
30 - description: The ambient temperature
31 - unit: "Cel"
46 + description: The ambient temperature
47 + family: Environment/Temperature/Value
48 + unit: "Cel"
49 - MIB: TRIPPLITE-12X
50 symbol:
51 OID: 1.3.6.1.4.1.850.100.1.2.1.0
52 name: tlUpsBatteryAge # The age of the battery in years.
36 - description: The age of the battery in years
37 - unit: "{year}"
53 + description: The age of the battery in years
54 + family: Battery/Age/Internal
55 + unit: "{year}"
56 - MIB: TRIPPLITE-12X
57 symbol:
58 OID: 1.3.6.1.4.1.850.100.1.2.2.0
59 name: tlUpsTemperatureF
42 - description: The ambient temperature (F)
43 - unit: "degF"
60 + description: The ambient temperature (F)
61 + family: Environment/Temperature/Value
62 + unit: "degF"
63 - MIB: TRIPPLITE-12X
64 symbol:
65 OID: 1.3.6.1.4.1.850.100.1.2.3.0
66 name: tlUpsExternalBatteryAge # The age of the battery in years.
48 - description: The age of external battery in years
49 - unit: "{year}"
67 + description: The age of external battery in years
68 + family: Battery/Age/External
69 + unit: "{year}"
70 - MIB: TRIPPLITE-12X
71 symbol:
72 OID: 1.3.6.1.4.1.850.100.1.6.1.0
73 name: tlUpsAlarmsPresent
54 - description: The present number of active alarm conditions
55 - unit: "{alarm}"
56 -# - MIB: TRIPPLITE-12X
57 -# symbol:
58 -# OID: 1.3.6.1.4.1.850.100.1.7.1.0
59 -# name: tlUpsTestDate # The date of the last self-test run on the ups, in the format YYYYMMDD.
60 -# TODO: this is not a numerical value and possibly not suitable as global metric tags since it might have high cardinality
61 -# - MIB: TRIPPLITE-12X
62 -# symbol:
63 -# OID: 1.3.6.1.4.1.850.100.1.7.2.0
64 -# name: tlUpsTestResultsDetail
65 -# TODO: this is not a numerical value
66 -# - MIB: TRIPPLITE-12X
67 -# symbol:
68 -# OID: 1.3.6.1.4.1.850.100.1.9.1.0
69 -# name: tlUpsConfigBattReplDate # The date on which the battery was last replaced, in the format YYYYMMDD.
70 -# TODO: this is not a numerical value and possibly not suitable as global metric tags since it might have high cardinality
71 -# - MIB: TRIPPLITE-12X
72 -# symbol:
73 -# OID: 1.3.6.1.4.1.850.100.1.9.5.0
74 -# name: tlUpsConfigExternalBattReplDate # The date on which the external battery was last replaced, in the format YYYYMMDD.
75 -# TODO: this is not a numerical value and possibly not suitable as global metric tags since it might have high cardinality
74 + description: The present number of active alarm conditions
75 + family: Alarm/Active/Count
76 + unit: "{alarm}"
77 + # - MIB: TRIPPLITE-12X
78 + # symbol:
79 + # OID: 1.3.6.1.4.1.850.100.1.9.1.0
80 + # name: tlUpsConfigBattReplDate # The date on which the battery was last replaced, in the format YYYYMMDD.
81 + # TODO: this is not a numerical value and possibly not suitable as global metric tags since it might have high cardinality
82 + # - MIB: TRIPPLITE-12X
83 + # symbol:
84 + # OID: 1.3.6.1.4.1.850.100.1.9.5.0
85 + # name: tlUpsConfigExternalBattReplDate # The date on which the external battery was last replaced, in the format YYYYMMDD.
86 + # TODO: this is not a numerical value and possibly not suitable as global metric tags since it might have high cardinality
87 - MIB: TRIPPLITE-12X
88 symbol:
89 OID: 1.3.6.1.4.1.850.101.1.1.1.0
90 name: tlEnvTemperatureC
80 - description: The ambient temperature (C)
81 - unit: "Cel"
91 + description: The ambient temperature (C)
92 + family: Environment/Temperature/Value
93 + unit: "Cel"
94 - MIB: TRIPPLITE-12X
95 symbol:
96 OID: 1.3.6.1.4.1.850.101.1.1.2.0
97 name: tlEnvTemperatureF
86 - description: The ambient temperature (F)
87 - unit: "degF"
88 -# - MIB: TRIPPLITE-12X
89 -# symbol:
90 -# OID: 1.3.6.1.4.1.850.101.1.1.5.0
91 -# name: tlEnvTemperatureInAlarm
92 -# enum:
93 -# true: 1
94 -# false: 2
95 -# TODO: enum in scalar metric is not supported yet (keep this metric and this
96 -# comment in profile until it's fixed)
98 + description: The ambient temperature (F)
99 + family: Environment/Temperature/Value
100 + unit: "degF"
101 + - MIB: TRIPPLITE-12X
102 + symbol:
103 + OID: 1.3.6.1.4.1.850.101.1.1.5.0
104 + name: tlEnvTemperatureInAlarm
105 + description: Indicates whether or not temperature is in alarm
106 + family: Environment/Temperature/Alarm/Status
107 + unit: "{status}"
108 + mapping:
109 + true: 1
110 + false: 2
111 - MIB: TRIPPLITE-12X
112 symbol:
113 OID: 1.3.6.1.4.1.850.101.1.2.1.0
114 name: tlEnvHumidity
101 - description: The ambient humidity (%)
102 - unit: "%"
103 -# - MIB: TRIPPLITE-12X
104 -# symbol:
105 -# OID: 1.3.6.1.4.1.850.101.1.2.4.0
106 -# name: tlEnvHumidityInAlarm
107 -# enum:
108 -# true: 1
109 -# false: 2
110 -# TODO: enum in scalar metric is not supported yet (keep this metric and this
111 -# comment in profile until it's fixed)
115 + description: The ambient humidity (%)
116 + family: Environment/Humidity/Value
117 + unit: "%"
118 + - MIB: TRIPPLITE-12X
119 + symbol:
120 + OID: 1.3.6.1.4.1.850.101.1.2.4.0
121 + name: tlEnvHumidityInAlarm
122 + description: Indicates whether or not humidity is in alarm
123 + family: Environment/Humidity/Alarm/Status
124 + unit: "{status}"
125 + mapping:
126 + true: 1
127 + false: 2
128 - MIB: TRIPPLITE-12X
129 table:
130 OID: 1.3.6.1.4.1.850.100.1.3.2
@@ -117,17 +133,17 @@ metrics:
133 - OID: 1.3.6.1.4.1.850.100.1.3.2.1.3
134 name: tlUpsInputVoltage
135 description: The magnitude of the present input voltage
136 + family: Input/Voltage/Value
137 unit: "V"
121 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
138 metric_tags:
123 - - symbol:
139 + - tag: tl_ups_input_voltage_index
140 + symbol:
141 OID: 1.3.6.1.4.1.850.100.1.3.2.1.1
142 name: tlUpsInputVoltageIndex
126 - tag: tl_ups_input_voltage_index
127 - - symbol:
143 + - tag: tl_ups_input_voltage_type
144 + symbol:
145 OID: 1.3.6.1.4.1.850.100.1.3.2.1.2
146 name: tlUpsInputVoltageType
130 - tag: tl_ups_input_voltage_type
147 mapping:
148 0: phase_to_neutral
149 1: phase_to_phase
@@ -138,24 +154,28 @@ metrics:
154 symbols:
155 - OID: 1.3.6.1.4.1.850.100.1.4.7.1.3
156 name: tlUpsOutputCircuitLoadCurrent
141 - description: The magnitude of the present output current in deciamperes
142 - unit: "dA"
157 + description: The magnitude of the present output current
158 + family: Output/Circuit/Current/Value
159 + unit: "A"
160 + scale_factor: 0.1
161 - OID: 1.3.6.1.4.1.850.100.1.4.7.1.4
162 name: tlUpsOutputCircuitVoltage
145 - description: The magnitude of the present circuit voltage in tenths of an volt
146 - unit: "dV"
163 + description: The magnitude of the present circuit voltage
164 + family: Output/Circuit/Voltage/Value
165 + unit: "V"
166 + scale_factor: 0.1
167 - OID: 1.3.6.1.4.1.850.100.1.4.7.1.5
168 name: tlUpsOutputCircuitPower
169 description: The magnitude of the present power in watts
170 + family: Output/Circuit/Power/Active
171 unit: "W"
151 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
172 metric_tags:
153 - - index: 1
154 - tag: tl_ups_output_circuit_index
155 - - symbol:
173 + - tag: tl_ups_output_circuit_index
174 + index: 1
175 + - tag: tl_ups_output_circuit_status
176 + symbol:
177 OID: 1.3.6.1.4.1.850.100.1.4.7.1.2
178 name: tlUpsOutputCircuitStatus
158 - tag: tl_ups_output_circuit_status
179 mapping:
180 0: open
181 1: closed
@@ -164,64 +184,48 @@ metrics:
184 OID: 1.3.6.1.4.1.850.101.2.1
185 name: tlEnvContactTable
186 symbols:
167 - - name: tlEnvContact
168 - constant_value_one: true
169 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
187 + - OID: 1.3.6.1.4.1.850.101.2.1.1.3
188 + name: tlEnvContactStatus
189 + description: The current status of the contact
190 + family: Environment/Contact/Status
191 + unit: "{status}"
192 + mapping:
193 + 0: normal
194 + 1: alarm
195 metric_tags:
171 - - symbol:
196 + - tag: tl_env_contact_name
197 + symbol:
198 OID: 1.3.6.1.4.1.850.101.2.1.1.2
199 name: tlEnvContactName
174 - tag: tl_env_contact_name
175 - - symbol:
200 + - tag: tl_env_contact_config
201 + symbol:
202 OID: 1.3.6.1.4.1.850.101.2.1.1.4
203 name: tlEnvContactConfig
178 - tag: tl_env_contact_config
204 mapping:
205 0: normally_open
206 1: normally_closed
182 - - symbol:
183 - OID: 1.3.6.1.4.1.850.101.2.1.1.3
184 - name: tlEnvContactStatus
185 - tag: tl_env_contact_status
186 - mapping:
187 - 0: normal
188 - 1: alarm
207 +
208 - MIB: TRIPPLITE-12X
209 table:
210 OID: 1.3.6.1.4.1.850.100.1.10.2
211 name: tlUpsOutletTable
212 symbols:
194 - - name: tlUpsOutlet
195 - constant_value_one: true
196 - metric_tags:
197 - - symbol:
198 - OID: 1.3.6.1.4.1.850.100.1.11.2.1.3
199 - name: tlUpsOutletGroupName
200 - tag: tl_ups_outlet_group_name
201 - - symbol:
202 - OID: 1.3.6.1.4.1.850.100.1.11.2.1.4
203 - name: tlUpsOutletGroupDesc
204 - tag: tl_ups_outlet_group_desc
205 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
206 - - symbol:
207 - OID: 1.3.6.1.4.1.850.100.1.11.2.1.5
208 - name: tlUpsOutletGroupState
209 - tag: tl_ups_outlet_group_state
213 + - OID: 1.3.6.1.4.1.850.100.1.11.2.1.5
214 + name: tlUpsOutletGroupState
215 + description: The current state of the outlet group
216 + family: Outlet/Group/Status
217 + unit: "{status}"
218 mapping:
219 0: unknown
220 1: off
221 2: on
222 3: mixed
215 -metric_tags:
216 - - tag: tl_ups_ident_serial_num
217 - OID: 1.3.6.1.4.1.850.100.1.1.2.0
218 - symbol: tlUpsIdentSerialNum
219 - - OID: 1.3.6.1.4.1.850.100.1.1.3.0
220 - symbol: tlUpsIdentID
221 - tag: tl_ups_ident_id
222 - - OID: 1.3.6.1.4.1.850.100.1.1.4.0
223 - symbol: tlUpsSnmpCardSerialNum
224 - tag: tl_ups_snmp_card_serial_num
225 - - OID: 1.3.6.1.4.1.850.100.1.1.6.0
226 - symbol: tlUpsLocation
227 - tag: tl_ups_location
223 + metric_tags:
224 + - tag: tl_ups_outlet_group_name
225 + symbol:
226 + OID: 1.3.6.1.4.1.850.100.1.11.2.1.3
227 + name: tlUpsOutletGroupName
228 + - tag: tl_ups_outlet_group_desc
229 + symbol:
230 + OID: 1.3.6.1.4.1.850.100.1.11.2.1.4
231 + name: tlUpsOutletGroupDesc