Servicegroups in IcingaWeb2 will not update

I defined a couple of ServiceGroups in a conf file.
These work fine. If I curl the API all configured ServiceGroups are bound
correctly to the service. After changing something and asking the API
I can directly see the changes made before.
But not on Icingaweb. Some groups are there, some groups are missing.
I restarted Icinga, Apache and MySQL but the groups stay the same.

  • Icinga Web 2 version
    icingaweb2 2.8.2-1.bionic

  • Used modules and their versions (System - About)
    |businessprocess |2.3.0|
    |director |1.8.1|
    |fileshipper |1.2.0|
    |graphite |1.1.0|
    |incubator |0.6.0|
    |ipl |v0.5.0|
    |monitoring |2.8.2|
    |reactbundle |0.7.0|
    |vspheredb |1.1.0|
    |x509 |1.0.0 |

  • Web browser used
    90.0.1 (64-bit)

  • Icinga 2 version used (icinga2 --version)
    icinga2 - The Icinga 2 network monitoring daemon (version: r2.12.5-1)

  • PHP version used (php --version)
    PHP 7.2.24-0ubuntu0.18.04.8

  • Server operating system and version
    Ubuntu 18.04.5 LTS

1 Like

Have you looked at Api - Icinga 2 ?

We use the director for this sort of thing, but I think you just have to create a config package after creating objects using the API. The config package will then validate the config, and if successful it will trigger a reload.

1 Like