4.26 VirtualCenterMemoryUsage

Use this Knowledge Script to monitor memory usage of the vCenter process and the total amount of memory being used on the server hosting vCenter. This script raises an event if the memory usage exceeds the threshold you set.

NOTE:When you run this script on a proxy agent computer to remotely monitor the vCenter, this script will not monitor the vCenter services or collect any data.

4.26.1 Resource Object

vCenter server

4.26.2 Default Schedule

By default, this script runs every 10 minutes.

4.26.3 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

Event Notification

Raise event when memory usage exceeds the threshold?

Select Yes to raise an event if the percentage of cluster memory usage exceeds the threshold you set. The default is Yes.

Event severity when memory usage exceeds threshold

Set the event severity level, from 1 to 40, to indicate the importance of an event in which memory usage exceeds the threshold. The default is 15.

Raise event when total host memory usage exceeds the threshold?

Select Yes to raise an event if total memory usage for the host computer exceeds the threshold you set. The default is Yes.

Event severity when total host memory usage exceeds the threshold

Set the event severity level, from 1 to 40, to indicate the importance of an event in which total memory usage for the host computer exceeds the threshold. The default is 15.

Event severity when VirtualCenterMemoryUsage job fails unexpectedly

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

Data Collection

Collect data for VirtualCenter memory usage?

Select Yes to collect data about vCenter memory usage for charts and reports. The default is unselected.

Collect data for total host memory usage?

Select Yes to collect data about total memory usage on the host computer for charts and reports. The default is unselected.

Monitoring

Maximum threshold for VirtualCenter memory usage (KB)

Specify the maximum amount of memory usage that can occur for the vCenter process before an event is raised. The default is 20000 kilobytes.

Maximum threshold for total host memory usage (KB)

Specify the maximum amount of memory usage that can occur on the host computer before an event is raised. The default is 20000 kilobytes.