Disable notifications queue

Hi guys.

CEE 2.2.0

I just want to take that “queued notifications” to ZERO. Is there a real method?

I did all this:

  1. disable mkeventd (just in case)

  2. disable notifications on “master control”

  3. remove the only rule inside “Setup → Events → Notification Configuration”

  4. stop the site, delete: ~/var/check_mk/notify/backlog.mk, and start the site again

The number keeps rising :frowning:

Don’t know what else to do.

Thank you!!!

Hey @gera83 ,

the issue is that you’re deleting the wrong file. In CEE, the
notification spooler (mknotifyd) works asynchronously — queued
notifications are stored as individual spool files in:

~/var/check_mk/notify/spool/

not in backlog.mk. The Checkmk docs confirm this:

To clear the queue:

omd stop
rm ~/var/check_mk/notify/spool/*
rm ~/var/log/mknotifyd.state
omd start

Deleting the spool files is the officially documented approach —
Checkmk itself recommends it in Werk #8638:

The mknotifyd.state file holds the spooler’s internal state (written
every 20 seconds) including the queue counter — deleting it forces a
clean reset (Werk #2041: Werk #2041: Notification Spooler can now handle incoming and outgoing persistent TCP connections).

backlog.mk is only relevant for the synchronous notification path
(Nagios core / CRE), not for the CEE notification spooler.

Greetz Bernd