Configuration
global:
scrape_interval: 15s
scrape_timeout: 10s
evaluation_interval: 20s
alerting:
alertmanagers:
- static_configs:
- targets: []
scheme: http
timeout: 10s
rule_files:
- /home/conf/rules/*.yml
scrape_configs:
- job_name: prometheus
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- localhost:9090
labels:
instance: prometheus
- targets:
- localhost:9100
labels:
instance: prometheus-node
- job_name: hpevc
params:
module:
- 60sNoDescr
scrape_interval: 1m
scrape_timeout: 45s
metrics_path: /snmp
scheme: http
static_configs:
- targets:
- 77.87.108.70:9116
labels:
__tmp_target: 192.168.68.124
instance: hpevc1
- targets:
- 77.87.108.70:9116
labels:
__tmp_target: 192.168.68.123
instance: hpevc2
relabel_configs:
- source_labels: [__tmp_target]
separator: ;
regex: (.*)
target_label: __param_target
replacement: $1
action: replace
metric_relabel_configs:
- source_labels: [__name__]
separator: ;
regex: (.*)
target_label: __name__
replacement: hpevc_$1
action: replace
- job_name: mikrotik
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- localhost:9117
metric_relabel_configs:
- source_labels: [device, name]
separator: ;
regex: (.*)
target_label: instance
replacement: $1
action: replace
- separator: ;
regex: ^(name|device|address)$
replacement: $1
action: labeldrop
- job_name: targets
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /_metrics.php
scheme: http
file_sd_configs:
- files:
- /home/conf/targets/*.yml
refresh_interval: 1m
basic_auth:
username: prometheus
password: <secret>
relabel_configs:
- source_labels: [__tmp_token]
separator: ;
regex: (.*)
target_label: __param_token
replacement: $1
action: replace
- job_name: chunks
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /node
scheme: http
file_sd_configs:
- files:
- /home/conf/chunks/*.yml
refresh_interval: 1m
basic_auth:
username: prom
password: <secret>
- job_name: esnmp-apc
scrape_interval: 1m
scrape_timeout: 55s
metrics_path: /snmp/snmp.php
scheme: https
static_configs:
- targets:
- a.invoicing.pro
- job_name: esnmp-server
scrape_interval: 5m
scrape_timeout: 250s
metrics_path: /snmp/schel.php
scheme: https
static_configs:
- targets:
- a.invoicing.pro
- job_name: snmp5s
params:
module:
- 5s
scrape_interval: 5s
scrape_timeout: 3s
metrics_path: /snmp
scheme: http
file_sd_configs:
- files:
- /home/conf/snmps/*.yml
refresh_interval: 1m
relabel_configs:
- source_labels: [__address__]
separator: ;
regex: (.*)
target_label: __param_target
replacement: $1
action: replace
- separator: ;
regex: (.*)
target_label: __address__
replacement: 127.0.0.1:9116
action: replace
metric_relabel_configs:
- source_labels: [__name__]
separator: ;
regex: (.*)
target_label: __name__
replacement: snmp_$1
action: replace
- source_labels: [ifDescr]
separator: ;
regex: ^((10)?GigabitEthernet)(.+)$
target_label: ifDescr
replacement: ether$3
action: replace
- job_name: snmp15s
params:
module:
- 15s
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /snmp
scheme: http
file_sd_configs:
- files:
- /home/conf/snmps/*.yml
refresh_interval: 1m
relabel_configs:
- source_labels: [__address__]
separator: ;
regex: (.*)
target_label: __param_target
replacement: $1
action: replace
- separator: ;
regex: (.*)
target_label: __address__
replacement: 127.0.0.1:9116
action: replace
metric_relabel_configs:
- source_labels: [__name__]
separator: ;
regex: (.*)
target_label: __name__
replacement: snmp_$1
action: replace
- source_labels: [ifDescr]
separator: ;
regex: ^((10)?GigabitEthernet)(.+)$
target_label: ifDescr
replacement: ether$3
action: replace
- job_name: snmp60s
params:
module:
- 60s
scrape_interval: 1m
scrape_timeout: 45s
metrics_path: /snmp
scheme: http
file_sd_configs:
- files:
- /home/conf/snmps/*.yml
refresh_interval: 1m
relabel_configs:
- source_labels: [__address__]
separator: ;
regex: (.*)
target_label: __param_target
replacement: $1
action: replace
- separator: ;
regex: (.*)
target_label: __address__
replacement: 127.0.0.1:9116
action: replace
metric_relabel_configs:
- source_labels: [__name__]
separator: ;
regex: (.*)
target_label: __name__
replacement: snmp_$1
action: replace
- source_labels: [ifDescr]
separator: ;
regex: ^((10)?GigabitEthernet)(.+)$
target_label: ifDescr
replacement: ether$3
action: replace
- job_name: ne_varnish
scrape_interval: 1m
scrape_timeout: 55s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- 77.87.108.61:80
labels:
instance: ne-lb1a
- job_name: cosmo_blackbox
params:
module:
- http_2xx
target:
- http://127.0.0.1:26657/status
scrape_interval: 10s
scrape_timeout: 8s
metrics_path: /probe
scheme: http
static_configs:
- targets:
- localhost:10014
labels:
instance: cast-validator
- job_name: cosmo_node
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- localhost:10013
labels:
instance: cast-validator
- job_name: cosmo
scrape_interval: 3s
scrape_timeout: 2s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- localhost:10011
labels:
instance: cast-validator
- targets:
- localhost:10012
labels:
instance: cast-validator
- targets:
- localhost:10021
labels:
instance: cast-valid2
- targets:
- localhost:10022
labels:
instance: cast-valid2
- targets:
- localhost:10111
labels:
instance: aws-sin1-node1
- targets:
- localhost:10112
labels:
instance: aws-sin1-node1
- targets:
- localhost:10121
labels:
instance: aws-sin1-node2
- targets:
- localhost:10122
labels:
instance: aws-sin1-node2
- targets:
- localhost:10211
labels:
instance: aws-vir1-node1
- targets:
- localhost:10212
labels:
instance: aws-vir1-node1
- targets:
- localhost:10221
labels:
instance: aws-vir1-node2
- targets:
- localhost:10222
labels:
instance: aws-vir1-node2
- targets:
- localhost:10311
labels:
instance: ovh-fra1-node1
- targets:
- localhost:10312
labels:
instance: ovh-fra1-node1
- targets:
- localhost:10321
labels:
instance: ovh-fra1-node2
- targets:
- localhost:10322
labels:
instance: ovh-fra1-node2
- targets:
- localhost:10411
labels:
instance: cast-sentry1
- targets:
- localhost:10412
labels:
instance: cast-sentry1
- targets:
- localhost:10421
labels:
instance: cast-sentry2
- targets:
- localhost:10422
labels:
instance: cast-sentry2
- targets:
- localhost:10431
labels:
instance: cast-sentry3
- targets:
- localhost:10432
labels:
instance: cast-sentry3
- targets:
- localhost:10511
labels:
instance: cast-iris1
- targets:
- localhost:10512
labels:
instance: cast-iris1