swap plugin: Added `ReportIO` option
authorIvan Kurnosov <zerkms@zerkms.com>
Sat, 23 Sep 2017 05:32:14 +0000 (17:32 +1200)
committerIvan Kurnosov <zerkms@zerkms.com>
Sat, 23 Sep 2017 05:32:14 +0000 (17:32 +1200)
commit7379d64df50ef5bb6a4eb794732590f7a2cd1a56
tree6a3fb4944702c39030b6a6b8e2d9641f3f13f8d4
parent603d00c9b3956ccd8486d6e60c747e4dff1290f6
swap plugin: Added `ReportIO` option

lxc/lxd containers at the moment cannot properly report the swap io (the corresponding /proc/vmstat are not virtualized), so added an option to disable that reporting.
Enabled by default.

Closes: #2433
src/collectd.conf.in
src/collectd.conf.pod
src/swap.c