I need to get information from vCOps, and use it to generate workflows in vCO. I'm using vrealize operations 6.0. I understand vCOps has REST APIs now -
How Can I use vCOps 6.0 REST API to poll vCOps and take action based on the result? Any examples of workflows like this?
Hi
I just answered the same question in another thread... 🙂
The CaSA API is for Cluster and Slice Administration and is found at https://vrops-url/casa
I haven't found any documentation for that.
What you need is https://vrops-url/suite-api
It's a small website with code examples and full documentation. You can even invoke the API straight from your browser!
Start with this for example: https://vrops-url/suite-api/api/resources?name=something
Regards,
Michael
I have the same exact requirement!
I would need to request Workload, etc. metrics from vRealize Operations Manager for decision making in vCO/vRO workflows. As it seems vRealize Operations HTTP REST API guide has not been made public, any hope that this would be released some point in future?
Hi,
Jörg and I did some Blog post about the integration (the posts are already somewhat older and we used SNMP Traps). Maybe the Posts are useful for your needs:
The Dream of a self-healing Datacenter: Integrate vCenter Operations (vCOPS) with Orchestrator
http://www.vcoportal.de/2012/08/vco-snmp-traps-and-vcops/
Cheers
Chris
Yep, I am aware of this method but this is not what I need for my project. I need to access Workload metrics within vROPS to make decisions where new resources should be provisioned, vROPS HTTP REST API would be perfect for this use but I cannot find vROPS REST API reference documentation anywhere.
I am not sure that the vCOps REST API is public available...
Check here: http://developercenter.vmware.com/web/dp/cloud-management
If you click to the vCenter Operations link, you can try to request access to the API information. Not sure if you need to have a certain partner state for that though.
Cheers,
Joerg
Hi
I just answered the same question in another thread... 🙂
The CaSA API is for Cluster and Slice Administration and is found at https://vrops-url/casa
I haven't found any documentation for that.
What you need is https://vrops-url/suite-api
It's a small website with code examples and full documentation. You can even invoke the API straight from your browser!
Start with this for example: https://vrops-url/suite-api/api/resources?name=something
Regards,
Michael
Michael, THANK YOU!
I was able to locate object workload metric within REST API. Badge (Workload, etc) metrics are actually not mentioned in API documentation but values for those are included in getLastestStats response.
Thanks guys much appreciated!