Add note to make smartd directory (#6203)
* Fix incorrect module name: energi I think this should be "energid" because that is the name of the module and currently setting it to "no" in the config file does not turn it off. * Update charts.d.conf Add apcupsd and libreswan to conf as default enabled. * Update apcupsd.chart.sh * final fixes * final fixes * Add note to make smartd directory At least on Ubuntu if you do not create this dir manually, all the .csv files get written to /var/lib/smartmontools as the default location.
Steve8291 committed
Jun 4, 2019 at 03:41 UTC
664fff7661fb2645b79b2dcce31d98c5d601da5c
1 file changed
+2
-1
collectors/python.d.plugin/smartd_log/README.md
+2
-1
@@ -85,7 +85,8 @@ 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
-
88
+You may need to create the smartd directory before smartd will write to it:
89
+`mkdir -p /var/log/smartd`
90
91
`smartd` appends logs at every run. It's strongly recommended to use `logrotate` for smartd files.
92