HEX
Server: Apache
System: Linux pdx1-shared-a2-09 6.6.116-grsec-jammy-dirty #1 SMP Sat Nov 8 00:02:42 UTC 2025 x86_64
User: dh_pvsc7i (5084578)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //etc/systemd/system/smartctl_exporter.service
#
# Ansible managed
#

[Unit]
Description=Prometheus Smartctl Exporter
After=network-online.target

[Service]
Type=simple
User=root
Group=root
ExecStart=/usr/local/bin/smartctl_exporter \
    '--smartctl.path=/usr/sbin/smartctl' \
    '--smartctl.interval=60s' \
    '--smartctl.rescan=10m' \
    '--smartctl.device-exclude=' \
    '--smartctl.device-include=' \
    '--web.listen-address=0.0.0.0:9633' \
    '--web.telemetry-path=/metrics' \
    '--log.level=error' \
    '--log.format=logfmt'

SyslogIdentifier=smartctl_exporter
Restart=always
RestartSec=1
StartLimitInterval=0

ProtectHome=yes
NoNewPrivileges=yes

ProtectSystem=strict
ProtectControlGroups=true
ProtectKernelModules=true
ProtectKernelTunables=yes

[Install]
WantedBy=multi-user.target