-
Notifications
You must be signed in to change notification settings - Fork 584
Add ITL CheckCommands for Thola #8683
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 ITL CheckCommands for Thola #8683
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.
So unfortunately the separation of templates and commands doesn't quite fit into the layout. So we should really think about documenting the templates, then it would be easier to put the subcommands underneath.
cc @Al2Klimov.
I applied the change requests, I hope it now fulfills the requirements. |
It looks pretty good now. I just need to test the CheckCommands. |
Okay, let me know if you need some help using thola. |
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.
I could not find any device supported by thola and so it would be very helpful if you would test the CheckCommands and write here as a test protocol.
We tested all commands on our icinga and all the commands worked flawless. |
Sorry for the delay! If I understood it correctly, all the checkcommands are based on a single thola main command namely The CheckCommand would then look like as follows.
It's just a suggestion, you don't have to change everything right away, and maybe @Al2Klimov can say something about it too. |
No, @Yonas-net . If the user shall be able to specify the subcommand as custom var at host/service (where else?), you can’t do it this way. Depending on the specific case you can either make several separate commands or one big command like MySQL health with all arguments of all subcommands present (unconditionally). @BausPhi Do you consider the latter solution reasonable? |
Tomorrow I will discuss with my workmates which option is the best for us. I will then let you now what we decided. Sorry for the delay. |
We came to the conclusion that we would like to stick with a separate command for every sub command. The reason for this is that the possible flags vary a lot for the different sub commands. For example the thola check ups command has 12 flags that don't exist in other sub commands. Is there still anything that we then have to change? |
c251bf9
to
a08f71a
Compare
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.
What about shortening all this a bit...
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.
Sure.
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.
Indent config w/ tabs, not spaces.
Is there anything left to do? |
Yes, #8683 (review) . |
All spaces should now be replaced by tabs. |
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.
We’re actually moving forward...
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.
@Yonas-net I hope you keep all of my complaints in mind for the next time you review a new check command. 😄
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.
In the doc please use ASCII " and '.
And |
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.
We’re almost done...
28f5717
to
36b8bab
Compare
You seem to have merged the master to resolve conflicts. I'll take care of this, but the next time please rebase: https://github.com/Icinga/icinga2/blob/master/CONTRIBUTING.md#-rebase-a-branch |
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.
LGTM
Thank you very much for taking your time to look at all the changes |
And don't forget I've force-pushed the branch, i.e. perform |
If you request squashing, please w/o rebasing! |
1428a7d
to
0b27c2a
Compare
We wrote CheckCommands for our monitoring tool Thola and we would like to add them to the ITL.
The commands are also documented in the corresponding doc file.
If something needs to be changed, let us know :D
If you are interested in Thola, have a look at our github page.