Icinga2 Director - automatic email Notifications

So I’m back. I reconstructed the OpenShift container to the previous state - with a Icinga Director Deploy error.
And since I was at a loss, I asked a more experienced colleague for help and he came up with the following:
The daemon is running, but the connection to the database is not working. Due to a bug in this python script where the quotes are not passed to the resources.ini file. ( key=value instead of key=“value” )

So I’m looking for a bug in this python script to continue.

Maybe have a look at lfops/roles/icinga2_master at main · Linuxfabrik/lfops · GitHub to manage the configuration.

I had a big clique yesterday. My first life experience with Python.
However, I “fixed” line 22 of the script.
The correct format is config.write(open(“args.file”, ‘w’))
This fixed the connection to the database and the Deployment is functional.
Hip hip hooray!
Notifications are also functional.

2 Likes