VMware Cloud Community
TelefonicaHosti
Contributor
Contributor

REST API 7.0 how to get triggered alarms from vCenter

Hi all,

I'm working on a automation for remediate errors in base of the trigger alarms. First of all I need to collect all current trigger alarms for the vCenter.

There is a methot or a way to know this information using py cloud or api rest? If it exists culdn't find it.

If anyone know how to resolve this I'll really apreciated

Thanks in advance,

Regards

0 Kudos
1 Reply
Tibmeister
Expert
Expert

Not that I remember via REST, but using the Get-View of the AlarmManager in PowerCLI is a possibility that I used at one point.  It's not as straightforward as I would like it, getting the alarms out of vCenter and using them in some automation, generally you would have the alarm make a webcall via a custom shim to push the alarm to the automation or ticketing system.

0 Kudos