@cryptotaxi247 / netdata-1 / commits / 91e743708

chore(go.d/snmp-profiles): charts meta fixes and fam updates p1 (#20620)

Ilya Mashchenko committed Jul 1, 2025 at 18:56 UTC 91e743708d99a79184b2352532d2ffd75fc95893
10 files changed +409 -397
src/go/plugin/go.d/config/go.d/snmp.profiles/default/tp-link.yaml
+17 -16
@@ -2,15 +2,16 @@ extends:
2 - _system-base.yaml
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
8 +
9 metadata:
10 device:
11 fields:
12 vendor:
13 value: "TP-Link"
14
11 -sysobjectid:
12 - - 1.3.6.1.4.1.11863.1.* # TP-Link switch
13 - - 1.3.6.1.4.1.11863.5.* # TP-Link products
15 metrics:
16 - MIB: TPLINK-SYSMONITOR-MIB
17 table:
@@ -19,16 +20,14 @@ metrics:
20 symbols:
21 - name: cpu.usage
22 OID: 1.3.6.1.4.1.11863.6.4.1.1.1.1.3
22 - description: CPU utilization in 1 minute
23 - unit: "%"
24 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
23 + chart_meta:
24 + description: CPU utilization in 1 minute
25 + family: CPU/Usage
26 + unit: "%"
27 metric_tags:
26 - - symbol:
27 - OID: 1.3.6.1.4.1.11863.6.4.1.1.1.1.4
28 - name: tpSysMonitorCpu5Minutes
29 - tag: tp_sys_monitor_cpu_5_minutes
30 - - index: 1 # tpSysMonitorCpuUnitNumber
31 - tag: cpu
28 + - tag: cpu_index
29 + index: 1 # tpSysMonitorCpuUnitNumber
30 +
31 - MIB: TPLINK-SYSMONITOR-MIB
32 table:
33 name: tpSysMonitorMemoryTable
@@ -36,8 +35,10 @@ metrics:
35 symbols:
36 - name: memory.usage
37 OID: 1.3.6.1.4.1.11863.6.4.1.2.1.1.2
39 - description: Memory utilization
40 - unit: "%"
38 + chart_meta:
39 + description: Memory utilization
40 + family: Memory/Usage
41 + unit: "%"
42 metric_tags:
42 - - index: 1 # tpSysMonitorMemoryUnitNumber
43 - tag: mem
43 + - tag: mem_index
44 + index: 1 # tpSysMonitorMemoryUnitNumber
src/go/plugin/go.d/config/go.d/snmp.profiles/default/ubiquiti-unifi-security-gateway.yaml
+1
@@ -2,5 +2,6 @@ extends:
2 - _std-if-mib.yaml
3 - _std-ucd-mib.yaml
4 - _ubiquiti.yaml
5 +
6 sysobjectid:
7 - 1.3.6.1.4.1.41112.1.5 # Ubiquiti EdgeMax
src/go/plugin/go.d/config/go.d/snmp.profiles/default/ubiquiti-unifi.yaml
+41 -41
@@ -10,31 +10,21 @@ metrics:
10 symbol:
11 OID: 1.3.6.1.4.1.10002.1.1.1.1.1.0
12 name: memory.total
13 - description: Total usable physical memory (in KB)
14 - unit: "kBy"
13 + scale_factor: 1024
14 + chart_meta:
15 + description: Total usable physical memory (in KB)
16 + family: Memory/Total
17 + unit: "By"
18 - MIB: FROGFOOT-RESOURCES-MIB
19 symbol:
20 OID: 1.3.6.1.4.1.10002.1.1.1.1.2.0
21 name: memory.free
19 - description: Available physical memory (in KB)
20 - unit: "kBy"
21 - # TODO: Update once we support matching on specific tag (`match_attributes`)
22 - # - MIB: FROGFOOT-RESOURCES-MIB
23 - # table:
24 - # OID: 1.3.6.1.4.1.10002.1.1.1.4.2
25 - # name: loadTable
26 - # symbols:
27 - # - OID: 1.3.6.1.4.1.10002.1.1.1.4.2.1.3.1
28 - # name: cpu.usage
29 - # metric_tags:
30 - # - index: 1
31 - # tag: cpu
32 - # - symbol:
33 - # OID: 1.3.6.1.4.1.10002.1.1.1.4.2.1.2.1
34 - # name: loadDescr
35 - # match_attributes:
36 - # - 1 Minute Average
37 - # tag: load_descr
22 + scale_factor: 1024
23 + chart_meta:
24 + description: Available physical memory (in KB)
25 + family: Memory/Free
26 + unit: "By"
27 +
28 - MIB: UBNT-UniFi-MIB
29 table:
30 OID: 1.3.6.1.4.1.41112.1.6.1.1
@@ -42,40 +32,50 @@ metrics:
32 symbols:
33 - OID: 1.3.6.1.4.1.41112.1.6.1.1.1.4
34 name: ubiquiti.unifiRadioRxPackets
45 - metric_type: monotonic_count
46 - description: Number of received packets on the radio
47 - unit: "{packet}"
35 + chart_meta:
36 + description: Number of received packets on the radio
37 + family: Wireless/Radio/Packet/In
38 + unit: "{packet}/s"
39 - OID: 1.3.6.1.4.1.41112.1.6.1.1.1.5
40 name: ubiquiti.unifiRadioTxPackets
50 - metric_type: monotonic_count
51 - description: Number of transmitted packets on the radio
52 - unit: "{packet}"
41 + chart_meta:
42 + description: Number of transmitted packets on the radio
43 + family: Wireless/Radio/Packet/Out
44 + unit: "{packet}/s"
45 - OID: 1.3.6.1.4.1.41112.1.6.1.1.1.6
46 name: ubiquiti.unifiRadioCuTotal
55 - description: Total cumulative usage on the radio
56 - unit: "TBD"
47 + chart_meta:
48 + description: Total channel utilization on the radio
49 + family: Wireless/Radio/ChannelUtilization/Total
50 + unit: "%"
51 - OID: 1.3.6.1.4.1.41112.1.6.1.1.1.7
52 name: ubiquiti.unifiRadioCuSelfRx
59 - description: Cumulative self received usage on the radio
60 - unit: "TBD"
53 + chart_meta:
54 + description: Channel utilization for self received traffic on the radio
55 + family: Wireless/Radio/ChannelUtilization/SelfReceive
56 + unit: "%"
57 - OID: 1.3.6.1.4.1.41112.1.6.1.1.1.8
58 name: ubiquiti.unifiRadioCuSelfTx
63 - description: Cumulative self transmitted usage on the radio
64 - unit: "TBD"
59 + chart_meta:
60 + description: Channel utilization for self transmitted traffic on the radio
61 + family: Wireless/Radio/ChannelUtilization/SelfTransmit
62 + unit: "%"
63 - OID: 1.3.6.1.4.1.41112.1.6.1.1.1.9
64 name: ubiquiti.unifiRadioOtherBss
67 - description: Other basic service sets on the radio
68 - unit: "TBD"
65 + chart_meta:
66 + description: Number of other basic service sets detected on the radio
67 + family: Wireless/Radio/BSS/Other/Count
68 + unit: "{bss}"
69 metric_tags:
70 - - symbol:
70 + - tag: ubiquiti_unifi_radio_index
71 + symbol:
72 OID: 1.3.6.1.4.1.41112.1.6.1.1.1.1
73 name: ubiquiti.unifiRadioIndex
73 - tag: ubiquiti_unifi_radio_index
74 - - symbol:
74 + - tag: ubiquiti_unifi_radio_name
75 + symbol:
76 OID: 1.3.6.1.4.1.41112.1.6.1.1.1.2
77 name: ubiquiti.unifiRadioName
77 - tag: ubiquiti_unifi_radio_name
78 - - symbol:
78 + - tag: ubiquiti_unifi_radio_radio
79 + symbol:
80 OID: 1.3.6.1.4.1.41112.1.6.1.1.1.3
81 name: ubiquiti.unifiRadioRadio
81 - tag: ubiquiti_unifi_radio_radio
src/go/plugin/go.d/config/go.d/snmp.profiles/default/velocloud-edge.yaml
-19
@@ -13,22 +13,3 @@ metadata:
13
14 sysobjectid:
15 - 1.3.6.1.4.1.45346.1.1 # VeloCloud EDGE
16 -metrics:
17 - - MIB: HOST-RESOURCES-MIB
18 - symbol:
19 - name: memory.total
20 - OID: 1.3.6.1.2.1.25.2.3.1.5.1 # hrStorageSize.1
21 - description: Size of the storage represented by this entry, in units of hrStorageAllocationUnits
22 - unit: "{storage_unit}"
23 - - MIB: HOST-RESOURCES-MIB
24 - symbol:
25 - name: memory.used
26 - OID: 1.3.6.1.2.1.25.2.3.1.6.1 # hrStorageUsed.1
27 - description: Amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits
28 - unit: "{storage_unit}"
29 - - MIB: HOST-RESOURCES-MIB
30 - symbol:
31 - name: cpu.usage
32 - OID: 1.3.6.1.2.1.25.3.3.1.2.196608 # hrProcessorLoad.196608
33 - description: Average over the last minute of the percentage of time that this processor was not idle
34 - unit: "%"
src/go/plugin/go.d/config/go.d/snmp.profiles/default/vertiv-liebert-ac.yaml
+69 -33
@@ -1,20 +1,36 @@
1 extends:
2 - _vertiv.yaml
3 +
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
14 +
15 metrics:
16 - MIB: LIEBERT-GP-ENVIRONMENTAL-MIB
17 symbol:
18 OID: 1.3.6.1.4.1.476.1.42.3.4.1.2.1.0
19 name: lgpEnvTemperatureSettingDegF
10 - description: The temperature setting used to control the well known temperature object 'lgpEnvControlTemperature'
11 - unit: "degF"
20 + chart_meta:
21 + description: The temperature setting used to control the well known temperature object lgpEnvControlTemperature
22 + family: Environment/Temperature/Setpoint
23 + unit: "degF"
24 +
25 - MIB: LIEBERT-GP-ENVIRONMENTAL-MIB
26 symbol:
27 OID: 1.3.6.1.4.1.476.1.42.3.4.1.2.2.0
28 name: lgpEnvTemperatureToleranceDegF
16 - description: The acceptable variance from 'lgpEnvTemperatureSettingDegF' without initiating a control action
17 - unit: "degF"
29 + chart_meta:
30 + description: The acceptable variance from lgpEnvTemperatureSettingDegF without initiating a control action
31 + family: Environment/Temperature/Tolerance
32 + unit: "degF"
33 +
34 - MIB: LIEBERT-GP-ENVIRONMENTAL-MIB
35 table:
36 OID: 1.3.6.1.4.1.476.1.42.3.4.1.2.3
@@ -22,67 +38,87 @@ metrics:
38 symbols:
39 - OID: 1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.3
40 name: lgpEnvTemperatureMeasurementDegF
25 - description: The measured temperature value
26 - unit: "degF"
41 + chart_meta:
42 + description: The measured temperature value
43 + family: Environment/Temperature/Value
44 + unit: "degF"
45 - OID: 1.3.6.1.4.1.476.1.42.3.4.1.3.3.1.3
46 name: lgpEnvTemperatureMeasurementDegC
29 - description: The measured temperature value
30 - unit: "Cel"
47 + chart_meta:
48 + description: The measured temperature value
49 + family: Environment/Temperature/Value
50 + unit: "Cel"
51 - OID: 1.3.6.1.4.1.476.1.42.3.4.2.2.3.1.3
52 name: lgpEnvHumidityMeasurementRel
33 - description: The measured humidity value
34 - unit: "%"
53 + chart_meta:
54 + description: The measured humidity value
55 + family: Environment/Humidity/Value
56 + unit: "%"
57 metric_tags:
36 - - symbol:
58 + - tag: lgp_env_temperature_descr_deg_f
59 + symbol:
60 OID: 1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.2 # OID index
61 name: lgpEnvTemperatureDescrDegF
39 - tag: lgp_env_temperature_descr_deg_f
62 +
63 - MIB: LIEBERT-GP-ENVIRONMENTAL-MIB
64 symbol:
65 OID: 1.3.6.1.4.1.476.1.42.3.4.6.1.0
66 name: lgpEnvStatisticsComp1RunHr
44 - description: Accumulated run hours of compressor 1
45 - unit: "h"
67 + chart_meta:
68 + description: Accumulated run hours of compressor 1
69 + family: Component/Compressor/1/Runtime
70 + unit: "h"
71 +
72 - MIB: LIEBERT-GP-ENVIRONMENTAL-MIB
73 symbol:
74 OID: 1.3.6.1.4.1.476.1.42.3.4.6.2.0
75 name: lgpEnvStatisticsComp2RunHr
50 - description: Accumulated run hours of compressor 2
51 - unit: "h"
76 + chart_meta:
77 + description: Accumulated run hours of compressor 2
78 + family: Component/Compressor/2/Runtime
79 + unit: "h"
80 +
81 - MIB: LIEBERT-GP-ENVIRONMENTAL-MIB
82 symbol:
83 OID: 1.3.6.1.4.1.476.1.42.3.4.6.3.0
84 name: lgpEnvStatisticsFanRunHr
56 - description: Accumulated run hours of the main fan
57 - unit: "h"
85 + chart_meta:
86 + description: Accumulated run hours of the main fan
87 + family: Component/Fan/Runtime
88 + unit: "h"
89 +
90 - MIB: LIEBERT-GP-ENVIRONMENTAL-MIB
91 symbol:
92 OID: 1.3.6.1.4.1.476.1.42.3.4.6.4.0
93 name: lgpEnvStatisticsHumRunHr
62 - description: Accumulated run hours of the humidifier
63 - unit: "h"
94 + chart_meta:
95 + description: Accumulated run hours of the humidifier
96 + family: Component/Humidifier/Runtime
97 + unit: "h"
98 +
99 - MIB: LIEBERT-GP-ENVIRONMENTAL-MIB
100 symbol:
101 OID: 1.3.6.1.4.1.476.1.42.3.4.6.7.0
102 name: lgpEnvStatisticsReheat1RunHr
68 - description: Accumulated run hours of reheat element 1
69 - unit: "h"
103 + chart_meta:
104 + description: Accumulated run hours of reheat element 1
105 + family: Component/Reheat/1/Runtime
106 + unit: "h"
107 +
108 - MIB: LIEBERT-GP-ENVIRONMENTAL-MIB
109 symbol:
110 OID: 1.3.6.1.4.1.476.1.42.3.4.6.8.0
111 name: lgpEnvStatisticsReheat2RunHr
74 - description: Accumulated run hours of reheat element 2
75 - unit: "h"
112 + chart_meta:
113 + description: Accumulated run hours of reheat element 2
114 + family: Component/Reheat/2/Runtime
115 + unit: "h"
116 +
117 - MIB: LIEBERT-GP-ENVIRONMENTAL-MIB
118 symbol:
119 OID: 1.3.6.1.4.1.476.1.42.3.4.6.9.0
120 name: lgpEnvStatisticsReheat3RunHr
80 - description: Accumulated run hours of reheat element 3
81 - unit: "h"
82 -metric_tags:
83 - - tag: lgp_agent_ident_model
84 - OID: 1.3.6.1.4.1.476.1.42.2.1.2.0
85 - symbol: lgpAgentIdentModel
86 - - tag: lgp_agent_ident_serial_number
87 - OID: 1.3.6.1.4.1.476.1.42.2.1.4.0
88 - symbol: lgpAgentIdentSerialNumber
121 + chart_meta:
122 + description: Accumulated run hours of reheat element 3
123 + family: Component/Reheat/3/Runtime
124 + unit: "h"
src/go/plugin/go.d/config/go.d/snmp.profiles/default/vertiv-watchdog.yaml
+63 -54
@@ -1,12 +1,29 @@
1 extends:
2 - _vertiv.yaml
3 +
4 sysobjectid:
5 - 1.3.6.1.4.1.21239.5.1 # watchdog100
6 +
7 metadata:
8 device:
9 fields:
10 type:
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
26 +
27 metrics:
28 - MIB: VERTIV-BB-MIB
29 table:
@@ -15,39 +32,40 @@ metrics:
32 symbols:
33 - OID: 1.3.6.1.4.1.21239.5.1.2.1.5
34 name: vertiv.internalTemp
18 - description: Internal temperature measurement
19 - unit: "Cel"
35 + chart_meta:
36 + description: Internal temperature measurement
37 + family: Sensor/Temperature/Value
38 + unit: "Cel"
39 - OID: 1.3.6.1.4.1.21239.5.1.2.1.6
40 name: vertiv.internalHumidity
22 - description: Internal humidity measurement
23 - unit: "%"
41 + chart_meta:
42 + description: Internal humidity measurement
43 + family: Sensor/Humidity/Value
44 + unit: "%"
45 - OID: 1.3.6.1.4.1.21239.5.1.2.1.7
46 name: vertiv.internalDewPoint
26 - description: Internal dew point temperature
27 - unit: "Cel"
28 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
29 - metric_tags:
30 - - symbol:
31 - OID: 1.3.6.1.4.1.21239.5.1.2.1.2
32 - name: vertiv.internalSerial
33 - tag: vertiv_internal_serial
34 - # - symbol:
35 - # OID: 1.3.6.1.4.1.21239.5.1.1.7.0
36 - # name: vertiv.temperatureUnits
37 - # tag: vertiv_temperature_units
38 - # mapping:
39 - # 0: fahrenheit
40 - # 1: celsius
41 - # TODO : Add this tag back when tagging by scalar symbol is implemented NDM-2247
42 - - symbol:
43 - OID: 1.3.6.1.4.1.21239.5.1.2.1.4
44 - name: vertiv.internalAvail
45 - tag: vertiv_internal_avail
47 + chart_meta:
48 + description: Internal dew point temperature
49 + family: Sensor/DewPoint/Value
50 + unit: "Cel"
51 + - OID: 1.3.6.1.4.1.21239.5.1.2.1.4
52 + name: vertiv.internalAvail
53 + chart_meta:
54 + description: Internal availability status
55 + family: Sensor/Availability/Status
56 + unit: "{status}"
57 mapping:
58 0: unavailable
59 1: available
60 2: partially_unavailable
50 - # mapping in the metric description
61 + metric_tags:
62 + - tag: vertiv_internal_index
63 + index: 1
64 + - tag: vertiv_internal_serial
65 + symbol:
66 + OID: 1.3.6.1.4.1.21239.5.1.2.1.2
67 + name: vertiv.internalSerial
68 +
69 - MIB: VERTIV-BB-MIB
70 table:
71 name: tempSensorTable
@@ -55,37 +73,28 @@ metrics:
73 symbols:
74 - OID: 1.3.6.1.4.1.21239.5.1.4.1.5
75 name: vertiv.tempSensorTemp
58 - description: Temperature measured by the temperature sensor
59 - unit: "Cel"
60 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
76 + chart_meta:
77 + description: Temperature measured by the temperature sensor
78 + family: Sensor/Temperature/Value
79 + unit: "Cel"
80 + - OID: 1.3.6.1.4.1.21239.5.1.4.1.4
81 + name: vertiv.tempSensorAvail
82 + chart_meta:
83 + description: Sensor availability status
84 + family: Sensor/Availability/Status
85 + unit: "{status}"
86 + mapping:
87 + 0: unavailable
88 + 1: available
89 + 2: partially_unavailable
90 metric_tags:
62 - - symbol:
91 + - tag: vertiv_sensor_index
92 + index: 1
93 + - tag: vertiv_temp_sensor_serial
94 + symbol:
95 OID: 1.3.6.1.4.1.21239.5.1.4.1.2
96 name: vertiv.tempSensorSerial
65 - tag: vertiv_temp_sensor_serial
66 - - symbol:
97 + - tag: vertiv_temp_sensor_label
98 + symbol:
99 OID: 1.3.6.1.4.1.21239.5.1.4.1.3
100 name: vertiv.tempSensorLabel
69 - tag: vertiv_temp_sensor_label
70 - - symbol:
71 - OID: 1.3.6.1.4.1.21239.5.1.4.1.4
72 - name: vertiv.tempSensorAvail
73 - tag: vertiv_temp_sensor_avail
74 - mapping:
75 - 0: unavailable
76 - 1: available
77 - 2: partially_unavailable
78 - # mapping in the metric description
79 -metric_tags:
80 - - OID: 1.3.6.1.4.1.21239.5.1.1.1.0
81 - symbol: productTitle
82 - tag: vertiv_product_title
83 - - OID: 1.3.6.1.4.1.21239.5.1.1.2.0
84 - symbol: productVersion
85 - tag: vertiv_product_version
86 - - OID: 1.3.6.1.4.1.21239.5.1.1.3.0
87 - symbol: productFriendlyName
88 - tag: vertiv_product_friendly_name
89 - - OID: 1.3.6.1.4.1.21239.5.1.1.4.0
90 - symbol: productMacAddress
91 - tag: vertiv_product_mac_address
src/go/plugin/go.d/config/go.d/snmp.profiles/default/vmware-esx.yaml
+31 -34
@@ -3,6 +3,9 @@ extends:
3 - _std-host-resources-mib-feat-base.yaml
4 - _std-if-mib.yaml
5
6 +sysobjectid:
7 + - 1.3.6.1.4.1.6876.4.1
8 +
9 metadata:
10 device:
11 fields:
@@ -11,50 +14,54 @@ metadata:
14 type:
15 value: "server"
16
14 -sysobjectid:
15 - - 1.3.6.1.4.1.6876.4.1
16 -
17 metrics:
18 - MIB: VMWARE-RESOURCES-MIB
19 table:
20 OID: 1.3.6.1.4.1.6876.3.5.2
21 name: vmwHostBusAdapterTable
22 symbols:
23 - - name: vmwHostBusAdapter
24 - constant_value_one: true
25 - description: "Hardware host bus adapter"
26 - unit: "{hardware_host_bus_adapter}"
27 - metric_tags:
28 - - symbol:
29 - name: vmwHbaDeviceName
30 - OID: 1.3.6.1.4.1.6876.3.5.2.1.2
31 - tag: vmw_hba_device_name
32 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
33 - - symbol:
34 - OID: 1.3.6.1.4.1.6876.3.5.2.1.4
35 - name: vmwHbaStatus
36 - tag: vmw_hba_status
23 + - OID: 1.3.6.1.4.1.6876.3.5.2.1.4
24 + name: vmwHbaStatus
25 + chart_meta:
26 + description: Current HBA status
27 + family: Storage/HBA/Status
28 + unit: "{status}"
29 mapping:
30 1: unknown
31 2: normal
32 3: marginal
33 4: critical
34 5: failed
35 + metric_tags:
36 + - tag: vmw_hba_device_name
37 + symbol:
38 + name: vmwHbaDeviceName
39 + OID: 1.3.6.1.4.1.6876.3.5.2.1.2
40 +
41 - MIB: VMWARE-ENV-MIB
42 table:
43 OID: 1.3.6.1.4.1.6876.4.20.3
44 name: vmwEnvTable
45 symbols:
48 - - name: vmwEnv
49 - constant_value_one: true
50 - description: "Hardware environment"
51 - unit: "{hardware_environment}"
52 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
46 + - OID: 1.3.6.1.4.1.6876.4.20.3.1.3
47 + name: vmwHardwareStatus
48 + chart_meta:
49 + description: Last reported status of this component
50 + family: Hardware/Component/Status
51 + unit: "{status}"
52 + mapping:
53 + 1: unknown
54 + 2: normal
55 + 3: marginal
56 + 4: critical
57 + 5: failed
58 metric_tags:
54 - - symbol:
59 + - tag: vmw_subsystem_index
60 + index: 1
61 + - tag: vmw_subsystem_type
62 + symbol:
63 name: vmwSubsystemType
64 OID: 1.3.6.1.4.1.6876.4.20.3.1.2
57 - tag: vmw_subsystem_type
65 mapping:
66 1: unknown
67 2: chassis
@@ -66,13 +73,3 @@ metrics:
73 8: temperature_sensor
74 9: raid_controller
75 10: voltage
69 - - symbol:
70 - OID: 1.3.6.1.4.1.6876.4.20.3.1.3
71 - name: vmwHardwareStatus
72 - tag: vmw_hardware_status
73 - mapping:
74 - 1: unknown
75 - 2: normal
76 - 3: marginal
77 - 4: critical
78 - 5: failed
src/go/plugin/go.d/config/go.d/snmp.profiles/default/western-digital-mycloud-ex2-ultra.yaml
+113 -133
@@ -3,6 +3,9 @@ extends:
3 - _std-host-resources-mib-feat-base.yaml
4 - _std-if-mib.yaml
5
6 +sysobjectid:
7 + - 1.3.6.1.4.1.5127.1.1.1.8
8 +
9 metadata:
10 device:
11 fields:
@@ -11,31 +14,31 @@ metadata:
14 type:
15 value: "storage"
16
14 -sysobjectid:
15 - - 1.3.6.1.4.1.5127.1.1.1.8
17 +metric_tags:
18 + - tag: wdmycloudex2_agent_ver
19 + OID: 1.3.6.1.4.1.5127.1.1.1.8.1.1.0
20 + symbol: wdmycloudex2AgentVer
21 + - tag: wdmycloudex2_software_version
22 + OID: 1.3.6.1.4.1.5127.1.1.1.8.1.2.0
23 + symbol: wdmycloudex2SoftwareVersion
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
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
34 + OID: 1.3.6.1.4.1.5127.1.1.1.8.1.6.0
35 + symbol: wdmycloudex2NetType
36 + mapping:
37 + 0: workgroup
38 + 1: active_directory
39
40 +# TODO: add metrics, need snmpwalk sample
41 metrics:
18 - - MIB: HOST-RESOURCES-MIB
19 - symbol:
20 - name: memory.total
21 - OID: 1.3.6.1.2.1.25.2.3.1.5.1 # hrStorageSize.1
22 - description: Size of the storage represented by this entry, in units of hrStorageAllocationUnits
23 - unit: "{logical_storage_area}"
24 -
25 - - MIB: HOST-RESOURCES-MIB
26 - symbol:
27 - name: memory.used
28 - OID: 1.3.6.1.2.1.25.2.3.1.6.1 # hrStorageUsed.1
29 - description: Amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits
30 - unit: "{logical_storage_area}"
31 -
32 - - MIB: HOST-RESOURCES-MIB
33 - symbol:
34 - name: cpu.usage
35 - OID: 1.3.6.1.2.1.25.3.3.1.2.196608 # hrProcessorLoad.196608
36 - description: Average over the last minute of the percentage of time that this processor was not idle
37 - unit: "%"
38 -
42 # - MIB: WDMYCLOUDEX2-MIB
43 # symbol:
44 # name: wdmycloudex2Temperature
@@ -46,120 +49,97 @@ metrics:
49 # name: wdmycloudex2FanStatus
50 # OID: 1.3.6.1.4.1.5127.1.1.1.8.1.8.0
51 # string metric is not supported yet (keep this metric and this comment in profile until it's fixed)
49 - - MIB: WDMYCLOUDEX2-MIB
50 - table:
51 - name: wdmycloudex2VolumeTable
52 - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.9
53 - symbols:
54 - - name: wdmycloudex2Volume
55 - constant_value_one: true
52 +# - MIB: WDMYCLOUDEX2-MIB
53 +# table:
54 +# name: wdmycloudex2VolumeTable
55 +# OID: 1.3.6.1.4.1.5127.1.1.1.8.1.9
56 +# symbols:
57 +# - name: wdmycloudex2Volume
58 +# constant_value_one: true
59 # - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.9.1.5
60 # name: wdmycloudex2VolumeSize
61 # string metric is not supported yet (keep this metric and this comment in profile until it's fixed)
62 # - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.9.1.6
63 # name: wdmycloudex2VolumeFreeSpace
64 # string metric is not supported yet (keep this metric and this comment in profile until it's fixed)
62 - metric_tags:
63 - - symbol:
64 - name: wdmycloudex2VolumeNum
65 - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.9.1.1
66 - tag: wdmycloudex2_volume_num
67 - - symbol:
68 - name: wdmycloudex2VolumeName
69 - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.9.1.2
70 - tag: wdmycloudex2_volume_name
71 - - symbol:
72 - name: wdmycloudex2VolumeFsType
73 - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.9.1.3
74 - tag: wdmycloudex2_volume_fs_type
75 - - symbol:
76 - name: wdmycloudex2VolumeRaidLevel
77 - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.9.1.4
78 - tag: wdmycloudex2_volume_raid_level
79 - - MIB: WDMYCLOUDEX2-MIB
80 - table:
81 - name: wdmycloudex2DiskTable
82 - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.10
83 - symbols:
84 -# - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.10.1.5
85 -# name: wdmycloudex2DiskTemperature
86 -# string metric is not supported yet (keep this metric and this comment in profile until it's fixed)
87 - - name: wdmycloudex2Disk
88 - constant_value_one: true
89 - metric_tags:
90 - - symbol:
91 - name: wdmycloudex2DiskNum
92 - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.10.1.1
93 - tag: wdmycloudex2_disk_num
94 - - symbol:
95 - name: wdmycloudex2DiskVendor
96 - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.10.1.2
97 - tag: wdmycloudex2_disk_vendor
98 - - symbol:
99 - name: wdmycloudex2DiskModel
100 - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.10.1.3
101 - tag: wdmycloudex2_disk_model
102 - - symbol:
103 - name: wdmycloudex2DiskSerialNumber
104 - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.10.1.4
105 - tag: wdmycloudex2_disk_serial_number
106 - - symbol:
107 - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.10.1.6
108 - name: wdmycloudex2DiskCapacity
109 - tag: wdmycloudex2_disk_capacity
110 - - MIB: WDMYCLOUDEX2-MIB
111 - table:
112 - name: wdmycloudex2UPSTable
113 - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.11
114 - symbols:
115 - - name: wdmycloudex2UPS
116 - constant_value_one: true
117 -# - name: wdmycloudex2UPSBatteryCharge
118 -# OID: 1.3.6.1.4.1.5127.1.1.1.8.1.11.5
119 -# string metric is not supported yet (keep this metric and this comment in profile until it's fixed)
120 - metric_tags:
121 - - symbol:
122 - name: wdmycloudex2UPSNum
123 - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.11.1.1
124 - tag: wdmycloudex2_ups_num
125 - - symbol:
126 - name: wdmycloudex2UPSMode
127 - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.11.1.2
128 - tag: wdmycloudex2_ups_mode
129 - - symbol:
130 - name: wdmycloudex2UPSManufacturer
131 - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.11.1.3
132 - tag: wdmycloudex2_ups_manufacturer
133 - - symbol:
134 - name: wdmycloudex2UPSProduct
135 - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.11.1.4
136 - tag: wdmycloudex2_ups_product
137 - - symbol:
138 - name: wdmycloudex2UPSStatus
139 - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.11.1.6
140 - tag: wdmycloudex2_ups_status
65 +# metric_tags:
66 +# - symbol:
67 +# name: wdmycloudex2VolumeNum
68 +# OID: 1.3.6.1.4.1.5127.1.1.1.8.1.9.1.1
69 +# tag: wdmycloudex2_volume_num
70 +# - symbol:
71 +# name: wdmycloudex2VolumeName
72 +# OID: 1.3.6.1.4.1.5127.1.1.1.8.1.9.1.2
73 +# tag: wdmycloudex2_volume_name
74 +# - symbol:
75 +# name: wdmycloudex2VolumeFsType
76 +# OID: 1.3.6.1.4.1.5127.1.1.1.8.1.9.1.3
77 +# tag: wdmycloudex2_volume_fs_type
78 +# - symbol:
79 +# name: wdmycloudex2VolumeRaidLevel
80 +# OID: 1.3.6.1.4.1.5127.1.1.1.8.1.9.1.4
81 +# tag: wdmycloudex2_volume_raid_level
82
142 -metric_tags:
143 - - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.1.0
144 - symbol: wdmycloudex2AgentVer
145 - tag: wdmycloudex2_agent_ver
146 - - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.2.0
147 - symbol: wdmycloudex2SoftwareVersion
148 - tag: wdmycloudex2_software_version
149 - - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.3.0
150 - symbol: wdmycloudex2HostName
151 - tag: wdmycloudex2_host_name
152 - - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.5.0
153 - symbol: wdmycloudex2FTPServer
154 - tag: wdmycloudex2_ftp_server
155 - mapping:
156 - 0: disable
157 - 1: enable
158 - # mapping in the metric description
159 - - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.6.0
160 - symbol: wdmycloudex2NetType
161 - tag: wdmycloudex2_net_type
162 - mapping:
163 - 0: workgroup
164 - 1: active_directory
165 - # mapping in the metric description
83 +# - MIB: WDMYCLOUDEX2-MIB
84 +# table:
85 +# name: wdmycloudex2DiskTable
86 +# OID: 1.3.6.1.4.1.5127.1.1.1.8.1.10
87 +# symbols:
88 +# # - OID: 1.3.6.1.4.1.5127.1.1.1.8.1.10.1.5
89 +# # name: wdmycloudex2DiskTemperature
90 +# # string metric is not supported yet (keep this metric and this comment in profile until it's fixed)
91 +# - name: wdmycloudex2Disk
92 +# constant_value_one: true
93 +# metric_tags:
94 +# - symbol:
95 +# name: wdmycloudex2DiskNum
96 +# OID: 1.3.6.1.4.1.5127.1.1.1.8.1.10.1.1
97 +# tag: wdmycloudex2_disk_num
98 +# - symbol:
99 +# name: wdmycloudex2DiskVendor
100 +# OID: 1.3.6.1.4.1.5127.1.1.1.8.1.10.1.2
101 +# tag: wdmycloudex2_disk_vendor
102 +# - symbol:
103 +# name: wdmycloudex2DiskModel
104 +# OID: 1.3.6.1.4.1.5127.1.1.1.8.1.10.1.3
105 +# tag: wdmycloudex2_disk_model
106 +# - symbol:
107 +# name: wdmycloudex2DiskSerialNumber
108 +# OID: 1.3.6.1.4.1.5127.1.1.1.8.1.10.1.4
109 +# tag: wdmycloudex2_disk_serial_number
110 +# - symbol:
111 +# OID: 1.3.6.1.4.1.5127.1.1.1.8.1.10.1.6
112 +# name: wdmycloudex2DiskCapacity
113 +# tag: wdmycloudex2_disk_capacity
114 +
115 +# - MIB: WDMYCLOUDEX2-MIB
116 +# table:
117 +# name: wdmycloudex2UPSTable
118 +# OID: 1.3.6.1.4.1.5127.1.1.1.8.1.11
119 +# symbols:
120 +# - name: wdmycloudex2UPS
121 +# constant_value_one: true
122 +# # - name: wdmycloudex2UPSBatteryCharge
123 +# # OID: 1.3.6.1.4.1.5127.1.1.1.8.1.11.5
124 +# # string metric is not supported yet (keep this metric and this comment in profile until it's fixed)
125 +# metric_tags:
126 +# - symbol:
127 +# name: wdmycloudex2UPSNum
128 +# OID: 1.3.6.1.4.1.5127.1.1.1.8.1.11.1.1
129 +# tag: wdmycloudex2_ups_num
130 +# - symbol:
131 +# name: wdmycloudex2UPSMode
132 +# OID: 1.3.6.1.4.1.5127.1.1.1.8.1.11.1.2
133 +# tag: wdmycloudex2_ups_mode
134 +# - symbol:
135 +# name: wdmycloudex2UPSManufacturer
136 +# OID: 1.3.6.1.4.1.5127.1.1.1.8.1.11.1.3
137 +# tag: wdmycloudex2_ups_manufacturer
138 +# - symbol:
139 +# name: wdmycloudex2UPSProduct
140 +# OID: 1.3.6.1.4.1.5127.1.1.1.8.1.11.1.4
141 +# tag: wdmycloudex2_ups_product
142 +# - symbol:
143 +# name: wdmycloudex2UPSStatus
144 +# OID: 1.3.6.1.4.1.5127.1.1.1.8.1.11.1.6
145 +# tag: wdmycloudex2_ups_status
src/go/plugin/go.d/config/go.d/snmp.profiles/default/zebra-printer.yaml
+44 -42
@@ -1,11 +1,16 @@
1 extends:
2 - _system-base.yaml
3
4 +sysobjectid:
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"
12 + type:
13 + value: "printer"
14 version:
15 symbol:
16 MIB: ZEBRA-MIB
@@ -21,35 +26,56 @@ metadata:
26 MIB: ZEBRA-MIB
27 OID: 1.3.6.1.4.1.10642.1.18.0
28 name: zbrGeneralLINKOSVersion
24 - type:
25 - value: "printer"
29
27 -sysobjectid:
28 - - 1.3.6.1.4.1.10642.1.1 # ZT410-203dpi ZPL
30 metrics:
31 - MIB: ZEBRA-MIB
32 table:
33 name: zbrTrackedAlertsTable
34 OID: 1.3.6.1.4.1.10642.10.31
35 symbols:
35 - - name: zbrTrackedAlerts
36 - constant_value_one: true
37 - description: "Number of tracked alerts"
38 - unit: "{alert}"
39 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
40 - metric_tags:
41 - - symbol:
42 - OID: 1.3.6.1.4.1.10642.10.31.1.2
43 - name: zbrTrackedAlertsSeverity
44 - tag: zbr_tracked_alerts_severity
36 + - OID: 1.3.6.1.4.1.10642.10.31.1.2
37 + name: zbrTrackedAlertsSeverity
38 + chart_meta:
39 + description: The severity level of tracked alerts
40 + family: Alert/Severity/Status
41 + unit: "{status}"
42 mapping:
43 1: other
44 3: critical
45 4: warning
49 - - symbol:
46 + - OID: 1.3.6.1.4.1.10642.10.31.1.5
47 + name: zbrTrackedAlertsCode
48 + chart_meta:
49 + description: The code associated with tracked alerts
50 + family: Alert/Code/Status
51 + unit: "{status}"
52 + mapping:
53 + 1: paper-out
54 + 2: ribbon-out
55 + 3: head-too-hot
56 + 4: head-under-temp
57 + 5: head-open
58 + 6: power-supply-over-temp
59 + 7: motor-over-temp
60 + 8: ribbon-in
61 + 9: rewind-fault
62 + 10: cutter-jammed
63 + 11: printer-paused
64 + 12: head-element-bad
65 + 13: basic-runtime
66 + 14: basic-forced
67 + 15: power-on
68 + 16: battery-low
69 + 17: rfid-error
70 + 18: cold-start
71 + 19: ribbon-auth-error
72 + metric_tags:
73 + - tag: zbr_alert_index
74 + index: 1
75 + - tag: zbr_tracked_alerts_training_level
76 + symbol:
77 OID: 1.3.6.1.4.1.10642.10.31.1.3
78 name: zbrTrackedAlertsTrainingLevel
52 - tag: zbr_tracked_alerts_training_level
79 mapping:
80 1: other
81 2: unknown
@@ -57,10 +83,10 @@ metrics:
83 4: trained
84 5: field_service
85 6: management
60 - - symbol:
86 + - tag: zbr_tracked_alerts_group
87 + symbol:
88 OID: 1.3.6.1.4.1.10642.10.31.1.4
89 name: zbrTrackedAlertsGroup
63 - tag: zbr_tracked_alerts_group
90 mapping:
91 1: system
92 2: media
@@ -71,27 +97,3 @@ metrics:
97 7: zbi
98 8: battery
99 9: rfid
74 - - symbol:
75 - OID: 1.3.6.1.4.1.10642.10.31.1.5
76 - name: zbrTrackedAlertsCode
77 - tag: zbr_tracked_alerts_code
78 - mapping:
79 - 1: paper-out
80 - 2: ribbon-out
81 - 3: head-too-hot
82 - 4: head-under-temp
83 - 5: head-open
84 - 6: power-supply-over-temp
85 - 7: motor-over-temp
86 - 8: ribbon-in
87 - 9: rewind-fault
88 - 10: cutter-jammed
89 - 11: printer-paused
90 - 12: head-element-bad
91 - 13: basic-runtime
92 - 14: basic-forced
93 - 15: power-on
94 - 16: battery-low
95 - 17: rfid-error
96 - 18: cold-start
97 - 19: ribbon-auth-error
src/go/plugin/go.d/config/go.d/snmp.profiles/default/zyxel-switch.yaml
+30 -25
@@ -2,6 +2,9 @@ extends:
2 - _system-base.yaml
3 - _std-if-mib.yaml
4
5 +sysobjectid:
6 + - 1.3.6.1.4.1.890.1.15 # ZyWALL Switch (Generic)
7 +
8 metadata:
9 device:
10 fields:
@@ -10,37 +13,39 @@ metadata:
13 type:
14 value: "switch"
15
13 -sysobjectid:
14 - - 1.3.6.1.4.1.890.1.15 # ZyWALL Switch (Generic)
15 -metrics:
16 - - MIB: ZYXEL-ES-COMMON
17 - symbol:
18 - name: cpu.usage
19 - OID: 1.3.6.1.4.1.890.1.15.3.2.4.0
20 - description: Device CPU usage (%)
21 - unit: "%"
22 - - MIB: ZYXEL-ES-COMMON
23 - symbol:
24 - name: memory.usage
25 - OID: 1.3.6.1.4.1.890.1.15.3.2.5.0
26 - description: Device memory usage (%)
27 - unit: "%"
28 -
29 -# TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
16 metric_tags:
31 - - OID: 1.3.6.1.4.1.890.1.15.3.1.1.0
17 + - tag: zyxel_sys_sw_platform
18 + OID: 1.3.6.1.4.1.890.1.15.3.1.1.0
19 symbol: sysSwPlatform
33 - tag: zyxel_sys_sw_platform
20 mapping:
21 1: other
22 2: zynos
23 3: zld
38 - - OID: 1.3.6.1.4.1.890.1.15.3.1.6.0
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
40 - tag: zyxel_sys_sw_version_string
41 - - OID: 1.3.6.1.4.1.890.1.15.3.1.11.0
27 + - tag: zyxel_sys_product_model
28 + OID: 1.3.6.1.4.1.890.1.15.3.1.11.0
29 symbol: sysProductModel
43 - tag: zyxel_sys_product_model
44 - - OID: 1.3.6.1.4.1.890.1.15.3.1.12.0
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
46 - tag: zyxel_sys_product_serial_number
33 +
34 +metrics:
35 + - MIB: ZYXEL-ES-COMMON
36 + symbol:
37 + name: cpu.usage
38 + OID: 1.3.6.1.4.1.890.1.15.3.2.4.0
39 + chart_meta:
40 + description: Device CPU usage (%)
41 + family: CPU/Usage
42 + unit: "%"
43 +
44 + - MIB: ZYXEL-ES-COMMON
45 + symbol:
46 + name: memory.usage
47 + OID: 1.3.6.1.4.1.890.1.15.3.2.5.0
48 + chart_meta:
49 + description: Device memory usage (%)
50 + family: Memory/Usage
51 + unit: "%"