4.22 ResourcePoolStatus

Use this Knowledge Script to monitor the overall status of the resource pool. This script raises an event if the state of the resource pool changes to one of the following states:

  • Inconsistent - One or more nodes in the tree has children whose reservations are greater than the node is configured to support.

  • Overcommitted - The tree is consistent internally, but the root resource pool does not have the capacity to meet the reservation of its children.

  • Undercommitted - Every node has a reservation greater than the sum of the reservations for its children. There is enough capacity at the root to satisfy all of the resources reserved by the children.

NOTE:This script will not work with existing ResourcePoolStatus jobs. As a result, you will need to start new ResourcePoolStatus jobs after installing this release.

4.22.1 Resource Object

  • vSphere resource pool

  • vSphere virtual appliance (vApp)

4.22.2 Default Schedule

By default, this script runs every 15 minutes.

4.22.3 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

Event Notification

Raise event when resource pool state changes?

Select Yes to raise an event if the resource pool state changes to inconsistent, overcommitted, or undercommitted. The default is Yes.

Event severity when resource pool state inconsistent

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the resource pool state changes to inconsistent. The default is 5.

Event severity when resource pool state is overcommitted

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the resource pool state changes to overcommitted. The default is 15.

Event severity when Resource pool state is undercommitted

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the resource pool state changes to undercommitted. The default is 25.

Raise event when resource pool is removed?

Select Yes to raise an event if the resource pool is removed. The default is Yes.

Event severity when resource pool is removed

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the resource pool is removed. The default is 15.

Event severity when AppManager failed to get metrics

Set the event severity level, from 1 to 40, to indicate the importance of an event in which AppManager failed to retrieve metrics from vCenter. The default is 15.

Event severity when AppManager failed to log in

Set the event severity level, from 1 to 40, to indicate the importance of an event in which AppManager failed to log in to vCenter. The default is 5.

Event severity when ResourcePoolStatus job fails unexpectedly

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the ResourcePoolStatus job fails unexpectedly. The default is 5.

Data Collection

Collect data for status change?

Select Yes to collect data about resource pool status for charts and reports. The default is unselected.

NOTE:When enabled, data collection returns 100 for undercommitted, 50 for overcommitted, and 0 for inconsistent.