The example below describes how to create a monitor that checks VMware vCenter Agent service states for all Host objects in your virtual infrastructure and generates alerts when the states change:
|1.||In the Ops Mgr console, switch to the Authoring pane and navigate to Management Pack Objects> Monitors > Create a Monitor > Unit Monitor. |
|2.||At the Monitor Type page, choose Veeam VMware\ vSphere Host Service Monitor. |
From the Management pack list, select a destination management pack for the newly created monitor.
|a.||In the Name field, enter a name for the monitor. |
If you want Veeam MP views to capture alerts generated by the monitor, make sure that the monitor and alert names start with “Veeam VMware:”.
To make host-related views capture alerts generated by the monitor, the name must start with “Veeam VMware: Host”.
|b.||In the Description field, provide description for the monitor. Note that it will not be displayed in the alert text.|
|c.||From the Monitor target list, choose VMware vSphere Host as a target for the monitor. |
|d.||From the Parent monitor list, select Availability.|
|e.||If you want to configure overrides for the monitor, you can clear the Monitor is enabled check box and select it later. Otherwise, make sure the check box is selected. |
|4.||At the Service Details page, enter the name of the service you want to monitor. To follow this example, type vpxa.|
You must provide a system name of the service. To get the list of all services installed on a host, use the Show ESXi Host Services State task.
|5.||At the Configure Health page, select health states that will be assigned to the monitor when the service changes its status.|
|6.||At the Configure Alerts page:|
|a.||Select the Generate alerts for this monitor check box.|
|b.||From the Generate an alert when drop-down list, select The monitor is in a critical health state.|
|c.||Make sure that the Automatically resolve the alert when the monitor returns to a healthy state check box is selected.|
|d.||Choose alert priority and severity.|
|7.||Click Create to create the monitor.|