Hello!!
How can I get vitualbox to send me email alerts when there is a failure with a vm?
thanks
Email alert VM error
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Email alert VM error
Virtualbox does not do this natively. You'll have to roll your own solution.
Virtualbox has a basic status indicator ('vboxmanage showvminfo "vm name" ', piped through 'find' or 'grep' for the line starting with "State") but it only monitors the VM 'hardware', which can stay running even if the OS inside dies.
A script running inside the VM can send 'heartbeat' signals out to a monitor script running on the host via 'vboxmanage guestproperty' if Guest Additions are in the VM, or to the host or another PC over a network.
If the host monitor script fails to pick up heartbeats from a VM, the script could then send an email through the host PC's usual command-line methods.
Virtualbox has a basic status indicator ('vboxmanage showvminfo "vm name" ', piped through 'find' or 'grep' for the line starting with "State") but it only monitors the VM 'hardware', which can stay running even if the OS inside dies.
A script running inside the VM can send 'heartbeat' signals out to a monitor script running on the host via 'vboxmanage guestproperty' if Guest Additions are in the VM, or to the host or another PC over a network.
If the host monitor script fails to pick up heartbeats from a VM, the script could then send an email through the host PC's usual command-line methods.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Email alert VM error
I removed your other two posts on this subject. Duplicate posts are not allowed.
Re: Email alert VM error
sorry, I thought my posts were not being published well. Thank you so muchscottgus1 wrote:I removed your other two posts on this subject. Duplicate posts are not allowed.
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Email alert VM error
And I removed a third topic, posted for some reason in the "Third Party Apps" forum. Posts in the latter forum have to be ok'd by a mod before they become visible.