Monitoring and reporting for Veeam Backup & Replication, VMware vSphere and Microsoft Hyper-V in a single System Center Operations Manager Console
Post Reply
Fursel
Lurker
Posts: 2
Liked: never
Joined: Apr 14, 2017 8:40 am
Contact:

Alert for failed task on host

Post by Fursel »

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.
sergey.g
Veteran
Posts: 452
Liked: 76 times
Joined: May 02, 2012 1:49 pm
Full Name: Sergey Goncharenko
Contact:

Re: Alert for failed task on host

Post by sergey.g »

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
Veteran
Posts: 452
Liked: 76 times
Joined: May 02, 2012 1:49 pm
Full Name: Sergey Goncharenko
Contact:

Re: Alert for failed task on host

Post by sergey.g »

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
Fursel
Lurker
Posts: 2
Liked: never
Joined: Apr 14, 2017 8:40 am
Contact:

Re: Alert for failed task on host

Post by Fursel »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests