@cryptotaxi247 / netdata-1 / commits / 2e93fa650

SNMP: avocent profile (#20527)

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

Fotis Voutsas committed Jun 29, 2025 at 18:06 UTC 2e93fa650f4da93c9d1d6a73b6b16babc90f9179
1 file changed +41 -46
src/go/plugin/go.d/config/go.d/snmp.profiles/default/avocent-acs.yaml
+41 -46
@@ -3,6 +3,14 @@ extends:
3 - _generic-if.yaml
4 - _generic-ucd.yaml
5
6 +metadata:
7 + device:
8 + fields:
9 + vendor:
10 + value: Avocent
11 + type:
12 + value: Console Server
13 +
14 sysobjectid:
15 - 1.3.6.1.4.1.10418.26.1.* # Avocent Console Server
16 - 1.3.6.1.4.1.10418.26.1.1 # Avocent acs8048
@@ -13,69 +21,56 @@ sysobjectid:
21 - 1.3.6.1.4.1.10418.26.1.6 # Avocent acs804
22 - 1.3.6.1.4.1.10418.26.1.7 # Avocent acs802
23
16 -metadata:
17 - device:
18 - fields:
19 - vendor:
20 - value: "avocent"
21 -
24 metrics:
23 -# - MIB: ACS8000-MIB
24 -# symbol:
25 -# name: avocent.acsPowerSupplyStatePw1
26 -# OID: 1.3.6.1.4.1.10418.26.2.1.8.2.0
27 -# enum:
28 -# statePowerOn: 1
29 -# statePowerOff: 2
30 -# powerNotInstaled: 9999
31 -# TODO: enum in scalar metric is not supported yet (keep this metric and this
32 -# comment in profile until it's fixed)
33 -# - MIB: ACS8000-MIB
34 -# symbol:
35 -# name: avocent.acsPowerSupplyStatePw2
36 -# OID: 1.3.6.1.4.1.10418.26.2.1.8.3.0
37 -# enum:
38 -# statePowerOn: 1
39 -# statePowerOff: 2
40 -# powerNotInstaled: 9999
41 -# TODO: enum in scalar metric is not supported yet (keep this metric and this
42 -# comment in profile until it's fixed)
25 + - MIB: ACS8000-MIB
26 + symbol:
27 + name: avocent.acsPowerSupplyStatePw1
28 + OID: 1.3.6.1.4.1.10418.26.2.1.8.2.0
29 + description: State of the first power supply
30 + family: PowerSupply/1/Status
31 + unit: "{status}"
32 + mapping:
33 + statePowerOn: 1
34 + statePowerOff: 2
35 + powerNotInstaled: 9999
36 + - MIB: ACS8000-MIB
37 + symbol:
38 + name: avocent.acsPowerSupplyStatePw2
39 + OID: 1.3.6.1.4.1.10418.26.2.1.8.3.0
40 + description: State of the second power supply
41 + family: PowerSupply/2/Status
42 + unit: "{status}"
43 + mapping:
44 + statePowerOn: 1
45 + statePowerOff: 2
46 + powerNotInstaled: 9999
47 - MIB: ACS8000-MIB
48 symbol:
49 name: avocent.acsActiveSessionsNumberOfSession
50 OID: 1.3.6.1.4.1.10418.26.2.2.1.0
47 - description: Number of active sessions.
51 + description: Number of active sessions
52 + family: Session/Active
53 unit: "{session}"
54 - MIB: ACS8000-MIB
55 table:
56 OID: 1.3.6.1.4.1.10418.26.2.3.2
57 name: acsSerialPortTable
58 symbols:
54 - - name: avocent.acsSerialPort
55 - constant_value_one: true
56 - description: Serial port constant value one.
57 - unit: "TBD"
58 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
59 + - OID: 1.3.6.1.4.1.10418.26.2.3.2.1.3
60 + name: avocent.acsSerialPortTableStatus
61 + description: The status of the serial port
62 + family: SerialPort/Status
63 + unit: "{status}"
64 + mapping:
65 + 1: disabled
66 + 2: idle
67 + 3: in_use
68 metric_tags:
69 - tag: avocent_acs_serial_port_table_device_name
70 symbol:
71 name: avocent.acsSerialPortTableDeviceName
72 OID: 1.3.6.1.4.1.10418.26.2.3.2.1.2
64 - description: The associated device name for the serial port.
65 - unit: "TBD"
73 - tag: avocent_acs_serial_port_table_name
74 symbol:
75 name: avocent.acsSerialPortTableName
76 OID: 1.3.6.1.4.1.10418.26.2.3.2.1.4
70 - description: Name associated with this serial port.
71 - unit: "TBD"
72 - - symbol:
73 - OID: 1.3.6.1.4.1.10418.26.2.3.2.1.3
74 - name: avocent.acsSerialPortTableStatus
75 - description: The status of the serial port.
76 - unit: "TBD"
77 - tag: avocent_acs_serial_port_table_status
78 - mapping:
79 - 1: disabled
80 - 2: idle
81 - 3: in_use