Hi Ben,
Thank you very much for your time and effort.
Indeed, I am not an expert in snmp (that was always somehow left on TODO list). Maybe this is a good opportunity to fill in the gaps in knowledge. :)
The thing is... With snmp.yml which comes as a result of that snmp_exporter role, I do get some communication with Synology from Prometheus, but the list is pretty awkward.
I see no info about disks and raid.
However, if I run snmpget from Prometheus/snmp_exporter node against Synology, I can read values documented by Synology.
For example, disk temperature (disk0 and disk1):
root@monnew:/# snmpget -c public -v 2c -O qv 192.168.10.187 1.3.6.1.4.1.6574.2.1.1.6.0
29
root@monnew:/# snmpget -c public -v 2c -O qv 192.168.10.187 1.3.6.1.4.1.6574.2.1.1.6.1
31
Or some info:
root@monnew:/# snmpget -c public -v 2c -O qv 192.168.10.187 1.3.6.1.4.1.6574.1.5.1.0
"DS216j"
The question why snmp_exporter is returning only a small portion of values data from Synology is, I presume, related to the snmp.yml file.
How to generate the right one is an enigma. :/
Attaching snmp.yml provisioned by snmp_exporter role for the reference.
Best regards,
Mario.