22 Jan 2026
04:20 PM
- last edited on
26 Jan 2026
08:28 AM
by
MaciejNeumann
Hi Team,
I have java application which is running in my azure VM and its a private network. And accessing this service with the network using private DNS. I need to create a workflow which should check if the service was running or not. It should start if it down. I couldn't see any specific language trigger to trigger my service like shell or python. And http action also doesn't work as its not method invoking like GET or POST. Could you please tell me how I can start and stop the service by triggering workflow.
Note: I need to access the service directly in to azure VM not via azure services.
Thanks in Advance!
23 Jan 2026 01:38 PM
Hi,
Do you restart that service manually?
Best regards
27 Jan 2026 06:34 AM
Hi,
I am able to restart the process manually in VM, But I want to do the restart if its stopped via Workflow.
Regards,
Kodi.
27 Jan 2026 07:50 AM - edited 27 Jan 2026 08:02 AM
Hi,
My point is, do you have any API to restart service on demand?
If not, you should integrate it with Ansible or Puppet. You can explore Red Hat Ansible Automation.
Bset regards
27 Jan 2026 08:02 AM
Hi,
Nope. We doesn't have API to restart.
Regards,
Kodi.
27 Jan 2026 08:03 AM
Hi,
Then, I would say integrate workflow with Ansible or Puppet.
Best regards
27 Jan 2026 08:08 AM
Hi,
You mean to say, Need to install Ansible into the target server and call via ansible action from workflow?
Regards,
Kodi.
27 Jan 2026 09:24 AM
Hi,
I am not aware of any capabilities to execute OS remote command from OneAgent or workflows.
Best regards
Featured Posts