Report swap metrics in bytes

Change-Id: Ic39fa0f18e0d9aeca0ef73ae6d985d12d15a1c3a
diff --git a/linux/files/collectd_swap.conf b/linux/files/collectd_swap.conf
new file mode 100644
index 0000000..8f96465
--- /dev/null
+++ b/linux/files/collectd_swap.conf
@@ -0,0 +1,8 @@
+<LoadPlugin swap>
+  Globals false
+</LoadPlugin>
+
+<Plugin swap>
+  ReportBytes {{ plugin.get('report_bytes', False)|lower }}
+</Plugin>
+
diff --git a/linux/meta/collectd.yml b/linux/meta/collectd.yml
index 5410d2a..2555825 100644
--- a/linux/meta/collectd.yml
+++ b/linux/meta/collectd.yml
@@ -40,3 +40,5 @@
     ignore_selected: True
   linux_storage_swap:
     plugin: swap
+    template: linux/files/collectd_swap.conf
+    report_bytes: True