Ajout de l'auth imprimante et retrait du monitoring UPS
parent
0d83318845
commit
59f9789f75
|
|
@ -226,6 +226,8 @@ loc_prometheus:
|
||||||
params:
|
params:
|
||||||
module:
|
module:
|
||||||
- printer_mib
|
- printer_mib
|
||||||
|
auth:
|
||||||
|
- auth_printer
|
||||||
relabel_configs:
|
relabel_configs:
|
||||||
- source_labels: [__address__]
|
- source_labels: [__address__]
|
||||||
target_label: __param_target
|
target_label: __param_target
|
||||||
|
|
@ -261,22 +263,22 @@ loc_prometheus:
|
||||||
retention_time: "180d"
|
retention_time: "180d"
|
||||||
retention_size: "200GB"
|
retention_size: "200GB"
|
||||||
|
|
||||||
ups_snmp:
|
#ups_snmp:
|
||||||
config:
|
# config:
|
||||||
- job_name: ups_snmp
|
# - job_name: ups_snmp
|
||||||
file_sd_configs:
|
# file_sd_configs:
|
||||||
- files:
|
# - files:
|
||||||
- '/etc/prometheus/targets/ups_snmp.json'
|
# - '/etc/prometheus/targets/ups_snmp.json'
|
||||||
metrics_path: '/snmp'
|
# metrics_path: '/snmp'
|
||||||
params:
|
# params:
|
||||||
module:
|
# module:
|
||||||
- apc
|
# - apc
|
||||||
relabel_configs:
|
# relabel_configs:
|
||||||
- source_labels:
|
# - source_labels:
|
||||||
- __address__
|
# - __address__
|
||||||
target_label: __param_target
|
# target_label: __param_target
|
||||||
- source_labels:
|
# - source_labels:
|
||||||
- __param_target
|
# - __param_target
|
||||||
target_label: instance
|
# target_label: instance
|
||||||
- replacement: 127.0.0.1:9116
|
# - replacement: 127.0.0.1:9116
|
||||||
target_label: __address__
|
# target_label: __address__
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,13 @@ auths:
|
||||||
auth_protocol: SHA
|
auth_protocol: SHA
|
||||||
priv_protocol: AES
|
priv_protocol: AES
|
||||||
priv_password: {{ snmp_exporter.ilo_priv_password }}
|
priv_password: {{ snmp_exporter.ilo_priv_password }}
|
||||||
|
auth_printer:
|
||||||
|
auth_printer:
|
||||||
|
community: public
|
||||||
|
security_level: noAuthNoPriv
|
||||||
|
auth_protocol: MD5
|
||||||
|
priv_protocol: DES
|
||||||
|
version: 2
|
||||||
|
|
||||||
|
|
||||||
eatonups:
|
eatonups:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue