Skip to content
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

[Contribution] Icinga Director solution! #32

Closed
jwhitbread opened this issue Jan 5, 2021 · 1 comment
Closed

[Contribution] Icinga Director solution! #32

jwhitbread opened this issue Jan 5, 2021 · 1 comment

Comments

@jwhitbread
Copy link

Hey @nisabek,

Great tool, thanks for making it! I just got it working after a long 4 hours of essentially learning icinga director too! I've noticed there hasn't really been any descriptive solutions for getting it to work on icinga director, so here is what I did:

  • Use the git version, not the debian package.

  • Add all three files into your global_templates directory e.g /etc/icinga2/zones.d/global_templates/. (I believe these can also be put into your director/master directory)

  • Follow the above tutorial with editing said files and permissions.

  • Add the vars.slack_notifications = "enabled" to the relevant templates or directly to the host/service objects.

  • Restart icinga2 - systemctl restart icinga2.

  • Navigate over to your icinga web interface > Icinga director on the left > Deployments

  • This should notify you that you have a change, click deploy. If it doesn't then on the same page navigate to Render config > Deploy anyways.

  • Check the console output of the deployment, green tick = good! Go double check your hosts and services are picking up the new variable and then give it a test!

I hope this helps!

@nisabek
Copy link
Owner

nisabek commented Jan 6, 2021

Hey @jwhitbread - Thanks a lot for putting these together! I added them to the README.
Happy new year too! :)

@nisabek nisabek closed this as completed Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants