apply Notification "matrix" to Host {
  import "matrix-host-notification"

  users = [ "matrix" ]

  interval = 4h

  assign where host.address && host.vars.enable_nofitications != false
}


apply Notification "matrix" to Service {
  import "matrix-service-notification"

  users = [ "matrix" ]

  interval = 4h

  assign where service.name && service.vars.enable_nofitications != false
}