VMware Cloud Community
habs3
Enthusiast
Enthusiast
Jump to solution

Run Script from VCSA Alarm

Hi,

I was wondering if anyone know of a way to run a powercli script from and alarm configured on a VCSA?  I would like to set up a script to create a ticket (A process we already have) from an alarm on the VCSA based on datastore usage.

Thank you for any help.

John

1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

William did a post on that, see How to run PowerCLI scripts from vCenter Alarms.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

0 Kudos
3 Replies
LucD
Leadership
Leadership
Jump to solution

William did a post on that, see How to run PowerCLI scripts from vCenter Alarms.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
habs3
Enthusiast
Enthusiast
Jump to solution

Thank you LucD. Do you know if Powercli will be added to the VCSA since it now supports Linux or do you know of a way to install Powercli on a VCSA?

Thanks for all the contributions to the forum

0 Kudos
LucD
Leadership
Leadership
Jump to solution

I don't think that would be even advisable.

In theory you could install PowerCLI Core on the VCSA, but as William also warned in his post, it is not a good idea to install stuff on the VCSA.

There are the questions of potential performance impact and support, to name just a few.

Note that PowerCLI Core is still a Fling (experimental), and that PowerShell Core is also still in beta.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference