Quantcast
Viewing all articles
Browse latest Browse all 175326

vcenter alarm environment variables

vSphere 6.0 Documentation Center

The documentation above makes it seem like vCenter will create environment variables when specific alerts/alarms are triggered. I'm assuming, since the documentation doesn't make it clear, that on a Windows-based vCenter server these are environment variables that I can access in CMD via "set" or in Powershell via Get-ChildItem Env:, is this correct or do i have to look somewhere else or run a different command to actually see them once they've been triggered? Right now  when i trigger an alert, I'm not finding these variables in either CMD or PS. Regardless of an alert being active, I am able to see other VMware environment variables like VMWARE_OPENSSL_BIN or VMWARE_VAPI_HOME or VMWARE_CFG_DIR, I just never see any VMWARE_ALERT_(anything) variables show up at all.

 

I'm essentially trying to duplicate this post, http://www.virtuallyghetto.com/2016/06/how-to-run-a-script-from-a-vcenter-alarm-action-in-the-vcsa.html , but it's not clear where command the author used to take the screenshot of his environment variables. Are they in a specific user context or is there a different command i need to run in order to see them, other than Set or Get-ChildItem Env:?


Viewing all articles
Browse latest Browse all 175326

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>