HEX
Server: Apache
System: Linux iad1-shared-b8-22 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User: dh_7uh9vd (6523960)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //etc/systemd/system/multi-user.target.wants/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