Monitor `synology` NAS.

This commit is contained in:
Kazuhiro MUSASHI 2020-10-24 13:14:40 +09:00
parent 3aa5a8bb09
commit eb9b904f4f
1 changed files with 15 additions and 0 deletions

View File

@ -66,6 +66,21 @@ scrape_configs:
services: services:
- 'grafana' - 'grafana'
- job_name: 'synology'
static_configs:
- targets:
- 192.168.10.200 # SNMP device.
metrics_path: /snmp
params:
module: [synology]
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: 127.0.0.1:9116 # The SNMP exporter's real hostname:port.
alerting: alerting:
alertmanagers: alertmanagers:
- static_configs: - static_configs: