@cryptotaxi247 / netdata / commits / 513b41c5f

sophos (#20648)

* sophos * sinetica * silverpeak * servertech * serveriron * ruckus * riverbed * raritan * peplink * palo alto * move global metric tags before metrics * SNMP profiles pass ep3

Fotis Voutsas committed Jul 10, 2025 at 15:01 UTC 513b41c5f7a03daf51727b35876c7a8d394d2b2b
11 files changed +231 -180
src/go/plugin/go.d/config/go.d/snmp.profiles/default/netapp.yaml
+5 -4
@@ -7,9 +7,6 @@
7 extends:
8 - _system-base.yaml
9
10 -device:
11 - vendor: "netapp"
12 -
10 # All netapp products have netappProducts (1.3.6.1.4.1.789.2) OID as parent
11 sysobjectid: 1.3.6.1.4.1.789.2.*
12
@@ -17,7 +14,7 @@ metadata:
14 device:
15 fields:
16 vendor:
20 - value: "netapp"
17 + value: "NetApp"
18 serial_number:
19 symbol:
20 MIB: NETAPP-MIB
@@ -52,6 +49,10 @@ metadata:
49 match_value: '$1'
50
51
52 +# NETAPP-MIB
53 +# https://mibbrowser.online/mibdb_search.php?mib=NETAPP-MIB
54 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/netapp/NETAPP-MIB
55 +
56 metrics:
57 - MIB: NETAPP-MIB
58 symbol:
src/go/plugin/go.d/config/go.d/snmp.profiles/default/netgear-access-point.yaml
+1 -1
@@ -6,4 +6,4 @@ metadata:
6 device:
7 fields:
8 type:
9 - value: "access_point"
9 + value: "Access Point"
src/go/plugin/go.d/config/go.d/snmp.profiles/default/netgear-readynas.yaml
+44 -38
@@ -1,13 +1,19 @@
1 extends:
2 - _std-ucd-mib.yaml
3 - netgear.yaml
4 +
5 sysobjectid:
6 - 1.3.6.1.4.1.4526.100.16.*
7 +
8 metadata:
9 device:
10 fields:
11 type:
10 - value: "storage"
12 + value: "Storage"
13 +
14 +# READYNASOS-MIB
15 +# https://www.downloads.netgear.com/files/ReadyNAS/READYNAS-MIB.txt
16 +
17 metrics:
18 # scalar string metric is not supported yet
19 # - MIB: READYNASOS-MIB
@@ -42,7 +48,7 @@ metrics:
48 symbol:
49 OID: 1.3.6.1.4.1.4526.22.3.1.3
50 name: netgear.readynasos.diskSlotName
45 - - tag: netgear_readynasos_disk_serial
51 + - tag: _netgear_readynasos_disk_serial
52 symbol:
53 OID: 1.3.6.1.4.1.4526.22.3.1.4
54 name: netgear.readynasos.diskSerial
@@ -57,11 +63,10 @@ metrics:
63 - symbol:
64 OID: 1.3.6.1.4.1.4526.22.3.1.9
65 name: netgear.readynasos.diskState
60 - tag: netgear_readynasos_disk_state
66 + tag: _netgear_readynasos_disk_state
67 mapping:
68 0: online
69 1: offline
64 - # mapping in the metric description
70 - MIB: READYNASOS-MIB
71 table:
72 OID: 1.3.6.1.4.1.4526.22.4
@@ -70,13 +75,14 @@ metrics:
75 - OID: 1.3.6.1.4.1.4526.22.4.1.2
76 name: netgear.readynasos.fanRPM
77 description: Fan revolutions per minute
73 - unit: "1.min"
74 - - OID: 1.3.6.1.4.1.4526.22.4.1.3
75 - name: netgear.readynasos.fanStatus
76 - description: Fan status
77 - unit: "TBD"
78 + unit: "{revolution}/min"
79 + # - OID: 1.3.6.1.4.1.4526.22.4.1.3
80 + # name: netgear.readynasos.fanStatus
81 + # description: Fan status
82 + # unit: "TBD"
83 + # TODO mapping not found in MIB
84 metric_tags:
79 - - tag: netgear_readynasos_fan_type
85 + - tag: _netgear_readynasos_fan_type
86 symbol:
87 OID: 1.3.6.1.4.1.4526.22.4.1.4
88 name: netgear.readynasos.fanType
@@ -98,6 +104,8 @@ metrics:
104 description: Maximum temperature
105 unit: "Cel"
106 metric_tags:
107 + - tag: temp_index
108 + index: 1
109 - tag: netgear_readynasos_temperature_type
110 symbol:
111 OID: 1.3.6.1.4.1.4526.22.5.1.3
@@ -119,16 +127,10 @@ metrics:
127 name: netgear.readynasos.volumeFreeSpace
128 description: Volume free space
129 unit: "By"
122 - metric_tags:
123 - - tag: netgear_readynasos_volume_name
124 - symbol:
125 - OID: 1.3.6.1.4.1.4526.22.7.1.2
126 - name: netgear.readynasos.volumeName
127 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
128 - - symbol:
129 - OID: 1.3.6.1.4.1.4526.22.7.1.4
130 - name: netgear.readynasos.volumeStatus
131 - tag: netgear_readynasos_volume_status
130 + - OID: 1.3.6.1.4.1.4526.22.7.1.4
131 + name: netgear.readynasos.volumeStatus
132 + description: Volume severity
133 + unit: "{status}"
134 mapping:
135 1: redundant
136 2: unprotected
@@ -136,23 +138,27 @@ metrics:
138 4: dead
139 5: inactive
140 6: unknown
139 - # mapping in the metric description
140 - - MIB: READYNASOS-MIB
141 - table:
142 - OID: 1.3.6.1.4.1.4526.22.8
143 - name: psuTable
144 - symbols:
145 - - name: netgear.readynasos.psu
146 - constant_value_one: true
147 - description: Power supply unit presence
148 - unit: "{psu}"
141 metric_tags:
150 - - tag: netgear_readynasos_psu_desc
142 + - tag: volume_index
143 + index: 1
144 + - tag: netgear_readynasos_volume_name
145 symbol:
152 - OID: 1.3.6.1.4.1.4526.22.8.1.2
153 - name: netgear.readynasos.psuDesc
154 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
155 - - symbol:
156 - OID: 1.3.6.1.4.1.4526.22.8.1.3
157 - name: netgear.readynasos.psuStatus
158 - tag: netgear_readynasos_psu_status
146 + OID: 1.3.6.1.4.1.4526.22.7.1.2
147 + name: netgear.readynasos.volumeName
148 + # - MIB: READYNASOS-MIB
149 + # table:
150 + # OID: 1.3.6.1.4.1.4526.22.8
151 + # name: psuTable
152 + # symbols:
153 + # -
154 + # metric_tags:
155 + # - tag: netgear_readynasos_psu_desc
156 + # symbol:
157 + # OID: 1.3.6.1.4.1.4526.22.8.1.2
158 + # name: netgear.readynasos.psuDesc
159 + # # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
160 + # - symbol:
161 + # OID: 1.3.6.1.4.1.4526.22.8.1.3
162 + # name: netgear.readynasos.psuStatus
163 + # tag: netgear_readynasos_psu_status
164 + # only string metrics here
\ No newline at end of file
src/go/plugin/go.d/config/go.d/snmp.profiles/default/netgear-switch.yaml
+12 -5
@@ -1,13 +1,20 @@
1 extends:
2 - netgear.yaml
3 +
4 sysobjectid:
5 - 1.3.6.1.4.1.4526.100.1.28
6 - 1.3.6.1.4.1.4526.100.1.31
7 +
8 metadata:
9 device:
10 fields:
11 type:
10 - value: "switch"
12 + value: "Switch"
13 +
14 +# NETGEAR-SWITCHING-MIB
15 +# https://mibbrowser.online/mibdb_search.php?mib=NETGEAR-SWITCHING-MIB
16 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/netgear/NETGEAR-SWITCHING-MIB
17 +
18 metrics:
19 - MIB: NETGEAR-SWITCHING-MIB
20 symbol:
@@ -29,9 +36,9 @@ metrics:
36 description: "Burned-In MAC Address"
37 unit: "{mac_address}"
38 metric_tags:
32 - - OID: 1.3.6.1.4.1.4526.10.1.1.1.3.0
39 + - tag: _agent_inventory_machine_model
40 + OID: 1.3.6.1.4.1.4526.10.1.1.1.3.0
41 symbol: agentInventoryMachineModel
34 - tag: agent_inventory_machine_model
35 - - OID: 1.3.6.1.4.1.4526.10.1.1.1.13.0
42 + - tag: _agent_inventory_software_version
43 + OID: 1.3.6.1.4.1.4526.10.1.1.1.13.0
44 symbol: agentInventorySoftwareVersion
37 - tag: agent_inventory_software_version
src/go/plugin/go.d/config/go.d/snmp.profiles/default/netgear.yaml
+1 -1
@@ -8,4 +8,4 @@ metadata:
8 device:
9 fields:
10 vendor:
11 - value: "netgear"
11 + value: "NETGEAR"
src/go/plugin/go.d/config/go.d/snmp.profiles/default/nvidia-cumulus-linux-switch.yaml
+89 -68
@@ -2,13 +2,28 @@ extends:
2 - _std-host-resources-mib-feat-base.yaml
3 - _std-ucd-mib.yaml
4 - nvidia.yaml
5 +
6 sysobjectid:
7 - 1.3.6.1.4.1.40310
8 +
9 metadata:
10 device:
11 fields:
12 type:
11 - value: "switch"
13 + value: "Switch"
14 +
15 +# CUMULUS-RESOURCES-MIB
16 +# https://mibbrowser.online/mibdb_search.php?mib=CUMULUS-RESOURCES-MIB
17 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/cumulus/CUMULUS-RESOURCES-MIB
18 +
19 +# CUMULUS-COUNTERS-MIB
20 +# https://mibbrowser.online/mibdb_search.php?mib=CUMULUS-COUNTERS-MIB
21 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/cumulus/CUMULUS-COUNTERS-MIB
22 +
23 +# CUMULUS-POE-MIB
24 +# https://mibbrowser.online/mibdb_search.php?mib=CUMULUS-POE-MIB
25 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/cumulus/CUMULUS-POE-MIB
26 +
27 metrics:
28 - MIB: CUMULUS-RESOURCES-MIB
29 symbol:
@@ -62,98 +77,98 @@ metrics:
77 symbol:
78 name: cumulus.ingressAclCurrentEntries
79 OID: 1.3.6.1.4.1.40310.1.1.11.0
65 - description: TBD
66 - unit: "TBD"
80 + description: The current number of Ingress entries in the Network Access Control List table
81 + unit: "{entry}"
82 - MIB: CUMULUS-RESOURCES-MIB
83 symbol:
84 name: cumulus.ingressAclMaxEntries
85 OID: 1.3.6.1.4.1.40310.1.1.12.0
71 - description: TBD
72 - unit: "TBD"
86 + description: The maximum possible Ingress entries in the Network Access Control table
87 + unit: "{entry}"
88 - MIB: CUMULUS-RESOURCES-MIB
89 symbol:
90 name: cumulus.ingressAclCurrentCounters
91 OID: 1.3.6.1.4.1.40310.1.1.13.0
77 - description: TBD
78 - unit: "TBD"
92 + description: The current number of Ingress counters in the Network Access Control List table
93 + unit: "{counter}"
94 - MIB: CUMULUS-RESOURCES-MIB
95 symbol:
96 name: cumulus.ingressAclMaxCounters
97 OID: 1.3.6.1.4.1.40310.1.1.14.0
83 - description: TBD
84 - unit: "TBD"
98 + description: The maximum possible Ingress counters in the Network Access Control table
99 + unit: "{counter}"
100 - MIB: CUMULUS-RESOURCES-MIB
101 symbol:
102 name: cumulus.ingressAclCurrentMeters
103 OID: 1.3.6.1.4.1.40310.1.1.15.0
89 - description: TBD
90 - unit: "TBD"
104 + description: The current number of Ingress meters in the Network Access Control List table
105 + unit: "{meter}"
106 - MIB: CUMULUS-RESOURCES-MIB
107 symbol:
108 name: cumulus.ingressAclMaxMeters
109 OID: 1.3.6.1.4.1.40310.1.1.16.0
95 - description: TBD
96 - unit: "TBD"
110 + description: The maximum possible Ingress meters in the Network Access Control table
111 + unit: "{meter}"
112 - MIB: CUMULUS-RESOURCES-MIB
113 symbol:
114 name: cumulus.ingressAclCurrentSlices
115 OID: 1.3.6.1.4.1.40310.1.1.17.0
101 - description: TBD
102 - unit: "TBD"
116 + description: The current number of Ingress slices in the Network Access Control List table
117 + unit: "{slice}"
118 - MIB: CUMULUS-RESOURCES-MIB
119 symbol:
120 name: cumulus.ingressAclMaxSlices
121 OID: 1.3.6.1.4.1.40310.1.1.18.0
107 - description: TBD
108 - unit: "TBD"
122 + description: The maximum possible Ingress slices in the Network Access Control table
123 + unit: "{slice}"
124 - MIB: CUMULUS-RESOURCES-MIB
125 symbol:
126 name: cumulus.egressAclCurrentEntries
127 OID: 1.3.6.1.4.1.40310.1.1.19.0
113 - description: TBD
114 - unit: "TBD"
128 + description: The current number of Egress entries in the Network Access Control List table
129 + unit: "{entries}"
130 - MIB: CUMULUS-RESOURCES-MIB
131 symbol:
132 name: cumulus.egressAclMaxEntries
133 OID: 1.3.6.1.4.1.40310.1.1.20.0
119 - description: TBD
120 - unit: "TBD"
134 + description: The maximum possible Egress entries in the Network Access Control table
135 + unit: "{entries}"
136 - MIB: CUMULUS-RESOURCES-MIB
137 symbol:
138 name: cumulus.egressAclCurrentCounters
139 OID: 1.3.6.1.4.1.40310.1.1.21.0
125 - description: TBD
126 - unit: "TBD"
140 + description: The current number of Egress counters in the Network Access Control List table
141 + unit: "{counter}"
142 - MIB: CUMULUS-RESOURCES-MIB
143 symbol:
144 name: cumulus.egressAclMaxCounters
145 OID: 1.3.6.1.4.1.40310.1.1.22.0
131 - description: TBD
132 - unit: "TBD"
146 + description: The maximum possible Egress counters in the Network Access Control table
147 + unit: "counter"
148 - MIB: CUMULUS-RESOURCES-MIB
149 symbol:
150 name: cumulus.egressAclCurrentMeters
151 OID: 1.3.6.1.4.1.40310.1.1.23.0
137 - description: TBD
138 - unit: "TBD"
152 + description: The current number of Egress meters in the Network Access Control List table
153 + unit: "{meter}"
154 - MIB: CUMULUS-RESOURCES-MIB
155 symbol:
156 name: cumulus.egressAclMaxMeters
157 OID: 1.3.6.1.4.1.40310.1.1.24.0
143 - description: TBD
144 - unit: "TBD"
158 + description: The maximum possible Egress meters in the Network Access Control table
159 + unit: "{meter}"
160 - MIB: CUMULUS-RESOURCES-MIB
161 symbol:
162 name: cumulus.egressAclCurrentSlices
163 OID: 1.3.6.1.4.1.40310.1.1.25.0
149 - description: TBD
150 - unit: "TBD"
164 + description: The current number of Egress slices in the Network Access Control List table
165 + unit: "{slice}"
166 - MIB: CUMULUS-RESOURCES-MIB
167 symbol:
168 name: cumulus.egressAclMaxSlices
169 OID: 1.3.6.1.4.1.40310.1.1.26.0
155 - description: TBD
156 - unit: "TBD"
170 + description: The maximum possible Egress slices in the Network Access Control table
171 + unit: "{slice}"
172 - MIB: CUMULUS-RESOURCES-MIB
173 symbol:
174 name: cumulus.l2MacTableCurrentEntries
@@ -192,10 +207,12 @@ metrics:
207 description: Total number of packets discarded on egress due to reasons reasons other than queue overflow.
208 unit: "{packet}"
209 metric_tags:
195 - - symbol:
210 + - tag: cl_port_index
211 + index: 1
212 + - tag: cumulus_cl_port_name
213 + symbol:
214 name: cumulus.clPortName
215 OID: 1.3.6.1.4.1.40310.2.1.2.1.1
198 - tag: cumulus_cl_port_name
216 - MIB: CUMULUS-COUNTERS-MIB
217 table:
218 name: interfaceClCountersTable
@@ -203,41 +220,43 @@ metrics:
220 symbols:
221 - name: cumulus.clIntInOctets
222 OID: 1.3.6.1.4.1.40310.2.2.2.1.2
206 - description: TBD
223 + description: The number of input octets on the interface
224 unit: "By"
225 - name: cumulus.clIntInUcastPkts
226 OID: 1.3.6.1.4.1.40310.2.2.2.1.3
210 - description: TBD
227 + description: The number of input unicast packets on the interface
228 unit: "{packet}"
229 - name: cumulus.clIntInBcastPkts
230 OID: 1.3.6.1.4.1.40310.2.2.2.1.4
214 - description: TBD
231 + description: The number of input broadcast packets on the interface
232 unit: "{packet}"
233 - name: cumulus.clIntInMcastPkts
234 OID: 1.3.6.1.4.1.40310.2.2.2.1.5
218 - description: TBD
235 + description: The number of input multicast packets on the interface
236 unit: "{packet}"
237 - name: cumulus.clIntOutOctets
238 OID: 1.3.6.1.4.1.40310.2.2.2.1.6
222 - description: TBD
239 + description: The number of output octets on the interface
240 unit: "By"
241 - name: cumulus.clIntOutUcastPkts
242 OID: 1.3.6.1.4.1.40310.2.2.2.1.7
226 - description: TBD
243 + description: The number of output unicast packets on the interface
244 unit: "{packet}"
245 - name: cumulus.clIntOutBcastPkts
246 OID: 1.3.6.1.4.1.40310.2.2.2.1.8
230 - description: TBD
247 + description: The number of output broadcast packets on the interface
248 unit: "{packet}"
249 - name: cumulus.clIntOutMcastPkts
250 OID: 1.3.6.1.4.1.40310.2.2.2.1.9
234 - description: TBD
251 + description: The number of output multicast packets on the interface
252 unit: "{packet}"
253 metric_tags:
237 - - symbol:
254 + - tag: cl_int_index
255 + index: 1
256 + - tag: cumulus_cl_int_port_name
257 + symbol:
258 name: cumulus.clIntPortName
259 OID: 1.3.6.1.4.1.40310.2.2.2.1.1
240 - tag: cumulus_cl_int_port_name
260 - MIB: CUMULUS-COUNTERS-MIB
261 table:
262 name: pfcClCountersTable
@@ -245,98 +264,100 @@ metrics:
264 symbols:
265 - name: cumulus.clIntInPausePkt
266 OID: 1.3.6.1.4.1.40310.2.2.3.1.2
248 - description: TBD
267 + description: The number of ethernet flow control pause packets received on the interface
268 unit: "{packet}"
269 - name: cumulus.clIntOutPausePkt
270 OID: 1.3.6.1.4.1.40310.2.2.3.1.3
252 - description: TBD
271 + description: The number of ethernet flow control pause packets transmitted on the interface
272 unit: "{packet}"
273 - name: cumulus.clIntInPfc0Pkt
274 OID: 1.3.6.1.4.1.40310.2.2.3.1.4
256 - description: TBD
275 + description: The number of ethernet priority flow control traffic class 0 packets received on the interface
276 unit: "{packet}"
277 - name: cumulus.clIntOutPfc0Pkt
278 OID: 1.3.6.1.4.1.40310.2.2.3.1.5
260 - description: TBD
279 + description: The number of ethernet priority flow control traffic class 0 packets transmitted on the interface
280 unit: "{packet}"
281 - name: cumulus.clIntInPfc1Pkt
282 OID: 1.3.6.1.4.1.40310.2.2.3.1.6
264 - description: TBD
283 + description: The number of ethernet priority flow control traffic class 1 packets received on the interface
284 unit: "{packet}"
285 - name: cumulus.clIntOutPfc1Pkt
286 OID: 1.3.6.1.4.1.40310.2.2.3.1.7
268 - description: TBD
287 + description: The number of ethernet priority flow control traffic class 1 packets transmitted on the interface
288 unit: "{packet}"
289 - name: cumulus.clIntInPfc2Pkt
290 OID: 1.3.6.1.4.1.40310.2.2.3.1.8
272 - description: TBD
291 + description: The number of ethernet priority flow control traffic class 2 packets received on the interface
292 unit: "{packet}"
293 - name: cumulus.clIntOutPfc2Pkt
294 OID: 1.3.6.1.4.1.40310.2.2.3.1.9
276 - description: TBD
295 + description: The number of ethernet priority flow control traffic class 2 packets transmitted on the interface
296 unit: "{packet}"
297 - name: cumulus.clIntInPfc3Pkt
298 OID: 1.3.6.1.4.1.40310.2.2.3.1.10
280 - description: TBD
299 + description: The number of ethernet priority flow control traffic class 3 packets received on the interface
300 unit: "{packet}"
301 - name: cumulus.clIntOutPfc3Pkt
302 OID: 1.3.6.1.4.1.40310.2.2.3.1.11
284 - description: TBD
303 + description: The number of ethernet priority flow control traffic class 3 packets transmitted on the interface
304 unit: "{packet}"
305 - name: cumulus.clIntInPfc4Pkt
306 OID: 1.3.6.1.4.1.40310.2.2.3.1.12
288 - description: TBD
307 + description: The number of ethernet priority flow control traffic class 4 packets received on the interface
308 unit: "{packet}"
309 - name: cumulus.clIntOutPfc4Pkt
310 OID: 1.3.6.1.4.1.40310.2.2.3.1.13
292 - description: TBD
311 + description: The number of ethernet priority flow control traffic class 4 packets transmitted on the interface
312 unit: "{packet}"
313 - name: cumulus.clIntInPfc5Pkt
314 OID: 1.3.6.1.4.1.40310.2.2.3.1.14
296 - description: TBD
315 + description: The number of ethernet priority flow control traffic class 5 packets received on the interface
316 unit: "{packet}"
317 - name: cumulus.clIntOutPfc5Pkt
318 OID: 1.3.6.1.4.1.40310.2.2.3.1.15
300 - description: TBD
319 + description: The number of ethernet priority flow control traffic class 5 packets transmitted on the interface
320 unit: "{packet}"
321 - name: cumulus.clIntInPfc6Pkt
322 OID: 1.3.6.1.4.1.40310.2.2.3.1.16
304 - description: TBD
323 + description: The number of ethernet priority flow control traffic class 6 packets received on the interface
324 unit: "{packet}"
325 - name: cumulus.clIntOutPfc6Pkt
326 OID: 1.3.6.1.4.1.40310.2.2.3.1.17
308 - description: TBD
327 + description: The number of ethernet priority flow control traffic class 6 packets transmitted on the interface
328 unit: "{packet}"
329 - name: cumulus.clIntInPfc7Pkt
330 OID: 1.3.6.1.4.1.40310.2.2.3.1.18
312 - description: TBD
331 + description: The number of ethernet priority flow control traffic class 7 packets received on the interface
332 unit: "{packet}"
333 - name: cumulus.clIntOutPfc7Pkt
334 OID: 1.3.6.1.4.1.40310.2.2.3.1.19
316 - description: TBD
335 + description: The number of ethernet priority flow control traffic class 7 packets transmitted on the interface
336 unit: "{packet}"
337 metric_tags:
319 - - symbol:
338 + - tag: cl_int_pfc_index
339 + index: 1
340 + - tag: cumulus_cl_int_pfc_port_name
341 + symbol:
342 name: cumulus.clIntPfcPortName
343 OID: 1.3.6.1.4.1.40310.2.2.3.1.1
322 - tag: cumulus_cl_int_pfc_port_name
344 - MIB: CUMULUS-POE-MIB
345 symbol:
346 name: cumulus.poeTotalSystemPower
347 OID: 1.3.6.1.4.1.40310.3.1.1.0
327 - description: The total power available to the system, shown with 3 decimal place of precision (milliwatts)
348 + description: The total power available to the system
349 unit: "mW"
350 - MIB: CUMULUS-POE-MIB
351 symbol:
352 name: cumulus.poeTotalUsedPower
353 OID: 1.3.6.1.4.1.40310.3.1.2.0
333 - description: The total power USED by ports in the system, shown with 3 decimal places of precision (milliwatts)
354 + description: The total power USED by ports in the system
355 unit: "mW"
356 - MIB: CUMULUS-POE-MIB
357 symbol:
358 name: cumulus.poeTotalAvailablePower
359 OID: 1.3.6.1.4.1.40310.3.1.3.0
339 - description: The total UNUSED and available power for the system in the common pool for new devices, shown with 3 decimal places of precision (milliwatts)
360 + description: The total UNUSED and available power for the system in the common pool for new devices
361 unit: "mW"
362 - MIB: CUMULUS-POE-MIB
363 symbol:
src/go/plugin/go.d/config/go.d/snmp.profiles/default/nvidia-mellanox-switchx.yaml
+1 -1
@@ -60,4 +60,4 @@ metadata:
60 device:
61 fields:
62 type:
63 - value: "switch"
63 + value: "Switch"
src/go/plugin/go.d/config/go.d/snmp.profiles/default/nvidia.yaml
+1 -1
@@ -7,5 +7,5 @@ metadata:
7 device:
8 fields:
9 vendor:
10 - value: "nvidia"
10 + value: "NVIDIA"
11
src/go/plugin/go.d/config/go.d/snmp.profiles/default/omron-cj-ethernet-ip.yaml
+1 -1
@@ -6,7 +6,7 @@ metadata:
6 device:
7 fields:
8 vendor:
9 - value: "omron"
9 + value: "Omron"
10
11 sysobjectid:
12 - 1.3.6.1.4.1.16838.1.* # Omron
src/go/plugin/go.d/config/go.d/snmp.profiles/default/opengear-console-manager.yaml
+44 -40
@@ -4,10 +4,16 @@ extends:
4 - _std-if-mib.yaml
5 - _std-ucd-mib.yaml
6 - _opengear.yaml
7 +
8 sysobjectid:
9 - 1.3.6.1.4.1.25049.1.* # Open Gear Console Managers
10 - 1.3.6.1.4.1.25049.1.10 # CM41xx series Console Managers
11 - 1.3.6.1.4.1.25049.1.11 # CM71xx series Console Managers
12 +
13 +# OG-STATUSv2-MIB
14 +# https://mibbrowser.online/mibdb_search.php?mib=OG-STATUSv2-MIB
15 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/opengear/OG-STATUSv2-MIB
16 +
17 metrics:
18 - MIB: OG-STATUSv2-MIB
19 table:
@@ -24,100 +30,99 @@ metrics:
30 metric_type: monotonic_count
31 description: Number of bytes transmitted on the serial port
32 unit: "By"
27 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
33 metric_tags:
29 - - index: 1 # ogSerialPortIndex
30 - tag: og_serial_port_index
31 - - symbol:
34 + - tag: og_serial_port_index
35 + index: 1 # ogSerialPortIndex
36 + - tag: og_serial_port_label
37 + symbol:
38 name: ogSerialPortLabel
39 OID: 1.3.6.1.4.1.25049.17.2.1.2
34 - tag: og_serial_port_label
35 - - symbol:
40 + - tag: _og_serial_port_speed
41 + symbol:
42 name: ogSerialPortSpeed
43 OID: 1.3.6.1.4.1.25049.17.2.1.3
38 - tag: og_serial_port_speed
39 - - symbol:
44 + - tag: _og_serial_port_data_bits
45 + symbol:
46 name: ogSerialPortDataBits
47 OID: 1.3.6.1.4.1.25049.17.2.1.4
42 - tag: og_serial_port_data_bits
43 - - symbol:
48 + - tag: _og_serial_port_parity
49 + symbol:
50 name: ogSerialPortParity
51 OID: 1.3.6.1.4.1.25049.17.2.1.5
46 - tag: og_serial_port_parity
52 mapping:
53 1: none
54 2: odd
55 3: even
56 4: mark
57 5: space
53 - - symbol:
58 + - tag: _og_serial_port_stop_bits
59 + symbol:
60 name: ogSerialPortStopBits
61 OID: 1.3.6.1.4.1.25049.17.2.1.6
56 - tag: og_serial_port_stop_bits
62 mapping:
63 1: one
64 2: two
65 3: one_and_a_half
61 - - symbol:
66 + - tag: _og_serial_port_flow_control
67 + symbol:
68 name: ogSerialPortFlowControl
69 OID: 1.3.6.1.4.1.25049.17.2.1.7
64 - tag: og_serial_port_flow_control
70 mapping:
71 1: none
72 2: hardware
73 3: software
69 - - symbol:
74 + - tag: _og_serial_port_mode
75 + symbol:
76 name: ogSerialPortMode
77 OID: 1.3.6.1.4.1.25049.17.2.1.8
72 - tag: og_serial_port_mode
78 mapping:
79 1: none
80 2: console
81 3: sdt
82 4: terminal
83 5: bridge
79 - - symbol:
84 + - tag: _og_serial_port_log_level
85 + symbol:
86 name: ogSerialPortLogLevel
87 OID: 1.3.6.1.4.1.25049.17.2.1.9
82 - tag: og_serial_port_log_level
88 mapping:
89 1: disabled
90 2: connect
91 3: input_and_output
92 4: input_only
93 5: output_only
89 - - symbol:
94 + - tag: _og_serial_port_dcd
95 + symbol:
96 name: ogSerialPortDCD
97 OID: 1.3.6.1.4.1.25049.17.2.1.16
92 - tag: og_serial_port_dcd
98 mapping:
99 1: on
100 2: off
96 - - symbol:
101 + - tag: _og_serial_port_dtr
102 + symbol:
103 name: ogSerialPortDTR
104 OID: 1.3.6.1.4.1.25049.17.2.1.17
99 - tag: og_serial_port_dtr
105 mapping:
106 1: on
107 2: off
103 - - symbol:
108 + - tag: _og_serial_port_dsr
109 + symbol:
110 name: ogSerialPortDSR
111 OID: 1.3.6.1.4.1.25049.17.2.1.18
106 - tag: og_serial_port_dsr
112 mapping:
113 1: on
114 2: off
110 - - symbol:
115 + - tag: _og_serial_port_cts
116 + symbol:
117 name: ogSerialPortCTS
118 OID: 1.3.6.1.4.1.25049.17.2.1.19
113 - tag: og_serial_port_cts
119 mapping:
120 1: on
121 2: off
117 - - symbol:
122 + - tag: _og_serial_port_rts
123 + symbol:
124 name: ogSerialPortRTS
125 OID: 1.3.6.1.4.1.25049.17.2.1.20
120 - tag: og_serial_port_rts
126 mapping:
127 1: on
128 2: off
@@ -131,29 +136,28 @@ metrics:
136 metric_type: monotonic_count
137 description: Number of cell modem events counted
138 unit: "{event}"
134 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
139 metric_tags:
136 - - index: 1 # ogCellModemIndex
137 - tag: og_cell_modem_index
138 - - symbol:
140 + - tag: og_cell_modem_index
141 + index: 1 # ogCellModemIndex
142 + - tag: og_cell_modem_vendor
143 + symbol:
144 name: ogCellModemVendor
145 OID: 1.3.6.1.4.1.25049.17.17.1.2
141 - tag: og_cell_modem_vendor
142 - - symbol:
146 + - tag: og_cell_modem_model
147 + symbol:
148 name: ogCellModemModel
149 OID: 1.3.6.1.4.1.25049.17.17.1.3
145 - tag: og_cell_modem_model
146 - - symbol:
150 + - tag: _og_cell_modem_enabled
151 + symbol:
152 name: ogCellModemEnabled
153 OID: 1.3.6.1.4.1.25049.17.17.1.4
149 - tag: og_cell_modem_enabled
154 mapping:
155 1: enabled
156 2: disabled
153 - - symbol:
157 + - tag: _og_cell_modem_connected
158 + symbol:
159 OID: 1.3.6.1.4.1.25049.17.17.1.5
160 name: ogCellModemConnected
156 - tag: og_cell_modem_connected
161 mapping:
162 1: connected
163 2: disconnected
src/go/plugin/go.d/config/go.d/snmp.profiles/default/opengear-infrastructure-manager.yaml
+32 -20
@@ -2,9 +2,15 @@ extends:
2 - _std-if-mib.yaml
3 - _std-ucd-mib.yaml
4 - _opengear.yaml
5 +
6 sysobjectid:
7 - 1.3.6.1.4.1.25049.1.60 # IM4200
8 - 1.3.6.1.4.1.25049.1.61 # IM7200
9 +
10 +# OG-STATUS-MIB
11 +# https://mibbrowser.online/mibdb_search.php?mib=OG-STATUS-MIB
12 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/opengear/OG-STATUS-MIB
13 +
14 metrics:
15 - MIB: OG-STATUS-MIB
16 table:
@@ -23,50 +29,52 @@ metrics:
29 unit: "By"
30 # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
31 metric_tags:
26 - - symbol:
32 + - tag: serial_port_index
33 + index: 1
34 + - tag: _og_serial_port_status_port
35 + symbol:
36 name: ogSerialPortStatusPort
37 OID: 1.3.6.1.4.1.25049.16.1.1.2
29 - tag: og_serial_port_status_port
30 - - symbol:
38 + - tag: _og_serial_port_status_speed
39 + symbol:
40 name: ogSerialPortStatusSpeed
41 OID: 1.3.6.1.4.1.25049.16.1.1.5
33 - tag: og_serial_port_status_speed
34 - - symbol:
42 + - tag: _og_serial_port_status_label
43 + symbol:
44 name: ogSerialPortStatusLabel
45 OID: 1.3.6.1.4.1.25049.16.1.1.11
37 - tag: og_serial_port_status_label
38 - - symbol:
46 + - tag: _og_serial_port_status_dcd
47 + symbol:
48 OID: 1.3.6.1.4.1.25049.16.1.1.6
49 name: ogSerialPortStatusDCD
41 - tag: og_serial_port_status_dcd
50 mapping:
51 0: off
52 1: on
45 - - symbol:
53 + - tag: _og_serial_port_status_dtr
54 + symbol:
55 OID: 1.3.6.1.4.1.25049.16.1.1.7
56 name: ogSerialPortStatusDTR
48 - tag: og_serial_port_status_dtr
57 mapping:
58 0: off
59 1: on
52 - - symbol:
60 + - tag: _og_serial_port_status_dsr
61 + symbol:
62 OID: 1.3.6.1.4.1.25049.16.1.1.8
63 name: ogSerialPortStatusDSR
55 - tag: og_serial_port_status_dsr
64 mapping:
65 0: off
66 1: on
59 - - symbol:
67 + - tag: _og_serial_port_status_cts
68 + symbol:
69 OID: 1.3.6.1.4.1.25049.16.1.1.9
70 name: ogSerialPortStatusCTS
62 - tag: og_serial_port_status_cts
71 mapping:
72 0: off
73 1: on
66 - - symbol:
74 + - tag: _og_serial_port_status_rts
75 + symbol:
76 OID: 1.3.6.1.4.1.25049.16.1.1.10
77 name: ogSerialPortStatusRTS
69 - tag: og_serial_port_status_rts
78 mapping:
79 0: off
80 1: on
@@ -84,10 +92,12 @@ metrics:
92 description: Number of alerts triggered on the RPC
93 unit: "{alert}"
94 metric_tags:
87 - - symbol:
95 + - tag: og_rpc_index
96 + index: 1
97 + - tag: og_rpc_status_name
98 + symbol:
99 name: ogRpcStatusName
100 OID: 1.3.6.1.4.1.25049.16.3.1.2
90 - tag: og_rpc_status_name
101 - MIB: OG-STATUS-MIB
102 table:
103 name: ogEmdStatusTable
@@ -106,7 +116,9 @@ metrics:
116 description: Number of alerts triggered on the EMD
117 unit: "{alert}"
118 metric_tags:
109 - - symbol:
119 + - tag: og_emd_index
120 + index: 1
121 + - tag: og_emd_status_name
122 + symbol:
123 name: ogEmdStatusName
124 OID: 1.3.6.1.4.1.25049.16.4.1.2
112 - tag: og_emd_status_name