rename entrouvert-exporter as system-exporter
(but keep writing to entrouvert.prom for compatibility)
This commit is contained in:
parent
d7b52777d5
commit
e0975b8d27
|
@ -1 +1 @@
|
|||
prometheus-entrouvert-exporter/prometheus-entrouvert-exporter.py usr/bin
|
||||
prometheus-entrouvert-exporter/prometheus-system-exporter.py usr/bin
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
[Unit]
|
||||
Description=Collect system metrics
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/bash -c "/usr/bin/prometheus-system-exporter.py | sponge /var/lib/prometheus/node-exporter/entrouvert.prom"
|
|
@ -1,5 +1,5 @@
|
|||
[Unit]
|
||||
Description=Run entrouvert metrics collection every 15 minutes
|
||||
Description=Run system metrics collection every 15 minutes
|
||||
|
||||
[Timer]
|
||||
OnBootSec=0
|
|
@ -1,6 +0,0 @@
|
|||
[Unit]
|
||||
Description=Collect Entrouvert metrics
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/bash -c "/usr/bin/prometheus-entrouvert-exporter.py | sponge /var/lib/prometheus/node-exporter/entrouvert.prom"
|
|
@ -6,3 +6,6 @@
|
|||
override_dh_auto_build:
|
||||
dh_auto_build
|
||||
cd sysadmin-doc; make html
|
||||
|
||||
override_dh_installsystemd:
|
||||
dh_installsystemd --name=prometheus-system-exporter
|
||||
|
|
Loading…
Reference in New Issue