No Notification sources found - only Icinga for Kubernetes used

In Source setting of Notifications module, I’m not able to add source. Error:
No sources found. To add a new source, please install a module that serves as an integration for a source first. Notable examples are Icinga DB Web and Icinga for Kubernetes Web.

On /notifications/sources/add URI there is also no available Source type to choose.

I have 2 sites

  • kubernetes cluster on VMs where Icinga for Kubernetes runs from example config with notifications section added as described in config.
  • Icinga Web in another network with following modules.

Icinga for Kubernetes writes data into SQL running on Icinga Web VM, which works fine. Even from pod logs client.go:90] received unexpected http status code from Icinga Notifications: 401: %!s(<nil>) it seems Icinga for Kubernetes try to write data to “source”.
When I add source manually in database insert into source (type, name, listener_username, listener_password_hash, changed_at) values ("Kubernetes", "kubernetes", "source-1", "<bcrypt-hash>", NOW()); the error disappears from the log, and the source is “available” to use, but when trying to add Rule, it fails:

Do I miss something or is something badly configured?

Setup:

  • Icinga Web 2 version: 2.12.6
  • Used modules and their versions
    • kubernetes: 0.3.1
    • monitoring: 2.12.6
    • notifications: 0.2.0
  • Loaded Libraries
    • icinga/icinga-php-library: 0.18.0
    • icinga/icinga-php-thirdparty: 0.14.0
  • Web browser used: Google Chrome 142
  • Icinga 2 version used: r2.15.1-1
  • PHP version used: 8.4.15
  • Server operating system and version: Debian 11 (bullseye)
  • Icinga fo Kubernetes: image icinga/icinga-kubernetes:latest (0.3.0)

The notifications module is still under development as well as the kubernetes module.

That means that releases might not work together.

I saw a newer release tag for kubernetes-web 0.4.0.
this release was about the same time as notifications-web 0.2.0

can you undo your changes and update the kubernetes module?

Best Regards
Nicolas

Omg, I tried so many components and version that I ended with old version used.
Thank you for reveal it for me.

Just fix for future readers - release tag for kubernetes-web 0.4.0 link fix instead icinga-kubernetes.

1 Like