Monitor iLO using SNMP #89
2 changed files with 18 additions and 0 deletions
|
@ -140,4 +140,21 @@ scrape_configs:
|
|||
- target_label: __address__
|
||||
replacement: 127.0.0.1:9116
|
||||
|
||||
- job_name: ipmi
|
||||
file_sd_configs:
|
||||
- files:
|
||||
- '/etc/prometheus/targets_ipmi.json'
|
||||
metrics_path: /metrics
|
||||
params:
|
||||
module: [default]
|
||||
relabel_configs:
|
||||
# Do not put :9290 in instance name, rather here
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- source_labels: [__param_target]
|
||||
target_label: __address__
|
||||
replacement: '$1:9290'
|
||||
|
||||
...
|
||||
|
|
|
@ -39,4 +39,5 @@ scrape_configs:
|
|||
- '{job="apc_pdu_snmp"}'
|
||||
- '{job="docker"}'
|
||||
- '{job="switch_snmp"}'
|
||||
- '{job="ipmi"}'
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue