icinga-powershell-plugins icon indicating copy to clipboard operation
icinga-powershell-plugins copied to clipboard

Apply Minimum correctly to individual HTTPStatus-Checks

Open RincewindsHat opened this issue 8 months ago • 0 comments
trafficstars

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

RincewindsHat avatar Mar 20 '25 14:03 RincewindsHat