Open
Description
run smartctl exporter in systemd
[Service] Type=simple ExecStart=/usr/local/bin/smartctl_exporter.sh User=root Group=root SyslogIdentifier=smartctl_exporter Restart=on-failure
file /usr/local/bin/smartctl_exporter.sh
#!/bin/bash /usr/local/bin/smartctl_exporter --web.listen-address=:19633 --smartctl.device="/dev/sda;cciss,0" --smartctl.device="/dev/sdb;cciss,0" --smartctl.device="/dev/sdc;cciss,0"
when run command "systemctl restart smartctl_exporter"
journalctl -u smartctl_exporter get as follow:
03-31T15:01:56.188Z level=WARN source=readjson.go:71 msg="S.M.A.R.T. output reading" err="signal: segmentation fault" device="/dev/sdc;cciss,0 (sdc_cciss_0)"
Metadata
Metadata
Assignees
Labels
No labels