3.5.1 Matrix Server Administration Guide

Chapter 14: Configure Device Monitors 241
Copyright © 1999-2007 PolyServe, Inc. All rights reserved.
Device name: Type the name of the device monitor. You can use up to 32
alphanumeric characters.
Application name: Specify the name of the Matrix Server application to
be associated with this device monitor. Matrix Server applications are
used to group related virtual hosts, service monitors, and device
monitors on the Applications tab. If you leave this field blank, Matrix
Server will use the name of the device monitor as the application name.
Device type: Select the appropriate device type (
DISK, CUSTOM, or
SHARED_FILESYSTEM). See “Overview” on page 236 for a description of
these monitors.
Timeout and Frequency: These fields are set to the default values for the
type of device you have selected. Change them as needed.
The other monitor parameters are dependent on the type of monitor that
you are creating.
DISK monitor. At the “Monitor partition” prompt, specify a partition
on the disk. The monitor will periodically attempt to read the first
block of this partition to determine whether the disk is operating
normally. Type the full partition name such as /dev/sda1.
CUSTOM monitor. At the “User probe script” prompt, specify the
pathname to the probe script to be used with the monitor. See
“Custom Scripts” on page 270 for information about writing probe
scripts.
SHARED_FILESYSTEM monitor. At the “Filesystem” prompt, select the
filesystem that is to be monitored. The “Filename” parameter is
optional. Enter the name of a file that the monitor probe should open
and attempt to read to determine the health of the filesystem. The
filename should be relative to the mount point of the filesystem. When
the filesystem is mounted, the mountpath will be prepended to the
filename to determine the complete filename path that should be
probed.
If you do not enter a filename, Matrix Server will create a file that will
be used by the monitor probe. The file will be named
MxS/<serverIP>/<monitor_name>, where <serverIP> is the dotted