@cryptotaxi247 / netdata / commits / f764ea7a0

SNMP Profiles pass ep1 (#20641)

Co-authored-by: ilyam8 <ilya@netdata.cloud>

Fotis Voutsas committed Jul 8, 2025 at 22:15 UTC f764ea7a0373755042c3e30c187a65a2ecc2f822
17 files changed +269 -189
src/go/plugin/go.d/config/go.d/snmp.profiles/default/_hp-driver-stats.yaml
+14 -14
@@ -8,7 +8,7 @@ metrics:
8 - OID: 1.3.6.1.4.1.232.3.2.5.1.1.6
9 name: cpqDaPhyDrvStatus
10 chart_meta:
11 - family: "System/Disk/Status"
11 + family: 'System/Disk/Status'
12 description: The status of the physical drive
13 unit: "{status}"
14 mapping:
@@ -22,49 +22,49 @@ metrics:
22 - OID: 1.3.6.1.4.1.232.3.2.5.1.1.8
23 name: cpqDaPhyDrvUsedReallocs
24 chart_meta:
25 - family: "System/Disk/Reallocation/Used"
25 + family: 'System/Disk/Reallocation/Used'
26 description: Number of sectors of the reallocation area that have been used by the physical drive
27 unit: "{sector}"
28 - OID: 1.3.6.1.4.1.232.3.2.5.1.1.9
29 name: cpqDaPhyDrvRefHours
30 chart_meta:
31 - family: "System/Disk/Runtime"
31 + family: 'System/Disk/Runtime'
32 description: Total number of hours that a physical drive has been in operation since it was stamped
33 unit: "h"
34 - OID: 1.3.6.1.4.1.232.3.2.5.1.1.16
35 name: cpqDaPhyDrvHardReadErrs
36 chart_meta:
37 - family: "System/Disk/Error/Read/Hard"
37 + family: 'System/Disk/Error/Read/Hard'
38 description: Number of read errors that could not be recovered by a physical drive's ECC algorithm or retries
39 unit: "{error}"
40 - OID: 1.3.6.1.4.1.232.3.2.5.1.1.17
41 name: cpqDaPhyDrvRecvReadErrs
42 chart_meta:
43 - family: "System/Disk/Error/Read/Recovered"
43 + family: 'System/Disk/Error/Read/Recovered'
44 description: Number of read errors corrected through physical drive retries
45 unit: "{error}"
46 - OID: 1.3.6.1.4.1.232.3.2.5.1.1.18
47 name: cpqDaPhyDrvHardWriteErrs
48 chart_meta:
49 - family: "System/Disk/Error/Write/Hard"
49 + family: 'System/Disk/Error/Write/Hard'
50 description: Number of write errors that could not be recovered by a physical drive
51 unit: "{error}"
52 - OID: 1.3.6.1.4.1.232.3.2.5.1.1.19
53 name: cpqDaPhyDrvRecvWriteErrs
54 chart_meta:
55 - family: "System/Disk/Error/Write/Recovered"
55 + family: 'System/Disk/Error/Write/Recovered'
56 description: Number of write errors corrected through physical drive retries or recovered by a physical drive
57 unit: "{error}"
58 - OID: 1.3.6.1.4.1.232.3.2.5.1.1.20
59 name: cpqDaPhyDrvHSeekErrs
60 chart_meta:
61 - family: "System/Disk/Error/Seek/High"
61 + family: 'System/Disk/Error/Seek/High'
62 description: Total number of times the physical disk drive detected a seek error (high)
63 unit: "{error}"
64 - OID: 1.3.6.1.4.1.232.3.2.5.1.1.21
65 name: cpqDaPhyDrvSeekErrs
66 chart_meta:
67 - family: "System/Disk/Error/Seek/Low"
67 + family: 'System/Disk/Error/Seek/Low'
68 description: Total number of times the physical disk drive detected a seek error (low)
69 unit: "{error}"
70 metric_tags:
@@ -85,26 +85,26 @@ metrics:
85 - OID: 1.3.6.1.4.1.232.3.2.5.1.1.7
86 name: cpqDaPhyDrvFactReallocs
87 chart_meta:
88 - family: "System/Disk/Reallocation/Factory"
88 + family: 'System/Disk/Reallocation/Factory'
89 description: Number of spare sectors available for remapping at the time the physical drive was shipped
90 unit: "{sector}"
91 - OID: 1.3.6.1.4.1.232.3.2.5.1.1.22
92 name: cpqDaPhyDrvSpinupTime
93 chart_meta:
94 - family: "System/Disk/Spinup/Time"
94 + family: 'System/Disk/Spinup/Time'
95 description: Time it takes for a physical drive to spin up to full speed in tenths of seconds
96 unit: "ds"
97 - OID: 1.3.6.1.4.1.232.3.2.5.1.1.45
98 name: cpqDaPhyDrvSize
99 scale_factor: 1048576 # MB => bytes
100 chart_meta:
101 - family: "System/Disk/Capacity"
101 + family: 'System/Disk/Capacity'
102 description: Size of the physical drive in megabytes
103 unit: "By"
104 - OID: 1.3.6.1.4.1.232.3.2.5.1.1.57
105 name: cpqDaPhyDrvSmartStatus
106 chart_meta:
107 - family: "System/Disk/SMART/Status"
107 + family: 'System/Disk/SMART/Status'
108 description: S.M.A.R.T status of the physical drive
109 unit: "{status}"
110 mapping:
@@ -114,7 +114,7 @@ metrics:
114 - OID: 1.3.6.1.4.1.232.3.2.5.1.1.70
115 name: cpqDaPhyDrvCurrentTemperature
116 chart_meta:
117 - family: "Hardware/Disk/Temperature/Value"
117 + family: 'Hardware/Disk/Temperature/Value'
118 description: Temperature of the physical drive in degrees Celsius
119 unit: "Cel"
120 metric_tags:
src/go/plugin/go.d/config/go.d/snmp.profiles/default/_intel-lan-adapters.yaml
+10 -10
@@ -10,61 +10,61 @@ metrics:
10 - OID: 1.3.6.1.4.1.343.2.7.2.2.1.3.1.1
11 name: adapterRxPackets
12 chart_meta:
13 - family: "Network/Interface/Packet/Total/In"
13 + family: 'Network/Interface/Packet/Total/In'
14 description: Total number of packets received
15 unit: "{packet}/s"
16 - OID: 1.3.6.1.4.1.343.2.7.2.2.1.3.1.2
17 name: adapterTxPackets
18 chart_meta:
19 - family: "Network/Interface/Packet/Total/Out"
19 + family: 'Network/Interface/Packet/Total/Out'
20 description: Total number of packets transmitted
21 unit: "{packet}/s"
22 - OID: 1.3.6.1.4.1.343.2.7.2.2.1.3.1.3
23 name: adapterRxBytes
24 chart_meta:
25 - family: "Network/Interface/Traffic/Total/In"
25 + family: 'Network/Interface/Traffic/Total/In'
26 description: Total number of bytes received
27 unit: "By/s"
28 - OID: 1.3.6.1.4.1.343.2.7.2.2.1.3.1.4
29 name: adapterTxBytes
30 chart_meta:
31 - family: "Network/Interface/Traffic/Total/Out"
31 + family: 'Network/Interface/Traffic/Total/Out'
32 description: Total number of bytes transmitted
33 unit: "By/s"
34 - OID: 1.3.6.1.4.1.343.2.7.2.2.1.3.1.5
35 name: adapterRxErrors
36 chart_meta:
37 - family: "Network/Interface/Error/Total/In"
37 + family: 'Network/Interface/Error/Total/In'
38 description: Total number of packets received with errors (packets that failed to reach the protocol)
39 unit: "{error}/s"
40 - OID: 1.3.6.1.4.1.343.2.7.2.2.1.3.1.6
41 name: adapterTxErrors
42 chart_meta:
43 - family: "Network/Interface/Error/Total/Out"
43 + family: 'Network/Interface/Error/Total/Out'
44 description: Total number of packets that failed to transmit
45 unit: "{error}/s"
46 - OID: 1.3.6.1.4.1.343.2.7.2.2.1.3.1.7
47 name: adapterRxDropped
48 chart_meta:
49 - family: "Network/Interface/Dropped/In"
49 + family: 'Network/Interface/Dropped/In'
50 description: Total number of receive packets dropped due to overrun
51 unit: "{drop}/s"
52 - OID: 1.3.6.1.4.1.343.2.7.2.2.1.3.1.8
53 name: adapterTxDropped
54 chart_meta:
55 - family: "Network/Interface/Dropped/Out"
55 + family: 'Network/Interface/Dropped/Out'
56 description: Total number of transmit packets dropped due to successive collisions
57 unit: "{drop}/s"
58 - OID: 1.3.6.1.4.1.343.2.7.2.2.1.3.1.9
59 name: adapterRxMulticast
60 chart_meta:
61 - family: "Network/Interface/Multicast/In"
61 + family: 'Network/Interface/Multicast/In'
62 description: Total number of Multicast packets received
63 unit: "{packet}/s"
64 - OID: 1.3.6.1.4.1.343.2.7.2.2.1.3.1.10
65 name: adapterCollisions
66 chart_meta:
67 - family: "Network/Interface/Error/Collision/Count"
67 + family: 'Network/Interface/Error/Collision/Count'
68 description: Total number of single collisions
69 unit: "{collision}/s"
70 metric_tags:
src/go/plugin/go.d/config/go.d/snmp.profiles/default/dell-poweredge.yaml
+1 -1
@@ -99,7 +99,7 @@ metrics:
99 name: systemStatePowerSupplyStatusCombined
100 chart_meta:
101 description: Current administrative state of the interface
102 - family: ''
102 + family: ' ''
103 unit: "{status}"
104 mapping:
105 1: other
src/go/plugin/go.d/config/go.d/snmp.profiles/default/synology-disk-station.yaml
+105 -65
@@ -8,20 +8,48 @@ metadata:
8 device:
9 fields:
10 vendor:
11 - value: "synology"
11 + value: "Synology"
12 type:
13 - value: "storage"
13 + value: "Storage"
14
15 -metric_tags:
16 - - tag: synology_model_name
17 - OID: 1.3.6.1.4.1.6574.1.5.1.0
18 - symbol: modelName
19 - - tag: synology_serial_number
20 - OID: 1.3.6.1.4.1.6574.1.5.2.0
21 - symbol: serialNumber
22 - - tag: synology_version
23 - OID: 1.3.6.1.4.1.6574.1.5.3.0
24 - symbol: version
15 +# UCD-SNMP-MIB
16 +# https://mibbrowser.online/mibdb_search.php?mib=UCD-SNMP-MIB
17 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/net-snmp/UCD-SNMP-MIB
18 +
19 +# HOST-RESOURCES-MIB
20 +# https://mibbrowser.online/mibdb_search.php?mib=HOST-RESOURCES-MIB
21 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/rfc/HOST-RESOURCES-MIB
22 +
23 +# SYNOLOGY-SYSTEM-MIB
24 +# https://mibbrowser.online/mibdb_search.php?mib=SYNOLOGY-SYSTEM-MIB
25 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/synology/SYNOLOGY-SYSTEM-MIB
26 +
27 +# SYNOLOGY-DISK-MIB
28 +# https://mibbrowser.online/mibdb_search.php?mib=SYNOLOGY-DISK-MIB
29 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/synology/SYNOLOGY-DISK-MIB
30 +
31 +# SYNOLOGY-RAID-MIB
32 +# https://mibbrowser.online/mibdb_search.php?mib=SYNOLOGY-RAID-MIB
33 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/synology/SYNOLOGY-RAID-MIB
34 +
35 +# SYNOLOGY-SMART-MIB
36 +# https://mibbrowser.online/mibdb_search.php?mib=SYNOLOGY-SMART-MIB
37 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/synology/SYNOLOGY-SMART-MIB
38 +
39 +# SYNOLOGY-SERVICES-MIB
40 +# https://mibbrowser.online/mibdb_search.php?mib=SYNOLOGY-SERVICES-MIB
41 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/synology/SYNOLOGY-SERVICES-MIB
42 +
43 +# SYNOLOGY-STORAGEIO-MIB
44 +# https://mibbrowser.online/mibdb_search.php?mib=SYNOLOGY-STORAGEIO-MIB
45 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/synology/SYNOLOGY-STORAGEIO-MIB
46 +
47 +# SYNOLOGY-SPACEIO-MIB
48 +# https://mibbrowser.online/mibdb_search.php?mib=SYNOLOGY-SPACEIO-MIB
49 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/synology/SYNOLOGY-SPACEIO-MIB
50 +
51 +# SYNOLOGY-GPUINFO-MIB
52 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/synology/SYNOLOGY-GPUINFO-MIB
53
54 metrics:
55 - MIB: UCD-SNMP-MIB
@@ -29,33 +57,34 @@ metrics:
57 name: cpu.usage
58 OID: 1.3.6.1.4.1.2021.10.1.5.1
59 chart_meta:
32 - description: The 1,5 and 15 minute load averages as an integer
60 + description: The 1,5 and 15 minute load averages
61 family: 'CPU/Load'
62 unit: "{load_average}"
35 - - MIB: HOST-RESOURCES-MIB
36 - symbol:
37 - name: memory.total
38 - OID: 1.3.6.1.2.1.25.2.3.1.6.1 # hrStorageUsed.1 = Physical memory
39 - chart_meta:
40 - description: The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits
41 - family: 'Memory/Used'
42 - unit: "By"
43 - - MIB: HOST-RESOURCES-MIB
44 - symbol:
45 - OID: 1.3.6.1.2.1.25.2.3.1.6.6 # hrStorageUsed.6 = Memory buffers
46 - name: hrMemoryBuffers
47 - chart_meta:
48 - description: The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits
49 - family: 'Memory/Buffer'
50 - unit: "By"
51 - - MIB: HOST-RESOURCES-MIB
52 - symbol:
53 - OID: 1.3.6.1.2.1.25.2.3.1.6.7 # hrStorageUsed.7 = Cached memory
54 - name: hrCachedMemory
55 - chart_meta:
56 - description: The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits
57 - family: 'Memory/Cache'
58 - unit: "By"
63 + # TODO support for units like this is not yet implemented
64 + # - MIB: HOST-RESOURCES-MIB
65 + # symbol:
66 + # name: memory.total
67 + # OID: 1.3.6.1.2.1.25.2.3.1.6.1 # hrStorageUsed.1 = Physical memory
68 + # chart_meta:
69 + # description: The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits
70 + # family: "Memory/Used"
71 + # unit: "By"
72 + # - MIB: HOST-RESOURCES-MIB
73 + # symbol:
74 + # OID: 1.3.6.1.2.1.25.2.3.1.6.6 # hrStorageUsed.6 = Memory buffers
75 + # name: hrMemoryBuffers
76 + # chart_meta:
77 + # description: The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits
78 + # family: "Memory/Buffer"
79 + # unit: "By"
80 + # - MIB: HOST-RESOURCES-MIB
81 + # symbol:
82 + # OID: 1.3.6.1.2.1.25.2.3.1.6.7 # hrStorageUsed.7 = Cached memory
83 + # name: hrCachedMemory
84 + # chart_meta:
85 + # description: The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits
86 + # family: "Memory/Cache"
87 + # unit: "By"
88 - MIB: SYNOLOGY-SYSTEM-MIB
89 symbol:
90 name: synology.system.systemStatus
@@ -72,7 +101,7 @@ metrics:
101 name: synology.system.temperature
102 OID: 1.3.6.1.4.1.6574.1.2.0
103 chart_meta:
75 - description: The temperature of Disk Station uses Celsius degree
104 + description: The temperature of Disk Station
105 family: 'System/Temperature/Value'
106 unit: "Cel"
107 - MIB: SYNOLOGY-SYSTEM-MIB
@@ -84,9 +113,8 @@ metrics:
113 family: 'Power/Status'
114 unit: "{status}"
115 mapping:
87 - normal: 1
88 - failed: 2
89 -
116 + 1: normal
117 + 2: failed
118 - MIB: SYNOLOGY-SYSTEM-MIB
119 symbol:
120 name: synology.system.systemFanStatus
@@ -96,9 +124,8 @@ metrics:
124 family: 'Fan/System/Status'
125 unit: "{status}"
126 mapping:
99 - normal: 1
100 - failed: 2
101 -
127 + 1: normal
128 + 2: failed
129 - MIB: SYNOLOGY-SYSTEM-MIB
130 symbol:
131 name: synology.system.cpuFanStatus
@@ -108,9 +135,8 @@ metrics:
135 family: 'Fan/CPU/Status'
136 unit: "{status}"
137 mapping:
111 - normal: 1
112 - failed: 2
113 -
138 + 1: normal
139 + 2: failed
140 - MIB: SYNOLOGY-SYSTEM-MIB
141 symbol:
142 name: synology.system.upgradeAvailable
@@ -120,12 +146,11 @@ metrics:
146 family: 'System/Upgrade/Status'
147 unit: "{status}"
148 mapping:
123 - available: 1
124 - unavailable: 2
125 - connecting: 3
126 - disconnected: 4
127 - others: 5
128 -
149 + 1: available
150 + 2: unavailable
151 + 3: connecting
152 + 4: disconnected
153 + 5: others
154 - MIB: SYNOLOGY-DISK-MIB
155 table:
156 name: diskTable
@@ -162,7 +187,6 @@ metrics:
187 symbol:
188 name: synology.diskType
189 OID: 1.3.6.1.4.1.6574.2.1.1.4
165 -
190 - MIB: SYNOLOGY-RAID-MIB
191 table:
192 name: raidTable
@@ -212,11 +236,12 @@ metrics:
236 21: raid_unknown_status
237 # full list of mappings here https://global.download.synology.com/download/Document/Software/DeveloperGuide/Firmware/DSM/All/enu/Synology_DiskStation_MIB_Guide.pdf
238 metric_tags:
239 + - tag: raid_index
240 + index: 1
241 - tag: synology_raid_name
242 symbol:
243 name: synology.raid.raidName
244 OID: 1.3.6.1.4.1.6574.3.1.1.2
219 -
245 - MIB: SYNOLOGY-SMART-MIB
246 table:
247 name: diskSMARTTable
@@ -235,11 +260,11 @@ metrics:
260 family: 'Disk/SMART/Threshold'
261 unit: "1"
262 metric_tags:
238 - - tag: synology_disk_smart_info_dev_name
263 + - tag: _synology_disk_smart_info_dev_name
264 symbol:
265 name: synology.diskSMARTInfoDevName
266 OID: 1.3.6.1.4.1.6574.5.1.1.2
242 - - tag: synology_disk_smart_attr_name
267 + - tag: _synology_disk_smart_attr_name
268 symbol:
269 name: synology.diskSMARTAttrName
270 OID: 1.3.6.1.4.1.6574.5.1.1.3
@@ -265,11 +290,12 @@ metrics:
290 family: 'Service/User/Active'
291 unit: "{user}"
292 metric_tags:
293 + - tag: service_index
294 + index: 1
295 - tag: synology_service_name
296 symbol:
297 name: synology.serviceName
298 OID: 1.3.6.1.4.1.6574.6.1.1.2
272 -
299 - MIB: SYNOLOGY-STORAGEIO-MIB
300 table:
301 name: synology.storageIO
@@ -290,7 +316,7 @@ metrics:
316 - name: synology.storageIOLA
317 OID: 1.3.6.1.4.1.6574.101.1.1.8
318 chart_meta:
293 - description: The load of disk (%)
319 + description: The load of disk
320 family: 'Storage/IO/Load'
321 unit: "%"
322 - name: synology.storageIONReadX
@@ -306,11 +332,12 @@ metrics:
332 family: 'Storage/IO/Throughput/Write'
333 unit: "By/s"
334 metric_tags:
335 + - tag: storage_io_device_index
336 + index: 1
337 - tag: synology_storage_io_device
338 symbol:
339 name: synology.storageIODevice
340 OID: 1.3.6.1.4.1.6574.101.1.1.2
313 -
341 - MIB: SYNOLOGY-SPACEIO-MIB
342 table:
343 name: synology.spaceIO
@@ -331,7 +358,7 @@ metrics:
358 - name: synology.spaceIOLA
359 OID: 1.3.6.1.4.1.6574.102.1.1.8
360 chart_meta:
334 - description: The load of disk (%)
361 + description: The load of disk
362 family: 'Volume/IO/Load'
363 unit: "%"
364 - name: synology.spaceIONReadX
@@ -347,6 +374,8 @@ metrics:
374 family: 'Volume/IO/Throughput/Write'
375 unit: "By/s"
376 metric_tags:
377 + - tag: space_io_device_index
378 + index: 1
379 - tag: synology_space_io_device
380 symbol:
381 name: synology.spaceIODevice
@@ -361,14 +390,14 @@ metrics:
390 family: 'GPU/Support/Status'
391 unit: "{status}"
392 mapping:
364 - supported: 0
365 - unsupported: 1
393 + 0: supported
394 + 1: unsupported
395 - MIB: SYNOLOGY-GPUINFO-MIB
396 symbol:
397 name: synology.gpuUtilization
398 OID: 1.3.6.1.4.1.6574.108.2.0
399 chart_meta:
371 - description: GPU utilization percentage
400 + description: GPU utilization
401 family: 'GPU/Usage'
402 unit: "%"
403 - MIB: SYNOLOGY-GPUINFO-MIB
@@ -376,6 +405,17 @@ metrics:
405 name: synology.gpuMemoryUtilization
406 OID: 1.3.6.1.4.1.6574.108.3.0
407 chart_meta:
379 - description: GPU memory utilization percentage
408 + description: GPU memory utilization
409 family: 'GPU/Memory/Usage'
410 unit: "%"
411 +
412 +metric_tags:
413 + - tag: _synology_model_name
414 + OID: 1.3.6.1.4.1.6574.1.5.1.0
415 + symbol: modelName
416 + - tag: _synology_serial_number
417 + OID: 1.3.6.1.4.1.6574.1.5.2.0
418 + symbol: serialNumber
419 + - tag: _synology_version
420 + OID: 1.3.6.1.4.1.6574.1.5.3.0
421 + symbol: version
src/go/plugin/go.d/config/go.d/snmp.profiles/default/tp-link.yaml
+8 -4
@@ -3,8 +3,8 @@ extends:
3 - _std-if-mib.yaml
4
5 sysobjectid:
6 - - 1.3.6.1.4.1.11863.1.* # TP-Link switch
7 - - 1.3.6.1.4.1.11863.5.* # TP-Link products
6 + - 1.3.6.1.4.1.11863.1.* # TP-Link switch
7 + - 1.3.6.1.4.1.11863.5.* # TP-Link products
8
9 metadata:
10 device:
@@ -12,6 +12,10 @@ metadata:
12 vendor:
13 value: "TP-Link"
14
15 +# TPLINK-SYSMONITOR-MIB
16 +# https://mibbrowser.online/mibdb_search.php?mib=TPLINK-SYSMONITOR-MIB
17 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/tplink/TPLINK-SYSMONITOR-MIB
18 +
19 metrics:
20 - MIB: TPLINK-SYSMONITOR-MIB
21 table:
@@ -26,7 +30,7 @@ metrics:
30 unit: "%"
31 metric_tags:
32 - tag: cpu_index
29 - index: 1 # tpSysMonitorCpuUnitNumber
33 + index: 1 # tpSysMonitorCpuUnitNumber
34
35 - MIB: TPLINK-SYSMONITOR-MIB
36 table:
@@ -41,4 +45,4 @@ metrics:
45 unit: "%"
46 metric_tags:
47 - tag: mem_index
44 - index: 1 # tpSysMonitorMemoryUnitNumber
48 + index: 1 # tpSysMonitorMemoryUnitNumber
src/go/plugin/go.d/config/go.d/snmp.profiles/default/tripplite-pdu.yaml
+10 -7
@@ -2,7 +2,7 @@ extends:
2 - tripplite.yaml
3
4 sysobjectid:
5 - - 1.3.6.1.4.1.850.1.1.1 # Tripp Lite PDU
5 + - 1.3.6.1.4.1.850.1.1.1 # Tripp Lite PDU
6
7 metadata:
8 device:
@@ -10,7 +10,10 @@ metadata:
10 type:
11 value: "PDU"
12
13 +# TRIPPLITE-PRODUCTS
14 # https://mibbrowser.online/mibdb_search.php?mib=TRIPPLITE-PRODUCTS
15 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/tripplite/TRIPPLITE-PRODUCTS
16 +
17 metrics:
18 - MIB: TRIPPLITE-PRODUCTS
19 table:
@@ -139,9 +142,9 @@ metrics:
142 # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
143 metric_tags:
144 - tag: tlp_device_index
142 - index: 1 # tlpDeviceIndex
145 + index: 1 # tlpDeviceIndex
146 - tag: tlp_pdu_output_index
144 - index: 2 # tlpPduOutputIndex
147 + index: 2 # tlpPduOutputIndex
148 - tag: tlp_pdu_output_phase
149 symbol:
150 OID: 1.3.6.1.4.1.850.1.1.3.2.3.2.1.1.2
@@ -214,9 +217,9 @@ metrics:
217 2: not_installed
218 metric_tags:
219 - tag: tlp_device_index
217 - index: 1 # tlpDeviceIndex
220 + index: 1 # tlpDeviceIndex
221 - tag: tlp_pdu_breaker_index
219 - index: 2 # tlpPduBreakerIndex
222 + index: 2 # tlpPduBreakerIndex
223 - symbol:
224 OID: 1.3.6.1.4.1.850.1.1.3.2.3.5.1.1.2
225 name: tlpPduBreakerStatus
@@ -260,8 +263,8 @@ metrics:
263 2: acknowledged
264 metric_tags:
265 - tag: tlp_alarm_index
263 - index: 1 # tlpAlarmId
266 + index: 1 # tlpAlarmId
267 - tag: _tlp_alarm_descr
268 symbol:
269 OID: 1.3.6.1.4.1.850.1.3.2.1.2
267 - name: tlpAlarmDescr\
270 + name: tlpAlarmDescr
src/go/plugin/go.d/config/go.d/snmp.profiles/default/tripplite-ups.yaml
+29 -26
@@ -3,7 +3,7 @@ extends:
3 - tripplite.yaml
4
5 sysobjectid:
6 - - 1.3.6.1.4.1.850.1.1.3.1 # tlpHardware.tlpDeviceTypes.tlpUps
6 + - 1.3.6.1.4.1.850.1.1.3.1 # tlpHardware.tlpDeviceTypes.tlpUps
7
8 metadata:
9 device:
@@ -11,21 +11,10 @@ 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 -
14 +# TRIPPLITE-12X
15 # https://mibbrowser.online/mibdb_search.php?mib=TRIPPLITE-12X
16 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/tripplite/TRIPPLITE-12X
17 +
18 metrics:
19 - MIB: TRIPPLITE-12X
20 symbol:
@@ -36,10 +25,10 @@ metrics:
25 family: 'Hardware/Outlet/Main/Status'
26 unit: "{status}"
27 mapping:
39 - unknown: 0
40 - off: 1
41 - on: 2
42 - mixed: 3
28 + 0: unknown
29 + 1: off
30 + 2: on
31 + 3: mixed
32 - MIB: TRIPPLITE-12X
33 symbol:
34 OID: 1.3.6.1.4.1.850.100.1.13.1.0
@@ -51,7 +40,7 @@ metrics:
40 - MIB: TRIPPLITE-12X
41 symbol:
42 OID: 1.3.6.1.4.1.850.100.1.2.1.0
54 - name: tlUpsBatteryAge # The age of the battery in years.
43 + name: tlUpsBatteryAge # The age of the battery in years.
44 chart_meta:
45 description: The age of the battery in years
46 family: 'Hardware/Battery/Age/Internal'
@@ -67,7 +56,7 @@ metrics:
56 - MIB: TRIPPLITE-12X
57 symbol:
58 OID: 1.3.6.1.4.1.850.100.1.2.3.0
70 - name: tlUpsExternalBatteryAge # The age of the battery in years.
59 + name: tlUpsExternalBatteryAge # The age of the battery in years.
60 chart_meta:
61 description: The age of external battery in years
62 family: 'Hardware/Battery/Age/External'
@@ -95,7 +84,7 @@ metrics:
84 OID: 1.3.6.1.4.1.850.101.1.1.1.0
85 name: tlEnvTemperatureC
86 chart_meta:
98 - description: The ambient temperature (C)
87 + description: The ambient temperature
88 family: 'Environment/Temperature/Value'
89 unit: "Cel"
90 - MIB: TRIPPLITE-12X
@@ -103,7 +92,7 @@ metrics:
92 OID: 1.3.6.1.4.1.850.101.1.1.2.0
93 name: tlEnvTemperatureF
94 chart_meta:
106 - description: The ambient temperature (F)
95 + description: The ambient temperature
96 family: 'Environment/Temperature/Value'
97 unit: "degF"
98 - MIB: TRIPPLITE-12X
@@ -122,7 +111,7 @@ metrics:
111 OID: 1.3.6.1.4.1.850.101.1.2.1.0
112 name: tlEnvHumidity
113 chart_meta:
125 - description: The ambient humidity (%)
114 + description: The ambient humidity
115 family: 'Environment/Humidity/Value'
116 unit: "%"
117 - MIB: TRIPPLITE-12X
@@ -187,7 +176,7 @@ metrics:
176 metric_tags:
177 - tag: tl_ups_output_circuit_index
178 index: 1
190 - - tag: tl_ups_output_circuit_status
179 + - tag: _tl_ups_output_circuit_status
180 symbol:
181 OID: 1.3.6.1.4.1.850.100.1.4.7.1.2
182 name: tlUpsOutputCircuitStatus
@@ -213,7 +202,7 @@ metrics:
202 symbol:
203 OID: 1.3.6.1.4.1.850.101.2.1.1.2
204 name: tlEnvContactName
216 - - tag: tl_env_contact_config
205 + - tag: _tl_env_contact_config
206 symbol:
207 OID: 1.3.6.1.4.1.850.101.2.1.1.4
208 name: tlEnvContactConfig
@@ -246,3 +235,17 @@ metrics:
235 symbol:
236 OID: 1.3.6.1.4.1.850.100.1.11.2.1.4
237 name: tlUpsOutletGroupDesc
238 +
239 +metric_tags:
240 + - tag: _tl_ups_ident_serial_num
241 + OID: 1.3.6.1.4.1.850.100.1.1.2.0
242 + symbol: tlUpsIdentSerialNum
243 + - OID: 1.3.6.1.4.1.850.100.1.1.3.0
244 + symbol: tlUpsIdentID
245 + tag: tl_ups_ident_id
246 + - OID: 1.3.6.1.4.1.850.100.1.1.4.0
247 + symbol: _tlUpsSnmpCardSerialNum
248 + tag: tl_ups_snmp_card_serial_num
249 + - OID: 1.3.6.1.4.1.850.100.1.1.6.0
250 + symbol: tlUpsLocation
251 + tag: tl_ups_location
src/go/plugin/go.d/config/go.d/snmp.profiles/default/tripplite.yaml
+2 -2
@@ -5,7 +5,7 @@ metadata:
5 device:
6 fields:
7 vendor:
8 - value: "tripplite"
8 + value: "Tripp Lite"
9
10 sysobjectid:
11 - - 1.3.6.1.4.1.850.1.* # tlpProducts: all tripplite products
11 + - 1.3.6.1.4.1.850.1.* # tlpProducts: all tripplite products
src/go/plugin/go.d/config/go.d/snmp.profiles/default/ubiquiti-unifi.yaml
+8
@@ -5,6 +5,14 @@ extends:
5 sysobjectid:
6 - 1.3.6.1.4.1.41112 # Ubiquiti Networks, Inc.
7
8 +# FROGFOOT-RESOURCES-MIB
9 +# https://mibbrowser.online/mibdb_search.php?mib=FROGFOOT-RESOURCES-MIB
10 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/ubiquiti/FROGFOOT-RESOURCES-MIB
11 +
12 +# UBNT-UniFi-MIB
13 +# https://mibbrowser.online/mibdb_search.php?mib=UBNT-UniFi-MIB
14 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/ubiquiti/UBNT-UniFi-MIB
15 +
16 metrics:
17 - MIB: FROGFOOT-RESOURCES-MIB
18 symbol:
src/go/plugin/go.d/config/go.d/snmp.profiles/default/velocloud-edge.yaml
+2 -2
@@ -7,9 +7,9 @@ metadata:
7 device:
8 fields:
9 vendor:
10 - value: "velocloud"
10 + value: "VeloCloud"
11 type:
12 value: "SD-WAN"
13
14 sysobjectid:
15 - - 1.3.6.1.4.1.45346.1.1 # VeloCloud EDGE
15 + - 1.3.6.1.4.1.45346.1.1 # VeloCloud EDGE
src/go/plugin/go.d/config/go.d/snmp.profiles/default/vertiv-liebert-ac.yaml
+11 -7
@@ -4,13 +4,9 @@ extends:
4 sysobjectid:
5 - 1.3.6.1.4.1.476.1.42 # liebertGlobalProducts
6
7 -metric_tags:
8 - - tag: lgp_agent_ident_model
9 - OID: 1.3.6.1.4.1.476.1.42.2.1.2.0
10 - symbol: lgpAgentIdentModel
11 - - tag: lgp_agent_ident_serial_number
12 - OID: 1.3.6.1.4.1.476.1.42.2.1.4.0
13 - symbol: lgpAgentIdentSerialNumber
7 +# LIEBERT-GP-ENVIRONMENTAL-MIB
8 +# https://mibbrowser.online/mibdb_search.php?mib=LIEBERT-GP-ENVIRONMENTAL-MIB
9 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/liebert/LIEBERT-GP-ENVIRONMENTAL-MIB
10
11 metrics:
12 - MIB: LIEBERT-GP-ENVIRONMENTAL-MIB
@@ -122,3 +118,11 @@ metrics:
118 description: Accumulated run hours of reheat element 3
119 family: 'Component/Reheat/3/Runtime'
120 unit: "h"
121 +
122 +metric_tags:
123 + - tag: lgp_agent_ident_model
124 + OID: 1.3.6.1.4.1.476.1.42.2.1.2.0
125 + symbol: lgpAgentIdentModel
126 + - tag: _lgp_agent_ident_serial_number
127 + OID: 1.3.6.1.4.1.476.1.42.2.1.4.0
128 + symbol: lgpAgentIdentSerialNumber
src/go/plugin/go.d/config/go.d/snmp.profiles/default/vertiv-watchdog.yaml
+19 -16
@@ -8,21 +8,10 @@ metadata:
8 device:
9 fields:
10 type:
11 - value: "sensor"
11 + value: "Sensor"
12
13 -metric_tags:
14 - - tag: vertiv_product_title
15 - OID: 1.3.6.1.4.1.21239.5.1.1.1.0
16 - symbol: productTitle
17 - - tag: vertiv_product_version
18 - OID: 1.3.6.1.4.1.21239.5.1.1.2.0
19 - symbol: productVersion
20 - - tag: vertiv_product_friendly_name
21 - OID: 1.3.6.1.4.1.21239.5.1.1.3.0
22 - symbol: productFriendlyName
23 - - tag: vertiv_product_mac_address
24 - OID: 1.3.6.1.4.1.21239.5.1.1.4.0
25 - symbol: productMacAddress
13 +# VERTIV-BB-MIB
14 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/geist/VERTIV-BB-MIB
15
16 metrics:
17 - MIB: VERTIV-BB-MIB
@@ -61,7 +50,7 @@ metrics:
50 metric_tags:
51 - tag: vertiv_internal_index
52 index: 1
64 - - tag: vertiv_internal_serial
53 + - tag: _vertiv_internal_serial
54 symbol:
55 OID: 1.3.6.1.4.1.21239.5.1.2.1.2
56 name: vertiv.internalSerial
@@ -90,7 +79,7 @@ metrics:
79 metric_tags:
80 - tag: vertiv_sensor_index
81 index: 1
93 - - tag: vertiv_temp_sensor_serial
82 + - tag: _vertiv_temp_sensor_serial
83 symbol:
84 OID: 1.3.6.1.4.1.21239.5.1.4.1.2
85 name: vertiv.tempSensorSerial
@@ -98,3 +87,17 @@ metrics:
87 symbol:
88 OID: 1.3.6.1.4.1.21239.5.1.4.1.3
89 name: vertiv.tempSensorLabel
90 +
91 +metric_tags:
92 + - tag: vertiv_product_title
93 + OID: 1.3.6.1.4.1.21239.5.1.1.1.0
94 + symbol: productTitle
95 + - tag: vertiv_product_version
96 + OID: 1.3.6.1.4.1.21239.5.1.1.2.0
97 + symbol: productVersion
98 + - tag: vertiv_product_friendly_name
99 + OID: 1.3.6.1.4.1.21239.5.1.1.3.0
100 + symbol: productFriendlyName
101 + - tag: _vertiv_product_mac_address
102 + OID: 1.3.6.1.4.1.21239.5.1.1.4.0
103 + symbol: productMacAddress
src/go/plugin/go.d/config/go.d/snmp.profiles/default/vmware-esx.yaml
+10 -2
@@ -10,9 +10,17 @@ metadata:
10 device:
11 fields:
12 vendor:
13 - value: "vmware"
13 + value: "VMware"
14 type:
15 - value: "server"
15 + value: "Server"
16 +
17 +# VMWARE-RESOURCES-MIB
18 +# https://mibbrowser.online/mibdb_search.php?mib=VMWARE-RESOURCES-MIB
19 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/vmware/VMWARE-RESOURCES-MIB
20 +
21 +# VMWARE-ENV-MIB
22 +# https://mibbrowser.online/mibdb_search.php?mib=VMWARE-ENV-MIB
23 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/vmware/VMWARE-ENV-MIB
24
25 metrics:
26 - MIB: VMWARE-RESOURCES-MIB
src/go/plugin/go.d/config/go.d/snmp.profiles/default/watchguard.yaml
+2 -2
@@ -10,6 +10,6 @@ metadata:
10 device:
11 fields:
12 vendor:
13 - value: "watchguard"
13 + value: "WatchGuard"
14 type:
15 - value: "firewall"
15 + value: "Firewall"
src/go/plugin/go.d/config/go.d/snmp.profiles/default/western-digital-mycloud-ex2-ultra.yaml
+4 -4
@@ -10,9 +10,9 @@ metadata:
10 device:
11 fields:
12 vendor:
13 - value: "western-digital"
13 + value: "Western Digital"
14 type:
15 - value: "storage"
15 + value: "Storage"
16
17 metric_tags:
18 - tag: wdmycloudex2_agent_ver
@@ -24,13 +24,13 @@ metric_tags:
24 - tag: wdmycloudex2_host_name
25 OID: 1.3.6.1.4.1.5127.1.1.1.8.1.3.0
26 symbol: wdmycloudex2HostName
27 - - tag: wdmycloudex2_ftp_server
27 + - tag: _wdmycloudex2_ftp_server
28 OID: 1.3.6.1.4.1.5127.1.1.1.8.1.5.0
29 symbol: wdmycloudex2FTPServer
30 mapping:
31 0: disable
32 1: enable
33 - - tag: wdmycloudex2_net_type
33 + - tag: _wdmycloudex2_net_type
34 OID: 1.3.6.1.4.1.5127.1.1.1.8.1.6.0
35 symbol: wdmycloudex2NetType
36 mapping:
src/go/plugin/go.d/config/go.d/snmp.profiles/default/zebra-printer.yaml
+8 -5
@@ -2,15 +2,15 @@ extends:
2 - _system-base.yaml
3
4 sysobjectid:
5 - - 1.3.6.1.4.1.10642.1.1 # ZT410-203dpi ZPL
5 + - 1.3.6.1.4.1.10642.1.1 # ZT410-203dpi ZPL
6
7 metadata:
8 device:
9 fields:
10 vendor:
11 - value: "zebra"
11 + value: "Zebra"
12 type:
13 - value: "printer"
13 + value: "Printer"
14 version:
15 symbol:
16 MIB: ZEBRA-MIB
@@ -27,6 +27,9 @@ metadata:
27 OID: 1.3.6.1.4.1.10642.1.18.0
28 name: zbrGeneralLINKOSVersion
29
30 +# ZEBRA-MIB
31 +# no links found
32 +
33 metrics:
34 - MIB: ZEBRA-MIB
35 table:
@@ -72,7 +75,7 @@ metrics:
75 metric_tags:
76 - tag: zbr_alert_index
77 index: 1
75 - - tag: zbr_tracked_alerts_training_level
78 + - tag: _zbr_tracked_alerts_training_level
79 symbol:
80 OID: 1.3.6.1.4.1.10642.10.31.1.3
81 name: zbrTrackedAlertsTrainingLevel
@@ -83,7 +86,7 @@ metrics:
86 4: trained
87 5: field_service
88 6: management
86 - - tag: zbr_tracked_alerts_group
89 + - tag: _zbr_tracked_alerts_group
90 symbol:
91 OID: 1.3.6.1.4.1.10642.10.31.1.4
92 name: zbrTrackedAlertsGroup
src/go/plugin/go.d/config/go.d/snmp.profiles/default/zyxel-switch.yaml
+26 -22
@@ -3,33 +3,19 @@ extends:
3 - _std-if-mib.yaml
4
5 sysobjectid:
6 - - 1.3.6.1.4.1.890.1.15 # ZyWALL Switch (Generic)
6 + - 1.3.6.1.4.1.890.1.15 # ZyWALL Switch (Generic)
7
8 metadata:
9 device:
10 fields:
11 vendor:
12 - value: "zyxel"
12 + value: "Zyxel"
13 type:
14 - value: "switch"
14 + value: "Switch"
15
16 -metric_tags:
17 - - tag: zyxel_sys_sw_platform
18 - OID: 1.3.6.1.4.1.890.1.15.3.1.1.0
19 - symbol: sysSwPlatform
20 - mapping:
21 - 1: other
22 - 2: zynos
23 - 3: zld
24 - - tag: zyxel_sys_sw_version_string
25 - OID: 1.3.6.1.4.1.890.1.15.3.1.6.0
26 - symbol: sysSwVersionString
27 - - tag: zyxel_sys_product_model
28 - OID: 1.3.6.1.4.1.890.1.15.3.1.11.0
29 - symbol: sysProductModel
30 - - tag: zyxel_sys_product_serial_number
31 - OID: 1.3.6.1.4.1.890.1.15.3.1.12.0
32 - symbol: sysProductSerialNumber
16 +# ZYXEL-ES-COMMON
17 +# https://mibbrowser.online/mibdb_search.php?mib=ZYXEL-ES-COMMON
18 +# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/zyxel/ZYXEL-ES-COMMON
19
20 metrics:
21 - MIB: ZYXEL-ES-COMMON
@@ -37,7 +23,7 @@ metrics:
23 name: cpu.usage
24 OID: 1.3.6.1.4.1.890.1.15.3.2.4.0
25 chart_meta:
40 - description: Device CPU usage (%)
26 + description: Device CPU usage
27 family: 'CPU/Usage'
28 unit: "%"
29
@@ -46,6 +32,24 @@ metrics:
32 name: memory.usage
33 OID: 1.3.6.1.4.1.890.1.15.3.2.5.0
34 chart_meta:
49 - description: Device memory usage (%)
35 + description: Device memory usage
36 family: 'Memory/Usage'
37 unit: "%"
38 +
39 +metric_tags:
40 + - tag: zyxel_sys_sw_platform
41 + OID: 1.3.6.1.4.1.890.1.15.3.1.1.0
42 + symbol: sysSwPlatform
43 + mapping:
44 + 1: other
45 + 2: zynos
46 + 3: zld
47 + - tag: zyxel_sys_sw_version_string
48 + OID: 1.3.6.1.4.1.890.1.15.3.1.6.0
49 + symbol: sysSwVersionString
50 + - tag: _zyxel_sys_product_model
51 + OID: 1.3.6.1.4.1.890.1.15.3.1.11.0
52 + symbol: sysProductModel
53 + - tag: _zyxel_sys_product_serial_number
54 + OID: 1.3.6.1.4.1.890.1.15.3.1.12.0
55 + symbol: sysProductSerialNumber