Monitor `synology` NAS.
This commit is contained in:
parent
3aa5a8bb09
commit
eb9b904f4f
|
@ -66,6 +66,21 @@ scrape_configs:
|
|||
services:
|
||||
- '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:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
|
|
Loading…
Reference in New Issue