-
Notifications
You must be signed in to change notification settings - Fork 26
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
Add support for configuring service templates #117
Add support for configuring service templates #117
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR (and vshn/go-icinga2-client#10) don't adhere to the boundary between Signalilo and go-icinga2-client, and move a number of Signalilo-specific implementation details into the generic Icinga2 client library.
Please make sure that the library remains generic, and handle all the Signalilo-specific configurations in Signalilo itself.
I now have issues exactly with this default Update:
I tried to change the code to get this PR in nicer condition locally, but ATM my P.s. also funky stuff going on with heartbeat as Director can't create functions, only strings 🙈... |
I've reworked the go-icinga2-client PR, so it will be generic. |
Hi, Best Regards |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implementation looks ok now. Please make sure the PR doesn't break the static service variables feature, and rebase it on the latest master branch.
All issues has been fixed. |
Is there a chance this PR getting merged? Can I support you with something? Best Regards |
Hi, sorry for the late reply. This looks good now, I've verified the changes locally and everything works now (side-note: I didn't test the configurable service templates part). I've now merged and tagged the go-icinga2-client changes as v0.0.17. Unfortunately, since I don't have write access to your fork, I can't fix the conflicts on this PR myself. Can you please rebase the branch on the latest master branch and make sure that the go.sum file is updated to reference github.com/vshn/go-icinga2-client instead of github.com/pdorschner/go-icinga2-client. Edit: nevermind, I just didn't have enough coffee yet. I'll merge and release this when the tests pass. |
315b975
to
72c90e9
Compare
Hi,
I created an Issue for this PR. Everything is explained there. More over, this PR will fail, because it needs a new release for the go-icinga2-client. For this, I created an PR also.
Checklist
bug
,enhancement
,documentation
,change
,breaking
,dependency
as they show up in the changelog