@cryptotaxi247 / netdata-1 / commits / b7b423773

smartd documentation improvements (#6207)

smartd files additional info

Chris Akritidis committed Jun 4, 2019 at 09:54 UTC b7b4237732c05443807f7ab6679a3bd3dabbc50c
1 file changed +5 -2
collectors/python.d.plugin/smartd_log/README.md
+5 -2
@@ -85,8 +85,11 @@ For this you need to set `smartd_opts` (or `SMARTD_ARGS`, check _smartd.service_
85 # dump smartd attrs info every 600 seconds
86 smartd_opts="-A /var/log/smartd/ -i 600"
87 ```
88 -You may need to create the smartd directory before smartd will write to it:
89 -`mkdir -p /var/log/smartd`
88 +You may need to create the smartd directory before smartd will write to it:
89 +```
90 +mkdir -p /var/log/smartd
91 +```
92 +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.
93
94 `smartd` appends logs at every run. It's strongly recommended to use `logrotate` for smartd files.
95