Expert
Expert

Is it possible to send a event to vROPs via PowerCli?

The vROPS Rest API has a PushEvent method.   Can this method be used to create an event that will show up in an object's Troubleshooting->Events section?   I want to add an event to the object in vROPs when performing a known task against the object.  For example,  an event for when backup begins and ends.   This would make it easier to correlate utilization changes to know events.

I found this article where it discusses using PowerCli to perform vROPS REST API calls:

Using the entire API for vRealize Operations via PowerCLI - VMware PowerCLI Blog - VMware Blogs

Thanks,

-MattG

-MattG If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
1 Reply
Virtuoso
Virtuoso

Could with the REST API. You'd want to script/program to ensure you add the event to the proper Adapter+object so that it tracks against the right object. I personally don't use the PowerCLI for REST calls, but if you can figure it out, go for it.

If you find this or any other answer useful please mark the answer as correct or helpful.
0 Kudos