From 06f936e8d18b4b7a213ccdc96096aade1c3ba5d4 Mon Sep 17 00:00:00 2001 From: Robin Sonnabend <robin@fsmpi.rwth-aachen.de> Date: Fri, 17 Dec 2021 16:59:33 +0100 Subject: [PATCH] Do not execute the needrestart cronjob every minute --- node_exporter/tasks/needrestart.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/node_exporter/tasks/needrestart.yml b/node_exporter/tasks/needrestart.yml index 32688cb..1ee2a4c 100644 --- a/node_exporter/tasks/needrestart.yml +++ b/node_exporter/tasks/needrestart.yml @@ -43,6 +43,7 @@ job: >- /usr/local/bin/needrestart2prom -outfile /var/lib/prometheus/node-exporter/needrestart.prom + special_time: "hourly" tags: - prometheus - prometheus-exporter -- GitLab