I want to monitor several power devices. I am able to pull SNMP data which has info such as the device firmware/serial. I’m doing this using snmp_exporter and prometheus.
Is there some way I can pull that type of info, and make it into a table?
I’m exporting the following metrics:
modules:
apc_irc:
get:
- 1.3.6.1.4.1.318.1.1.27.1.3.2.1.3.1.1 # Model number
- 1.3.6.1.4.1.318.1.1.27.1.3.2.1.3.1.2 # Serial number
- 1.3.6.1.4.1.318.1.1.27.1.3.2.1.3.1.3 # Firmware
- 1.3.6.1.4.1.318.1.1.27.1.3.2.1.3.1.4 # Hardware
- 1.3.6.1.4.1.318.1.1.27.1.3.2.1.3.1.5 # Manufacture Date
oid: 1.3.6.1.4.1.318.1.1.27.1.3.2.1.3.1.1
type: DisplayString
help: IRC model number.
- name: apcIRCSerialNumber
oid: 1.3.6.1.4.1.318.1.1.27.1.3.2.1.3.1.2
type: DisplayString
help: IRC serial number.
- name: apcIRCFirmwareVersion
oid: 1.3.6.1.4.1.318.1.1.27.1.3.2.1.3.1.3
type: DisplayString
help: IRC firmware version.
- name: apcIRCHardwareRevision
oid: 1.3.6.1.4.1.318.1.1.27.1.3.2.1.3.1.4
type: DisplayString
help: IRC hardware version.
- name: apcIRCManufactureDate
oid: 1.3.6.1.4.1.318.1.1.27.1.3.2.1.3.1.5
type: DisplayString
help: IRC manufacture date.
I can use this displaystring as a legend index, but I don’t know how to just put that info into a table.
Once I do this, can I do other queries and group them by the instance name, which is the ip, in each table row?
I was able to make the table display individual data fields, is there some way I can combine these?

