-
Notifications
You must be signed in to change notification settings - Fork 33
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
Get-IcingaCheckCommandConfig: move -C from every single command to template #631
Conversation
@LordHepipud Before testing: does the code change look good? |
Looks good so far. We should test both, Director baskets and plain Icinga conf to ensure there is no bug remaining. |
Walked through Icinga/icinga2#9062 (comment), but didn't enable IfW API (which doesn't use -C). Also manipulated the changed file on disk just as here to get a basket with only one
|
Plain config looks promising as well:
|
Placed the latter in /etc/icinga2/zones.d/global-templates/PSb.conf, renamed PS Base in Director not to collide and fixed import in CPU command. Still works.
|
Please consider for https://github.com/Icinga/icinga-powershell-framework/milestone/28 |
Rebased, added change log. |
Thanks! |
fixes #627
TODO