We deployed a bunch of checks via Icinga API, then removed them also via API.
Checks do not exist in API, we do not see them in /v1/objects/services/?attrs=name API.
But they still show up in Icinga Web UI.
If we try to click “Check now”, we see 404 error, because of course checks don’t exist in API.
Is there a way to refresh a list of checks in Icinga Web without dropping the database?
How could it happen? Is it a bug? Could it be caused by bad configuration?
Turned out, it was related to “cleanup” configuration. We didn’t have any, and it caused old checks deleted from API to be still visible in UI.
We are going to change it to cleanup after 0 days, so it should solve the issue.