3.7.0 HP StorageWorks HP Scalable NAS File Serving Software administration guide - HP Scalable NAS 3.7 for Linux (AG513-96002, October 2009)
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. HP Scalable NAS uses that virtual
host IP address in combination with the TCP port number to create network TCP
connections for service monitors.
Custom service monitor
HP Scalable NAS 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 HP Scalable NAS with a custom application.
HP Scalable NAS 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. HP Scalable NAS will interpret
the non-zero exit status as a failure of the service and then take the appropriate
action.
See Chapter 20, page 345 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 HP Scalable NAS 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 Service 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.
Configure service monitors318