Previous Topic: Defining CPU Monitoring JobsNext Topic: Defining IP Monitoring Jobs


Defining Disk Monitoring Jobs

On Windows and UNIX systems, you can define a Disk Monitoring (DISK_MON) job to monitor the available or used space on a disk or logical partition. On i5/OS systems, you can define a Disk Monitoring job to monitor storage space in the file systems mounted on the i5/OS operating system.

Note: To run these jobs, your system requires CA WA Agent for UNIX, Linux, Windows, or i5/OS.

Required Statements

To define a Disk Monitoring job, you must specify the following statements:

Optional Statements

You can specify the following optional statements for a Disk Monitoring job:

Example: Monitor Available Space on a Windows Drive

This example monitors the C drive on a Windows computer for available space. The job completes immediately and reports the available space in megabytes.

AGENT SYSAGENT
DISK C FORMAT(MB)

Example: Continuously Monitor Used Space on a UNIX Partition

This example continuously monitors used disk space on a local UNIX partition. Each time the used disk space falls between 90 and 100 percent, an alert named DISK is issued. The job continues monitoring the disk space until it is ended manually.

AGENT SYSAGENT
DISK /export/home FORMAT(PERCENT) FROM(90) USED CONTINUOUS(DISK)

Example: Continuously Monitor Used Space on a Windows Drive

This example continuously monitors the C drive on a Windows computer for used space. Each time the used disk space falls below 16 percent or exceeds 95 percent, an alert named DISK is triggered. The job continues monitoring the disk space until it is ended manually.

AGENT SYSAGENT
DISK C FORMAT(PERCENT) FROM(16) TO(95) USED OUTSIDE CONTINUOUS(DISK)

Example: Monitor the System Auxiliary Storage Pool on an i5/OS System

This example monitors the system auxiliary storage pool for available disk space. The job completes immediately and reports the available space in megabytes.

Note: The system ASP is denoted by the forward slash (/). You can also specify the system ASP as /dev/QASP01.

AGENT I5AGENT
DISK / FORMAT(MB)

Example: Monitor an Auxiliary Storage Pool Using a Range

This example monitors the auxiliary storage spool for used disk space. When the used disk space falls between 90 and 100 percent, the job completes.

AGENT I5AGENT
DISK /dev/QASP02 FORMAT(PERCENT) FROM(90) TO(100) USED

Example: Monitor a Mounted File System for a Storage Space Value Outside of a Range

This example monitors an NFS server mounted at /ul for used disk space. When the used disk space falls below 16 percent or exceeds 95 percent, the job completes.

AGENT I5AGENT
DISK /u1 FORMAT(PERCENT) FROM(16) TO(95) USED OUTSIDE