We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Installing the component on a non valid Cluster node and trying to execute the check ends in abrupt break and there seems to be no real error message.
Suggestion adding the following
function Invoke-IcingaCheckClusterHealth() { param ( [array]$Include = @(), [array]$Exclude = @(), [ValidateSet('Unknown', 'Up', 'Down', 'Paused', 'Joining')] [array]$WarningState = @(), [ValidateSet('Unknown', 'Up', 'Down', 'Paused', 'Joining')] [array]$CriticalState = @(), [switch]$SkipClusterRessource = $FALSE, [switch]$NoPerfData = $FALSE, [ValidateSet(0, 1, 2, 3)] $Verbosity = 0 ); if((Get-WindowsFeature -Name Failover-Clustering).InstallState -eq "Available") { Write-IcingaEventMessage -EventId xxxx -Namespace 'Cluster'; echo "This is not a vaild Failover cluster node this component shouldn't be installed here" break; } else { continue; } # Create a main CheckPackage under which all other checks will be placed $CheckPackage = New-IcingaCheckPackage -Name 'Cluster Services' -OperatorAnd -Verbose $Verbosity -AddSummaryHeader; $ClusterServiceInfo = Get-IcingaClusterInfo; ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Installing the component on a non valid Cluster node and trying to execute the check ends in abrupt break and there seems to be no real error message.
Suggestion adding the following
The text was updated successfully, but these errors were encountered: