-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Icingacli director kickstart run - error for slack_notification setup #31
Comments
Hi @cherazo, from the looks of it, the error has nothing to do with the plugin itself...
If @meyerf99 has a better add-on, and it truly requires a re-write and can't be fixed in this repo, I'd be happily including it in the docs for Director users. Cheers, |
That would be awesome. Thank you. The answer is "Yes" to both questions. The only issue is only with icingacli director kickstart run command. Thanks |
Hi @cherazo I need to adjust my ReadMe for better understanding and then I will publish the script on GitHub. I'm hoping to get to it tomorrow or Friday. |
There was a discussion about icinga director and slack notifications today in a DevOps slack...sounds like this plugin ...but who knows.. Maybe @cherazo you find it useful Q: A: Hope this helps, |
That was me on slack group lol. I'm looking help for all channels possible. Thanks, |
Hi @meyerf99 , Is there any update about this? Thanks, |
Hi Guys, Thanks for all the support en effort to maintain this project.
I'm trying to setup slack notifications and I got this error which I assume is part of the slack notification plugin.
I followed the how to and when I run icingacli director kickstart run I got this:
root@icinga2:/usr/share/icingaweb2/modules/director# icingacli director kickstart run
ERROR: RuntimeException in /usr/share/icingaweb2/modules/director/library/Director/Data/Db/DbObject.php:853 with message: Storing icinga_apiuser[] failed: SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘object_name’ cannot be null, query was: INSERT INTO icinga_apiuser (object_name, object_type, disabled, password, client_dn, permissions) VALUES (?, ?, ?, ?, ?, ?) {array (
‘id’ => NULL,
‘object_name’ => NULL,
‘object_type’ => ‘external_object’,
‘disabled’ => ‘n’,
‘password’ => NULL,
‘client_dn’ => NULL,
‘permissions’ => NULL,
)}
Icinga + director works fine, email notifications, services, host, event handlers and more.
here is no any kickstart.ini file on /usr/share/icingaweb2/modules/director (my modules directory) but based on other post if you run the kickstart from the GUI at the beginning of icinga GUI setup... there is no need to run the icingacli director kickstart run. but this is part of the slack_notification setup as stated here:
how I can make director can recognize the slack_notification command?
is this affecting why slack_notification is not working?
Thanks in advance.
The text was updated successfully, but these errors were encountered: