Category Archives: icinga2

icinga2 disable swap check

I had to disable swap check for one of my hosts.
This is how I’v done it.

nano /etc/icinga2/conf.d/services.conf
apply Service "swap" {
  import "generic-service"

  check_command = "swap"

  assign where == NodeName
  ignore where == "my_host"
service icinga2 restart

on icinga2 service.conf I’v added the following line ignore where == “my_host” and then restarted icinga2