Is there a possibility to raise an alarm if one of the Advanced Settings on a host does not have the desired value. Concrete example the advanced setting "VMFS3.UseATSForHBOnVMFS5" should be 0 on all hosts, because our storage vendor demands it from us.
I know how to check the value with PowerCLI (Get-AdvancedSetting -Name VMFS3.UseATSForHBOnVMFS5) but I want to use as few scripts as possible, because all scripts have to be maintained by someone and alerts in vCenter are always visible to every admin, mails a script sends can be ignored.
I'm pretty sure you can't, you need an event to be triggered for an alarm to work, and I haven't seen a advanced setting is not set event. Look at
https://www.virten.net/2015/11/how-to-create-custom-vcenter-alarms/
its a bit older but the same applies.
Can you use a host profile to set that configuration? If so, that UI will tell you if a host is out of compliance.