Deactivated service still shows up in the serviceproblems section in the dashboard

Hi,

initially i wanted to monitor the update status with the windows-update checker from icinga. However, scince the checker and the update service need a long time to check i didn’t want to use it anymore. Therefore, i disabled/deactivated the checker via the Director in order to have the check out of the “Serviceproblem”-Tab in the Dashboard.

Problem is, that even after disabling the checker, the service is still shown in the serviceproblem section. How do i remove it from there permanently?

  • Icinga Web 2 version
  • Used modules and their versions (System - About)
    Icinga Web 2 Version 2.12.1
    director 1.11.1
    icingadb 1.1.3
  • Web browser used
    Edge
  • Icinga 2 version used (icinga2 --version)
    The Icinga 2 network monitoring daemon (version: r2.14.2-1)
  • PHP version used (php --version)
    PHP 7.4.33
  • Server operating system and version
    Platform: Debian GNU/Linux
    Platform version: 11 (bullseye)
    Kernel: Linux
    Kernel version: 5.10.0-32-amd64
  • did you deloy your changes?
  • was the deployment successful?

Yes, the deployments was successfull.
Other steps i tried are restarting icinga2 aswell as apache.
icinga2 daemon -C shows no errors.

do you have a ha-environment (2-master-setup)?

Nope, only 1 master without sattelites.

what is the output of:

grep -Ril win-update /var/lib/icinga2/api/packages/

Thats the output:

/var/lib/icinga2/api/packages/director/adcf5cc3-8bc8-434a-ac84-0fae16e45748/zones.d/director-global/servicesets.conf
/var/lib/icinga2/api/packages/director/adcf5cc3-8bc8-434a-ac84-0fae16e45748/zones.d/director-global/service_templates.conf
/var/lib/icinga2/api/packages/director/51c7d6a8-8dc6-4719-b964-ce45fceb37b2/zones.d/director-global/servicesets.conf
/var/lib/icinga2/api/packages/director/51c7d6a8-8dc6-4719-b964-ce45fceb37b2/zones.d/director-global/service_templates.conf

DISCLAIMER: You are doing this at your own risk!

looks like you have 2 director configs deployed.

I would make a backup, delete this folder (‘/var/lib/icinga2/api/packages/director’) and redeploy the director config.

Removed the folder.
Then deployed (without changes)

now the director folder shows only one config but the win-update check is still in the dashboard.

restarted the icinga2 service and daemon -C has no errors

do that again:
what is the output of:

grep -Ril win-update /var/lib/icinga2/api/packages/

/var/lib/icinga2/api/packages/director/3da455bb-88e0-4dd2-81f4-e759cf25bf2d/zones.d/director-global/servicesets.conf
/var/lib/icinga2/api/packages/director/3da455bb-88e0-4dd2-81f4-e759cf25bf2d/zones.d/director-global/service_templates.conf

can you post the relevant parts or all of it of the two files?