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

Apply Minimum correctly to individual HTTPStatus-Checks #434

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RincewindsHat
Copy link
Member

The Minimum Parameter of Invoke-IcingaCheckHTTPStatus supposedly (there is not much documentation) allows one to define how many sub checks must be OK for the main check to be OK.
I did assume that this meant each individual URL given (e.g. Invoke-IcingaCheckHTTPStatus -URL https://foo.bar,https://bar.foo,https://baz.baz -Minimum 2 would be OK if checks fail for one URL but not for two) and changed to logic in the plugin accordingly.

If that is not the case and the parameter was meant for sub checks regarding each individual URL I would propose another parameter which does what I think :-)

ref NC/849479

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants