Hey Ya'll, I received a great query that I can use to get the Vcenter name into the email alerts when the trigger condition was on the "VMware Triggered Alarm" Shown below
Get vcenter name in email alerts
Host Name - ${N=SwisEntity;M=Host.HostName}
vCenter Name - ${N=SWQL;M=SELECT E0.Host.DataCenter.VCenter.displayname FROM Cortex.Orion.Virtualization.TriggeredAlarmState E0 WHERE E0.relatedhost = ${N=SwisEntity;M=Host.HostID}}
But I also had to setup node hardware alerts where the triggered condition is on "Hardware Sensor (Node)" So this query is not working to get the Vcenter name.
Does anyone know what the query should look like FROM Orion.HardwareHealth.HardwareItem