3.18 Host_MemoryUsage

Use this Knowledge Script to access the Host Resource MIB to monitor memory usage on a device. This script raises an event if memory usage exceeds the threshold you set. In addition, this script generates a datastream for memory usage on the device.

3.18.1 Resource Object

NetworkDevice Host Memory

3.18.2 Default Schedule

By default, this script runs every 5 minutes.

3.18.3 Setting Parameter Values

Set the following parameters as needed.

Parameter

How to Set It

General Settings

Job Failure Notification

Event severity when job fails

Set the event severity level, from 1 to 40, to indicate the importance of the failure of the Host_MemoryUsage job. The default is 5.

Event severity when job returns warnings

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the job completes with warnings. The default is 25.

Event severity when monitoring fails

Set the event severity level, from 1 to 40, to indicate the importance of an event that is raised when monitoring fails. The default is 25.

SNMP Settings

SNMP timeout

Specify the length of time in milliseconds that the job should wait for the SNMP response from the monitored network device before timing out and raising a failure event. The default is 2000 milliseconds.

SNMP retries

Specify the number of times the job should attempt to get the SNMP response from the monitored network device. The default is 1 attempt.

Collect data for memory usage?

Select Yes to collect data for charts, graphs, and reports. When enabled, data collection returns the percentage of memory usage for the monitoring period. The default is No.

Threshold - Maximum memory usage

Specify the maximum memory usage that must occur before an event is raised. The default is 90%.

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. If you do not want to raise an event, set the severity level to 0. The default is 10.

Raise one-time events?

Select Yes to raise an event for all one-time events. If you set this parameter to Yes, then AppManager raises an event when a particular performance counter cannot be found in an iteration.

For example, if this script does not find a particular performance counter in the first iteration, AppManager raises an event on the first iteration and does not raise further events for consecutive failures. This script raises further one-time events only on the iteration when there are failure events following successful retrieval of the performance counters.

If you do not want to see such one-time events, set this parameter to No.