summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/exporter/node/templates/textfile-collector-scripts/smartmon.timer.j2
blob: 438da6b06c7b874633dfbc6bb96dd9b822f09712 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Promethues node exporter textfile collector smartmon
ConditionPathExists=/usr/sbin/smartctl
ConditionPathExistsGlob=|/dev/sd*
ConditionPathExistsGlob=|/dev/hd*
ConditionPathExistsGlob=|/dev/nvme*

[Timer]
OnBootSec=30s
OnUnitActiveSec=15min

[Install]
WantedBy=timers.target