diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-09-24 12:56:42 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-09-24 12:56:42 +0200 |
commit | bb9f5e0b165895e748ca1e6d83c1b3404c7cef71 (patch) | |
tree | 888e56ce86433443a0746ab4789e46b5bf29a622 /roles/monitoring/prometheus/exporter/node/templates | |
parent | add some alert rule for newly added node exporter metrics (diff) |
also run new textcollector scripts after reboot
Diffstat (limited to 'roles/monitoring/prometheus/exporter/node/templates')
2 files changed, 2 insertions, 0 deletions
diff --git a/roles/monitoring/prometheus/exporter/node/templates/textfile-collector-scripts/apt.timer.j2 b/roles/monitoring/prometheus/exporter/node/templates/textfile-collector-scripts/apt.timer.j2 index 5e7d3062..b8a9c34e 100644 --- a/roles/monitoring/prometheus/exporter/node/templates/textfile-collector-scripts/apt.timer.j2 +++ b/roles/monitoring/prometheus/exporter/node/templates/textfile-collector-scripts/apt.timer.j2 @@ -2,6 +2,7 @@ Description=Promethues node exporter textfile collector apt [Timer] +OnBootSec=50s OnCalendar=*-*-* *:1/30:17 AccuracySec=10s diff --git a/roles/monitoring/prometheus/exporter/node/templates/textfile-collector-scripts/deleted-libraries.timer.j2 b/roles/monitoring/prometheus/exporter/node/templates/textfile-collector-scripts/deleted-libraries.timer.j2 index 8f38050a..1646ac73 100644 --- a/roles/monitoring/prometheus/exporter/node/templates/textfile-collector-scripts/deleted-libraries.timer.j2 +++ b/roles/monitoring/prometheus/exporter/node/templates/textfile-collector-scripts/deleted-libraries.timer.j2 @@ -2,6 +2,7 @@ Description=Promethues node exporter textfile collector deleted-libraries [Timer] +OnBootSec=60s OnCalendar=*-*-* *:2/30:22 AccuracySec=10s |