Browse Source

Merge "Report swap metrics in bytes"

tags/2017.4
Ales Komarek 7 years ago
parent
commit
d390985ef1
2 changed files with 10 additions and 0 deletions
  1. +8
    -0
      linux/files/collectd_swap.conf
  2. +2
    -0
      linux/meta/collectd.yml

+ 8
- 0
linux/files/collectd_swap.conf View File

@@ -0,0 +1,8 @@
<LoadPlugin swap>
Globals false
</LoadPlugin>

<Plugin swap>
ReportBytes {{ plugin.get('report_bytes', False)|lower }}
</Plugin>


+ 2
- 0
linux/meta/collectd.yml View File

@@ -40,3 +40,5 @@ local_plugin:
ignore_selected: True
linux_storage_swap:
plugin: swap
template: linux/files/collectd_swap.conf
report_bytes: True

Loading…
Cancel
Save