In past days I updated icinga2 system with new icinga-notifications plugin.Most things configured without problems, but currently i have problem with last topic: Create icinga2 source
based on documentation
at the end of page there is suggestion to add:
Open /etc/icingadb/config.yml on the host where Icinga DB is running and add the following lines:
The full documentation can be found here.
notifications-source:
# URL to the API root.
api-base-url: http://localhost:5680
# Use the username and password you just defined for the credentials.
username: icingadb
password: insecureinsecure
These latest documentation seems to be the current working state, not the last release. Unsure if this was intended.
With the upcoming Icinga Notifications and Icinga Notifications Web v0.2.0, the source was moved from Icinga 2’s Event Stream to Icinga DB. Thus, the docs are only valid if you are using the current development version (for the Icinga DB part, you even need a PR branch).
Btw, next week, the new versions will (most likely) be released, and then it should work.
Sorry for the confusing docs and thanks a lot for testing out the new Icinga Notifications project. However, if you are planning on setting up a stable or production environment, maybe don’t try Icinga Notifications yet and use the notifications from Icinga 2 instead.