--- # prometheus_server_storage: # type: (zfs|lvm) # ... # prometheus_server_version: prometheus_server_retention: "15d" # prometheus_server_external_labels: # environment: foo # monitor: {{ inventory_hostname }} prometheus_server_jobs: - node #prometheus_server_jobs_extra: | # - job_name: ... prometheus_server_rules: prometheus: "{{ prometheus_server_rules_prometheus + ((prometheus_server_alertmanager is defined) | ternary(prometheus_server_rules_prometheus_alertmanager, [])) + prometheus_server_rules_prometheus_extra }}" node: "{{ prometheus_server_rules_node + prometheus_server_rules_node_extra }}" openwrt: "{{ prometheus_server_rules_openwrt + prometheus_server_rules_openwrt_extra }}" nut: "{{ prometheus_server_rules_nut + prometheus_server_rules_nut_extra }}" nut/ups: "{{ prometheus_server_rules_nut__ups + prometheus_server_rules_nut__ups_extra }}" blackbox: "{{ prometheus_server_rules_blackbox + prometheus_server_rules_blackbox_extra }}" blackbox/probe: "{{ prometheus_server_rules_blackbox__probe + prometheus_server_rules_blackbox__probe_extra }}" ipmi: "{{ prometheus_server_rules_ipmi + prometheus_server_rules_ipmi_extra }}" ipmi/remote: "{{ prometheus_server_rules_ipmi__remote + prometheus_server_rules_ipmi__remote_extra }}" ssl: "{{ prometheus_server_rules_ssl + prometheus_server_rules_ssl_extra }}" ssl/probe: "{{ prometheus_server_rules_ssl__probe + prometheus_server_rules_ssl__probe_extra }}" smokeping: "{{ prometheus_server_rules_smokeping + prometheus_server_rules_smokeping_extra }}" bind: "{{ prometheus_server_rules_bind + prometheus_server_rules_bind_extra }}" snmp: "{{ prometheus_server_rules_snmp + prometheus_server_rules_snmp_extra }}" snmp/probe: "{{ prometheus_server_rules_snmp__probe + prometheus_server_rules_snmp__probe_extra }}" # prometheus_server_alertmanager: # url: "127.0.0.1:9093" # path_prefix: / # basic_auth: # username: server # password: geheim prometheus_server_web_listen_address: 127.0.0.1:9090 # prometheus_server_web_route_prefix: /prometheus/ # prometheus_server_web_external_url: https://mon.example.com/prometheus/ # prometheus_server_auth_users: # server: changeme # admin: secret # prometheus_server_selfscraping_auth: # username: server # password: changme # prometheus_server_federation: # somehost: # scheme: http # url: 192.2.0.1:9000 # path_prefix: /prometheus # basic_auth: # username: federate # password: secret # jobs: # - node # - blackbox