Upload files to "VMware/vCheck/vSphere"
This commit is contained in:
parent
e9b4d77e04
commit
1500208a1b
22
VMware/vCheck/vSphere/90 Cluster HA Monitor Period.ps1
Normal file
22
VMware/vCheck/vSphere/90 Cluster HA Monitor Period.ps1
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
$ClusterIssue = @()
|
||||||
|
|
||||||
|
foreach ($Cluster in (Get-Cluster)){
|
||||||
|
$fdmpol = Get-AdvancedSetting -Entity $Cluster -Name das.config.fdm.unknownStateMonitorPeriod
|
||||||
|
if($fdmpol.Value -ne 30 -and $Cluster.HAEnabled -eq $true){
|
||||||
|
$ResultLine = "" | Select Cluster, Issue
|
||||||
|
$ResultLine.Cluster = $Cluster.Name
|
||||||
|
$helper = $fdmpol.Value
|
||||||
|
$ResultLine.Issue = "unknownStateMonitorPeriod = $helper"
|
||||||
|
$ClusterIssue += $ResultLine
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$ClusterIssue
|
||||||
|
|
||||||
|
$Title = "90 Cluster HA Monitor Period"
|
||||||
|
$Header = "90 Cluster HA Monitor Period"
|
||||||
|
$Comments = "The following Cluster have HA setting - das.config.fdm.policy.unknownStateMonitorPeriod != 30 "
|
||||||
|
$Display = "Table"
|
||||||
|
$Author = "evoila GmbH"
|
||||||
|
$PluginVersion = 1.0
|
||||||
|
$PluginCategory = "vSphere"
|
||||||
Loading…
Reference in a new issue