- The alarms alarm.VmwarePgArchiverHealthAlarm and alarm.FailoverFailedAlarm cannot be found in the "Alarm Definitions" of the vCenter Server.
- The vCenter Server was upgraded from version 6.5.
vCenter Server 7.0
vCenter Server 8.0
This issue occurs due to dependencies on the alarm settings in vCenter Server 6.5, which is already EOS, hence the alarms need to be created manually
To resolve this, please follow the below steps to run the attached script via powercli.
Connect to the vCenter Server.
Command example:PS C:\Administrator> connect-viserver -server [FQDN of vCenter Server] -force -password XXXXXX -user "[email protected]"
Output example:Name Port User
---- ---- ----
[FQDN of vCenter Server] 443 VSPHERE.LOCAL\Administrator
Execute the script.
Command example:PS C:\Users\Administrator> .\createAlarms.ps1
Output example:Type Value
---- -----
Alarm alarm-517
Alarm alarm-518
Note:
If PowerCLI is not installed on your system, you need to install it first.
For instructions on installing PowerCLI, refer to the link below:
Disconnect from the vCenter Server.
Command example:PS C:\Administrator> disconnect-viserver -confirm:$false