HEX
Server: Apache
System: Linux iad1-shared-e1-26 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User: ricpug (13815490)
PHP: 7.4.33
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