Alarm Reboot/restart VM hyper-v

Monitoring and reporting for Veeam Backup & Replication, VMware vSphere and Microsoft Hyper-V

Alarm Reboot/restart VM hyper-v

Veeam Logoby adrianIDC » Wed May 20, 2015 7:21 am

Hello.
I'm setting any alerts Veeam ONE and I'm reviewing the different alarms for Hyper-V VM . As I need an alarm when a Hyper-V VM restarts.

I go to Alarm Management> All Alarms > Hyper-V > Virtual marchine .
But I find nothing related Reboot the machine.

Thanks!
adrianIDC
Expert
 
Posts: 179
Liked: 9 times
Joined: Tue Mar 03, 2015 10:44 am

Re: Alarm Reboot/restart VM hyper-v

Veeam Logoby Shestakov » Wed May 20, 2015 11:33 am 3 people like this post

Hello Adrian,

There is no such a predefined alarm for now(we`re planning to add it though), however you can create a custom alarm with event-based rule, using event name 18512 Microsoft-Windows-Hyper-V-Worker.
Image
The event is happened every time a vm is restarted.

Thanks!
Shestakov
Veeam Software
 
Posts: 4863
Liked: 396 times
Joined: Wed May 21, 2014 11:03 am
Location: Saint Petersburg
Full Name: Nikita Shestakov

Re: Alarm Reboot/restart VM hyper-v

Veeam Logoby adrianIDC » Wed May 20, 2015 11:40 am

Ok Thanks Shestakov.

And the other event name what does 18514 Microsoft-Hyper-V-Worker?

Thanks
adrianIDC
Expert
 
Posts: 179
Liked: 9 times
Joined: Tue Mar 03, 2015 10:44 am

Re: Alarm Reboot/restart VM hyper-v

Veeam Logoby Shestakov » Wed May 20, 2015 11:55 am 1 person likes this post

Nice question, Adrian.

ID 18512 reacts toward Reset by host, while ID 18514 toward Reset by guest.
If you want to monitor both types, you need to set both rules for the alarm. Thanks!
Shestakov
Veeam Software
 
Posts: 4863
Liked: 396 times
Joined: Wed May 21, 2014 11:03 am
Location: Saint Petersburg
Full Name: Nikita Shestakov

Re: Alarm Reboot/restart VM hyper-v

Veeam Logoby adrianIDC » Thu May 21, 2015 11:13 am

I set the alarm for restart.

I have simulated the restart caused such VM and if TASK & EVENTS appears in INFORMATION type .

However, in the Alarms tab does not appear.

The alarm I wish it were ERROR or WARNING type and have configured this way but not receive mail notification.

In Alarm configure options
Image

Image

Image

In TASKS&EVENTS:
Image

In ALARMS only appears WARNING alarm:
Image

IN Email/notifications configuration:
Image

Thanks!
adrianIDC
Expert
 
Posts: 179
Liked: 9 times
Joined: Tue Mar 03, 2015 10:44 am

Re: Alarm Reboot/restart VM hyper-v

Veeam Logoby Shestakov » Thu May 21, 2015 12:09 pm 1 person likes this post

I`ve double-tested in my lab and it works fine. Your configuration looks correct as well.

Just a few checkings:
1. Make sure you typed Event name exactly like it is written in Event details in "Tasks and Events"
2. In the alarm rules, set trigger after = 0

If it`s also ok, try to add another rule with event 18512 and make restart by host.
Image
Thanks!
Shestakov
Veeam Software
 
Posts: 4863
Liked: 396 times
Joined: Wed May 21, 2014 11:03 am
Location: Saint Petersburg
Full Name: Nikita Shestakov

Re: Alarm Reboot/restart VM hyper-v

Veeam Logoby adrianIDC » Thu May 21, 2015 12:42 pm

Ok , I will try in my lab.

Commented with news that can happen.

thanks Shestakov ;)
adrianIDC
Expert
 
Posts: 179
Liked: 9 times
Joined: Tue Mar 03, 2015 10:44 am

Re: Alarm Reboot/restart VM hyper-v

Veeam Logoby Shestakov » Thu May 21, 2015 1:30 pm 1 person likes this post

Let me know if it works. If no, it makes sense to contact Veeam support for the logs investigation.
Thanks!
Shestakov
Veeam Software
 
Posts: 4863
Liked: 396 times
Joined: Wed May 21, 2014 11:03 am
Location: Saint Petersburg
Full Name: Nikita Shestakov

Re: Alarm Reboot/restart VM hyper-v

Veeam Logoby adrianIDC » Fri May 22, 2015 7:32 am

Hi!

According to my results .... Only I receive e-mail notifications from a predefined alarm : Performance data collection failure.

As you can see in the picture below , change the icon type of alarm so I question if it is well established or just e- mail alerts alarms of the same type ( with bell ) and the alarm for VM Hyper-V it's OK definited in hosting the VM host.
Image

Image

The alarm set for Hyper - V does not receive any notice. Only appears in the TASK & EVENTS tab.

Thanks!!!
adrianIDC
Expert
 
Posts: 179
Liked: 9 times
Joined: Tue Mar 03, 2015 10:44 am

Re: Alarm Reboot/restart VM hyper-v

Veeam Logoby Shestakov » Fri May 22, 2015 11:46 am 1 person likes this post

There is no behavioral difference between alarms of different types. They divided to groups for your convenience.
The alarm should work if you point the correct event name and settings despite the type.

In your case, having the record in Tasks & Events, the corresponding record should also be shown in the "Alarms" tab. Please contact Veeam support for the issue investigation.
I`ll also take into account the necessity to create the predefined alarm for future releases! Thanks!
Shestakov
Veeam Software
 
Posts: 4863
Liked: 396 times
Joined: Wed May 21, 2014 11:03 am
Location: Saint Petersburg
Full Name: Nikita Shestakov

Re: Alarm Reboot/restart VM hyper-v

Veeam Logoby adrianIDC » Mon May 25, 2015 9:23 am

I looked at the event viewer Hyper- v and I find that the record is not called as they say it ends / Admin .
Image

I set the alarm to this end to see if I answered yes .

BEFORE: 18514 Microsoft-Windows-Hyper-V-Worker
AFTER: 18514 Microsoft-Windows-Hyper-V-Worker-Admin

I will comment in brief
adrianIDC
Expert
 
Posts: 179
Liked: 9 times
Joined: Tue Mar 03, 2015 10:44 am

Re: Alarm Reboot/restart VM hyper-v

Veeam Logoby Shestakov » Mon May 25, 2015 11:44 am 1 person likes this post

Adrian, try to clear "event text" field in the alarm settings, since alarms are being triggered according to a logical "AND" rule with Event name and Event text.
Let me know if it helps. Thanks!
Shestakov
Veeam Software
 
Posts: 4863
Liked: 396 times
Joined: Wed May 21, 2014 11:03 am
Location: Saint Petersburg
Full Name: Nikita Shestakov

Re: Alarm Reboot/restart VM hyper-v

Veeam Logoby adrianIDC » Tue May 26, 2015 6:39 am

Good news!
Yes, Shestakov, deleting the contents of the Event Text box now if it appears in the Alarms tab :mrgreen: .

The only thing that still does not send me e- mail of such notice.
adrianIDC
Expert
 
Posts: 179
Liked: 9 times
Joined: Tue Mar 03, 2015 10:44 am

Re: Alarm Reboot/restart VM hyper-v

Veeam Logoby adrianIDC » Tue May 26, 2015 7:39 am

For example, Failure Conection Host.....

Let's say I receive only e- mail notifications of alerts that affect HOST and not affecting the VM.

I changed to WARNING alarm type for the alarm.
It confirms the change, but I still receive emails from it.
adrianIDC
Expert
 
Posts: 179
Liked: 9 times
Joined: Tue Mar 03, 2015 10:44 am

Re: Alarm Reboot/restart VM hyper-v

Veeam Logoby Shestakov » Tue May 26, 2015 8:07 am 1 person likes this post

Glad we found the issue with the alarm notifications. Regarding email, do you receive emails in cases of other alarms? Have you customized this one the same way?
Thanks!
Shestakov
Veeam Software
 
Posts: 4863
Liked: 396 times
Joined: Wed May 21, 2014 11:03 am
Location: Saint Petersburg
Full Name: Nikita Shestakov

Next

Return to Veeam ONE



Who is online

Users browsing this forum: No registered users and 9 guests