Browse Source

Report swap metrics in bytes

Change-Id: Ic39fa0f18e0d9aeca0ef73ae6d985d12d15a1c3a
tags/2017.4
Simon Pasquier 7 years ago
parent
commit
89b97640d0
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

<LoadPlugin swap>
Globals false
</LoadPlugin>

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


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

ignore_selected: True ignore_selected: True
linux_storage_swap: linux_storage_swap:
plugin: swap plugin: swap
template: linux/files/collectd_swap.conf
report_bytes: True

Loading…
Cancel
Save