4.1.0 HP PolyServe Matrix Server administration guide (T5392-96073, October 2010)

NOTE:
Service monitors using TCP port numbers must be assigned distinct port numbers.
For example, the built-in FTP service monitor and a generic TCP monitor cannot both
attempt to use TCP port 21. You do not need to specify an IP address because a
service monitor is associated with a virtual host. Matrix Server uses that virtual host
IP address in combination with the TCP port number to create network TCP
connections for service monitors.
Custom service monitor
Matrix Server provides a CUSTOM service monitor type that can be used when the
built-in monitor types are not sufficient. Custom monitors can be particularly useful
when integrating Matrix Server with a custom application.
Matrix Server treats custom monitors just as it does the built-in monitors, except that
you must supply the probe script. In the script, probe commands should determine
the health of the service as necessary. If the service is operating normally, the probe
script should exit with exit status zero. If the service is not operating normally, the
probe script should exit with a non-zero exit status. Matrix Server will interpret the
non-zero exit status as a failure of the service and then take the appropriate action.
See Chapter 17 on page 233 for information about developing probe scripts for
custom monitors and integrating monitors with custom applications.
Add or modify a service monitor
Adding a service monitor configures Matrix Server monitoring only. It does not
configure the service itself.
To add or update a service monitor, select the appropriate option:
To add a new service monitor, first select the virtual host for the monitor on either
the Servers or Virtual Hosts window, then right-click and select Add Service
Monitor (or click the Service icon on the toolbar). Then configure the monitor on
the Add Service Monitor window.
To modify an existing service monitor, select that monitor on either the Servers or
Virtual Hosts window, right-click, and select Properties. Then make your changes
on the Service Monitor Properties window.
HP PolyServe Matrix Server 4.1.0 administration guide 207