Hi,
I would like to retrieve the status of a Windows service via VMTools and return it to vRO - is that possible?
Actually I can extend my question to "Can I catch the response of an OS function call via VMTools"?
Regards, K
Did you try build-in workflows in vCenter plugin?
For example: vCenter->Guest operations->Processes.
There are some example workflow. You can get process from OS etc.
Take a look on guestOperationsManager and VcGuestProcessManager script class. There are also some useful attributes.
You can do this using the GuestScriptManager package - it IS deprecated but does still work as all the APIs it depends on are still there. We've used it recently enough (last year..) to handle in-guest process execution and management so it should be fine for what you want. You'll probably need to write a PowerShell script to report the process status in Windows and then use vRO to execute that script, trap the result and examine it
Definitely can be done though