defiant/prometheus: bundle snmp-exporter config for synology

This commit is contained in:
Felix Albrigtsen 2024-08-02 22:06:37 +02:00
parent 26545b781f
commit 54722a84d9
2 changed files with 1666 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,10 @@
{
services.prometheus.exporters.snmp = {
enable = true;
configurationPath = "/tank/services/metrics/prometheus/snmp.yml";
# snmp.yml = https://github.com/prometheus/snmp_exporter/blob/main/snmp.yml + https://global.download.synology.com/download/Document/Software/DeveloperGuide/Firmware/DSM/All/enu/Synology_DiskStation_MIB_Guide.pdf
configurationPath = ./snmp-exporter-conf.yml;
# snmp.yml is built from
# https://github.com/prometheus/snmp_exporter/blob/main/snmp.yml
# and
# https://global.download.synology.com/download/Document/Software/DeveloperGuide/Firmware/DSM/All/enu/Synology_DiskStation_MIB_Guide.pdf
};
}