summaryrefslogtreecommitdiffstats
path: root/collectors/macos.plugin/macos_sysctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/macos.plugin/macos_sysctl.c')
-rw-r--r--collectors/macos.plugin/macos_sysctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/collectors/macos.plugin/macos_sysctl.c b/collectors/macos.plugin/macos_sysctl.c
index 42f01d85a..520d2f938 100644
--- a/collectors/macos.plugin/macos_sysctl.c
+++ b/collectors/macos.plugin/macos_sysctl.c
@@ -260,12 +260,12 @@ int do_macos_sysctl(int update_every, usec_t dt) {
if (likely(do_swap)) {
if (unlikely(GETSYSCTL_BY_NAME("vm.swapusage", swap_usage))) {
do_swap = 0;
- collector_error("DISABLED: system.swap");
+ collector_error("DISABLED: mem.swap");
} else {
- st = rrdset_find_active_localhost("system.swap");
+ st = rrdset_find_active_localhost("mem.swap");
if (unlikely(!st)) {
st = rrdset_create_localhost(
- "system"
+ "mem"
, "swap"
, NULL
, "swap"