Is there a way to generate a report of all the alarm definitions along with their settings in vsphere client 4.0?
yes...but where can I get PowerShell or does it get installed by default?
Sorry for the DUH question...
you can download from here, as well as get documentation
http://communities.vmware.com/community/vmtn/vsphere/automationtools/powercli
sorry troy but HELP...
Installed powercli and i am able to connect to my vsphere virt center but not sure how to run the commands given in the script?
Do I create a batch file?
save the .ps1 file to somewhere on your desktop/laptop once you have all the variables defined, then to execute the script, launch from the command line the name of the script, as seen below.
[vSphere PowerCLI] C:\scripts> .\checkalarms.ps1
You need to define the two varibles below
$VCServer = "myVCServer" $Outfile = "D:\scripts\Alarms.txt"
I've also attached the listing of default alarms in vSphere 4.0.x
figured it out....just needed to rename the file to .ps1
thanks a bunch though
Hi Troy, I am trying to find out ALL the alarm triggers that are available in vSphere 5.0 May I know how did you retrieve the Alarm Triggers in your attachment?
Thanks
Gopi