Prometheus snmp-exporter Docker image with Synology DS-1621+ config baked in
5.4K
Prometheus snmp-exporter Docker image with Synology DS-1621+ config baked in.
Docker Image: https://hub.docker.com/r/jantman/prometheus-snmp-exporter-synology-ds1621
Source Code: https://github.com/jantman/prometheus-snmp-exporter-synology-ds1621
This repository generates a Docker image based on https://github.com/prometheus/snmp_exporter ( https://hub.docker.com/r/prom/snmp-exporter ), but with a baked-in snmp.yml suitable for Synology NASes running DSM 7 (tested against a DS-1621+ running DSM 7.1.1).
I've used this quite successfully with this Grafana dashboard: https://grafana.com/grafana/dashboards/14284-synology-nas-details/
To run this on the Synology itself via the Docker package, the container must be running with "host" networking. Port 9116 should be exposed.
You can then use a prometheus.yml entry like the following, where MYNAS is the hostname of your NAS:
- job_name: 'synology_snmp'
scrape_interval: 30s
metrics_path: /snmp
params:
module: [ synology ]
static_configs:
- targets:
- MYNAS
relabel_configs:
- source_labels: [ __address__ ]
target_label: __param_target
- source_labels: [ __param_target ]
target_label: instance
- target_label: __address__
replacement: 'MYNAS:9116'
Content type
Image
Digest
sha256:5c429bacf…
Size
9.4 MB
Last updated
over 3 years ago
docker pull jantman/prometheus-snmp-exporter-synology-ds1621