From 8a65238577260952dfa54a9bd75938bb03e114b3 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 9 Jul 2021 05:56:55 -0700 Subject: [PATCH] hardware: disable checking swap on hardware for now RHEL8 kernels on virthosts in particular are aggressive about filling up swap. This causes no issues, but is causing a lot of alert fatigue. Ideally we would switch all swap checks to swap+memory free checks of some sort. We should look at that when moving to zabbix. Signed-off-by: Kevin Fenzi --- inventory/group_vars/hardware | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 inventory/group_vars/hardware diff --git a/inventory/group_vars/hardware b/inventory/group_vars/hardware new file mode 100644 index 0000000000..7610d508b9 --- /dev/null +++ b/inventory/group_vars/hardware @@ -0,0 +1,6 @@ +--- +# +# Do not check swap on hardware machines. Recent rhel8 kernels favor filling swap up which causes a bunch of alerts. +# +nagios_Check_Services: + swap: false