File: prometheus-node-exporter.prometheus-node-exporter-smartmon.timer

package info (click to toggle)
prometheus-node-exporter 0.17.0%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,576 kB
  • sloc: ansic: 1,377; sh: 868; python: 304; makefile: 182; awk: 60; asm: 2
file content (14 lines) | stat: -rw-r--r-- 357 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Run smart metrics collection every 15 minutes
ConditionPathExists=/usr/sbin/smartctl
ConditionPathExistsGlob=|/dev/sd*
ConditionPathExistsGlob=|/dev/hd*
# TODO: Figure out if NVMe returns usable metrics through smartmon.sh.
#ConditionPathExistsGlob=|/dev/nvme*

[Timer]
OnBootSec=0
OnUnitActiveSec=15min

[Install]
WantedBy=timers.target