mirror of
https://github.com/netdata/netdata.git
synced 2025-04-28 14:42:31 +00:00
parent
664fff7661
commit
b7b4237732
1 changed files with 5 additions and 2 deletions
|
@ -85,8 +85,11 @@ For this you need to set `smartd_opts` (or `SMARTD_ARGS`, check _smartd.service_
|
|||
# dump smartd attrs info every 600 seconds
|
||||
smartd_opts="-A /var/log/smartd/ -i 600"
|
||||
```
|
||||
You may need to create the smartd directory before smartd will write to it:
|
||||
`mkdir -p /var/log/smartd`
|
||||
You may need to create the smartd directory before smartd will write to it:
|
||||
```
|
||||
mkdir -p /var/log/smartd
|
||||
```
|
||||
Otherwise, all the smartd `.csv` files may get written to `/var/lib/smartmontools` (default location). See also [https://linux.die.net/man/8/smartd](https://linux.die.net/man/8/smartd) for more info on the `-A --attributelog=PREFIX` command.
|
||||
|
||||
`smartd` appends logs at every run. It's strongly recommended to use `logrotate` for smartd files.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue