icinga-powershell-plugins
icinga-powershell-plugins copied to clipboard
Invoke-IcingaCheckUNCPath - not reachable pathes
Hello,
actual the check goes unknown when it cant reach a path with a lot of confusing output. Please add a switch that the check will exit with critical if the path cant be reached.
Regards, Carsten
Hello,
thank you for the issue. That do you mean by confusing output?
[UNKNOWN]: Icinga Invalid Configuration Error was thrown: Invalid Configuration Exception: Plugin argument "-Path" is either empty or does not exist
I'm not sure if Unknown or Critical is the correct term, because you can do it wise versa. I would rather not add countless of arguments to each plugin to adjust the status of the outcome. It just makes those plugins more complex.
What would be wrong with Unknown in this case?
Hi,
unknown is ok, but the text is very confusing. should be something like "$uncpath not reachable"