VMware {code} Community
jiutianfeiwu
Contributor
Contributor

how to get triggered alarms by used vsphere sdk java?

QQ截图20160614165927.png

who can  help me ?

thanks!

Reply
0 Kudos
2 Replies
vThinkBeyondVM
VMware Employee
VMware Employee

You can do it using below method from AlarmManager managed object.

GetAlarm(getAlarm)

You can use  tutorials/samples specified here on my blog: http://vthinkbeyondvm.com/getting-started-with-yavi-java-opensource-java-sdk-for-vmware-vsphere-step...

Let me know if you need any help.


----------------------------------------------------------------
Thanks & Regards
Vikas, VCP70, MCTS on AD, SCJP6.0, VCF, vSphere with Tanzu specialist.
https://vThinkBeyondVM.com/about
-----------------------------------------------------------------
Disclaimer: Any views or opinions expressed here are strictly my own. I am solely responsible for all content published here. Content published here is not read, reviewed or approved in advance by VMware and does not necessarily represent or reflect the views or opinions of VMware.

Reply
0 Kudos
jiutianfeiwu
Contributor
Contributor

thanks  for yuor reaply.

but getAlarms()  can get alarms rules,not triggered alarms.

Reply
0 Kudos