VM down - RPA Process fails

Hello Team,

I have one RPA VM that is up and running. A process runs in that VM every day

Sometimes VM goes down So the bot is unable to do the process.

We are unable to mention via email as well. Since the BOT always needs a VM to send emails.

So the person has to manually monitor whether the VM is up and running and daily before running the BOTs.

Are there any ways to automate and send email if the VM is up or not. Either in UiPath or. Any other language is also acceptable.

Thanks

Hi @Ashok98

To check the status of a virtual machine (VM) in UiPath, you can use the Get VM Status activity. This activity allows you to check the status of a VM by connecting to a remote desktop and checking the status of the VM.

To use this activity, you will need to have the Remote Desktop Connection (RDC) client installed on the machine running UiPath, and you will need to have the appropriate credentials to connect to the remote desktop.

Here’s an example of how to use the Get VM Status activity:

  1. Drag the Get VM Status activity onto the designer panel.
  2. In the Computer field, enter the name or IP address of the remote desktop where the VM is located.
  3. In the Username and Password fields, enter the credentials for the remote desktop.
  4. In the VM Name field, enter the name of the VM that you want to check the status of.
  5. Run the workflow. The Get VM Status activity will connect to the remote desktop and check the status of the specified VM. The status of the VM will be returned as an output of the activity.

For more details you can refer this link : https://docs.uipath.com/activities/docs/azure-get-vm

Thanks!!!

Hello @Ashok98

If you have your Robot connected to Orchestrator you can send an email about robot being disconnected to your email (in Orchestrator Profiles) - directly from Orchestrator. Here is an example from our own tenant:

May I know the steps to achieve this ?

Hello @Ashok98

Sorry for the delay and happy holidays.

It’s pretty easy to configure Alerts in Orchestrator. Login to your UiPath Platform, navigate to Orchestrator and on the top right you should see a bell. Please navigate as demonstrated on my screenshot:

image

  • Click Bell Icon (“Alerts”)
  • Click Gear Icon (“Open Alert Preferences”)

By doing this you will get to the Alerst Site, where you can configure or subscribe/unsubscribe to all alerts. Make sure to have “Unattended Robot is disconnected” marked/checked.
image

The “alert” will be sent to your email-address connected in Orchestrator, usually this should be your email you login with.

For customer we do support tasks, we often put a generic support email-address, so all the errors will be combined in one support email-address.

Hope this helps and if it does kindly mark as solution to close this and help others to find about this :slight_smile:

I can see it shows the list of VM that is down but I want to monitor some specific VM’s and I can see em

Hi @Ashok98
I am not sure if I understand correctly.

You have an unattendend Robot, that is running on a VM, right?
All you want to know is, when the VM with the unattended Robot is disconnected / not available, right?

If it didn’t work correctly, make sure the user who wants to receive alerts is assigned in the Folder in Orchestrator.

I have selected the alerts preferences as excepted but how can I send email to specific user ?

So if I understand correctly you want to inform lets say a business user who uses the robot?

In this case to inform him via alerts you would have to invite him into Orchestrator and allow his account as automation user into the same folder as the robot process is running. After that you can go into his preferences / alerts, like demonstrated above.