3.5.1 Matrix Server Administration Guide

Copyright © 1999-2007 PolyServe, Inc. All rights reserved. 270
17
Advanced Monitor Topics
The topics described here provide technical details about Matrix Server
monitor operations. This information is not required to use Matrix Server
in typical configurations; however, it may be useful if you want to design
custom scripts and monitors, to integrate Matrix Server with custom
applications, or to diagnose complex configuration problems.
Custom Scripts
When you create a custom service or device monitor, you will need to
supply a probe script that can determine whether the service or device is
up or down.
You can also supply Recovery, Start, and Stop scripts for any service or
device monitor. Start and Stop scripts are run during monitor virtual host
transitions. The Recovery script is run only when a probe script fails.
Requirements for Custom Scripts
The following requirements apply to all custom scripts created for use
with service and device monitors.
The specification of the command and its parameters must be less
than 512 bytes in total length.
The script must be an executable file in the filesystem. You can use
shell scripts, Java scripts, C programs, or other types of executable
files.
The command will be executed as root.