API Key for octoprint
This commit is contained in:
@@ -49,6 +49,8 @@ prometheus:
|
|||||||
- drucki.chaos:3903
|
- drucki.chaos:3903
|
||||||
- job_name: octoprint
|
- job_name: octoprint
|
||||||
metrics_path: '/plugin/prometheus_exporter/metrics'
|
metrics_path: '/plugin/prometheus_exporter/metrics'
|
||||||
|
params:
|
||||||
|
apikey: ['30E8B01BFD674E5BBD446D08C4730DF4']
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- drucki.chaos:80
|
- drucki.chaos:80
|
||||||
@@ -61,7 +63,7 @@ prometheus:
|
|||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- dumont.chaos:9100
|
- dumont.chaos:9100
|
||||||
- dumont2.chaos:9100
|
#- dumont2.chaos:9100
|
||||||
{% set roles = salt.saltutil.runner('mine.get',
|
{% set roles = salt.saltutil.runner('mine.get',
|
||||||
tgt='*',
|
tgt='*',
|
||||||
fun='chaos_roles',
|
fun='chaos_roles',
|
||||||
|
|||||||
Reference in New Issue
Block a user