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
Documentation vague on "update-windows" check plugin #5178
Comments
Maybe you can extract details from |
"If set" would imply boolean, no? I'm not sure how to make it clearer, if you have an idea I'm happy to merge a pull request ^.^ |
@gunnarbeutner noted that these should be marked as optional like the others, I'll look into that |
Thank you @dnsmichi, "check_update.exe -h" indeed shed some light on how it works.
It that correct so far? |
This is mostly correct. But regarding
set_if evaluates boolean (true and false) and numbers (1.0 and 0.0), with strings it logs a warning and evaluates to false. |
After further investigation: This ticket was created #5186 |
Nice, I will take this into account when thinking about the documentation on this topic. |
It is, ticket #5186 exist for that purpose. All the check_update config needs is a clarification on the arguments being A Optional and B (boolean) toggles. Later we can add some reference to the table explaining what's evaluated true and false. |
Fixed with pr |
Marked optional custom attributes as optional Added information on the behavior of the plugin regarding the custom attributes being booleans instead of -as usual- setting thresholds refs #5178
Some notes for future reviews: Ensure that all commits contain "refs #issueid" as outlined in CONTRIBUTING.md. Further always assign a milestone before merging :) I've now cherry-picked the doc fixes to 2.6.4 and updated docs.icinga.org (and amended the second commit to ref here). |
Yes, I will try todo better next time. This was my first time contributing on GitHub. :-) |
No worries, that comment targets us developers. But good git commit messages in PRs help a lot :) |
Regarding this section in the docs:
https://docs.icinga.com/icinga2/latest/doc/module/icinga2/toc#!/icinga2/latest/doc/module/icinga2/chapter/plugin-check-commands#windows-plugins-update-windows
What values are expected to be set for update_win_warn/crit/reboot and what are their effects?
Are these booleans or thesholds?
Also they seem to be optional, but are not described as.
The text was updated successfully, but these errors were encountered: