Add Synology NAS monitoring

This commit is contained in:
Leon Morten Richter 2021-08-01 15:00:09 +02:00
parent 0b8c8b4662
commit 7c8b4dfac5
No known key found for this signature in database
GPG key ID: 268100ABB6E5776A
6 changed files with 10202 additions and 4 deletions

View file

@ -28,4 +28,26 @@ scrape_configs:
# scheme defaults to 'http'.
static_configs:
- targets: ['mikrotik_exporter:9436', 'mktxp:49090']
- targets: ['mikrotik_exporter:9436', 'mktxp:49090']
# This job queries the Synology Exporter
- job_name: 'synology-snmp'
static_configs:
- targets:
- 192.168.0.114 # Actual IP of the Synology NAS
# Non default metrics path
# Full URL looks something like: http://<EXPORTER_IP>:9116/snmp?module=synology&target=<NAS_IP>
metrics_path: /snmp
params:
module: [synology] # Tell the exporter to use the synology module
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: synology_snmp:9116 # SNMP exporter's hostname:port.