commit | c821693b4959e7ca2e910b1a4851de9b26ad4637 | [log] [tgz] |
---|---|---|
author | Éric Lemoine <elemoine@mirantis.com> | Wed Nov 23 16:20:49 2016 +0000 |
committer | Éric Lemoine <elemoine@mirantis.com> | Wed Nov 23 16:20:52 2016 +0000 |
tree | 55c03722c04fc91d4cf9020e81edae9cb7338e60 | |
parent | 38bad318545480165d809a1b30c4ad4fa9f3dc7c [diff] |
Set actual swap_size in collectd decoder Salt does not create Swap-related grains, but the "ps" module has a "swap_memory" function that can be used to get Swap data. This commit uses that function to set swap_size in the collectd decoder.