summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/exporter/node/templates/textfile-collector-scripts
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-09-25 19:11:28 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-09-25 19:11:57 +0200
commit4921bb0dc32811aa40cf07ec8ad83f6f197ada0e (patch)
tree1abceabc8a7922b97499bd18155c201c444caa53 /roles/monitoring/prometheus/exporter/node/templates/textfile-collector-scripts
parentadd prometheus exporter IPMI (diff)
disabling smartmon textfile collector by default since this can lead to idempotence issues with systemd that don't have smartcl installed
Diffstat (limited to 'roles/monitoring/prometheus/exporter/node/templates/textfile-collector-scripts')
-rw-r--r--roles/monitoring/prometheus/exporter/node/templates/textfile-collector-scripts/smartmon.timer.j24
1 files changed, 0 insertions, 4 deletions
diff --git a/roles/monitoring/prometheus/exporter/node/templates/textfile-collector-scripts/smartmon.timer.j2 b/roles/monitoring/prometheus/exporter/node/templates/textfile-collector-scripts/smartmon.timer.j2
index 438da6b0..576f5a9f 100644
--- a/roles/monitoring/prometheus/exporter/node/templates/textfile-collector-scripts/smartmon.timer.j2
+++ b/roles/monitoring/prometheus/exporter/node/templates/textfile-collector-scripts/smartmon.timer.j2
@@ -1,9 +1,5 @@
[Unit]
Description=Promethues node exporter textfile collector smartmon
-ConditionPathExists=/usr/sbin/smartctl
-ConditionPathExistsGlob=|/dev/sd*
-ConditionPathExistsGlob=|/dev/hd*
-ConditionPathExistsGlob=|/dev/nvme*
[Timer]
OnBootSec=30s