Alert for failed task on host

Unleash the power of System Center for vSphere and Hyper-V | Veeam Task Manager for Hyper-V

Alert for failed task on host

Veeam Logoby Fursel » Fri Apr 14, 2017 8:57 am

hello. We have tasks in vCenter which connects our storage into hosts and we would like to monitor those tasks if they failed. In vCenter they appear in task view on host with status if it was succeeded or failed, but inside Veeam Vmware event log on Collector server we have just information event ID 387 that task has been queued, without it is status.
Maybe any of you had similar requirement and configured it somehow already, any help appreciated. If there are some screenshots needed I can paste them.
Fursel
Lurker
 
Posts: 2
Liked: never
Joined: Fri Apr 14, 2017 8:40 am

Re: Alert for failed task on host

Veeam Logoby sergey.g » Fri Apr 14, 2017 3:04 pm

Hi,

You can expirement with EnableUncategorizedEvent Collector property - it will instruct Collector to post all events obtained from vCenter. You can check if there are any events you could use to trigger the monitor.

I'll also check on our side if such VM is present and can be used to create a vCenter Alarm. Once you have a vCenter alarm you can easily make a monitor for it in our MP. Starting with V8 Update 3 you can add custom alarm monitors from within SCOM Authoring console.

I'll get back to you with more details.
sergey.g
Veeam Software
 
Posts: 436
Liked: 74 times
Joined: Wed May 02, 2012 1:49 pm
Full Name: Sergey Goncharenko

Re: Alert for failed task on host

Veeam Logoby sergey.g » Mon Apr 17, 2017 3:53 pm

Hi Again,

Is your task a scheduled one? I can see way more events for a scheduled task rather than for a manual, there simply could be no events for manual task to trigger the monitor or alarm.

I tried to get list of events from our 5.5 vCenter, using the following PowerCLI query

Code: Select all
$evt = get-view eventManager
$evt.get_Description() | select -expand Eventinfo | ? {$_.FullFormat -like "*task*"} | select Key,FullFormat


Here is what we have:

Code: Select all
Key                              FullFormat
---                              ----------
EventEx                          com.vmware.vim.eam.agent.task.deleteVm|Agent VM {vmName} is deleted on host {host.n...
EventEx                          com.vmware.vim.eam.agent.task.deployVm|Agent VM {vm.name} is provisioned on host {h...
EventEx                          com.vmware.vim.eam.agent.task.powerOffVm|Agent VM {vm.name} powered off, on host {h...
EventEx                          com.vmware.vim.eam.agent.task.powerOnVm|Agent VM {vm.name} powered on, on host {hos...
EventEx                          com.vmware.vim.eam.agent.task.vibInstalled|Agent installed VIB {vib} on host {host....
EventEx                          com.vmware.vim.eam.agent.task.vibUninstalled|Agent uninstalled VIB {vib} on host {h...
ExtendedEvent                    com.vmware.vim.eam.task.scanForUnknownAgentVmsCompleted|Scan for unknown agent VMs ...
ExtendedEvent                    com.vmware.vim.eam.task.scanForUnknownAgentVmsInitiated|Scan for unknown agent VMs ...
EventEx                          com.vmware.vim.eam.task.setupDvFilter|DvFilter switch '{switchName}' is setup on ho...
EventEx                          com.vmware.vim.eam.task.tearDownDvFilter|DvFilter switch '{switchName}' is teared d...
ScheduledTaskCompletedEvent      Task {scheduledTask.name} on {entity.name} in datacenter {datacenter.name} complete...
ScheduledTaskCreatedEvent        Created task {scheduledTask.name} on {entity.name} in datacenter {datacenter.name}
ScheduledTaskEmailCompletedEvent Task {scheduledTask.name} on {entity.name} in datacenter {datacenter.name} sent ema...
ScheduledTaskEmailFailedEvent    Task {scheduledTask.name} on {entity.name} in datacenter {datacenter.name} cannot s...
ScheduledTaskFailedEvent         Task {scheduledTask.name} on {entity.name} in datacenter {datacenter.name} cannot b...
ScheduledTaskReconfiguredEvent   Reconfigured task {scheduledTask.name} on {entity.name} in datacenter {datacenter.n...
ScheduledTaskRemovedEvent        Removed task {scheduledTask.name} on {entity.name} in datacenter {datacenter.name}
ScheduledTaskStartedEvent        Running task {scheduledTask.name} on {entity.name} in datacenter {datacenter.name}
TaskEvent                        Task: {info.descriptionId}
TaskTimeoutEvent                 Task: {info.descriptionId} time-out
sergey.g
Veeam Software
 
Posts: 436
Liked: 74 times
Joined: Wed May 02, 2012 1:49 pm
Full Name: Sergey Goncharenko

Re: Alert for failed task on host

Veeam Logoby Fursel » Tue Apr 18, 2017 12:18 pm

Hello Sergey,

Task which I am talking about is called "NetApp Host Discovery" and in Veeam VMware event log there is just information [TaskEvent] Task: NetApp Host Discovery
Fursel
Lurker
 
Posts: 2
Liked: never
Joined: Fri Apr 14, 2017 8:40 am


Return to Veeam Management Pack for Microsoft System Center



Who is online

Users browsing this forum: No registered users and 1 guest