HP Serviceguard A.11.20- Managing Serviceguard Twentieth Edition, August 2011
Sample script that demonstrates how to monitor disk space of a file system using extended generic
resources can be found at:
/etc/cmcluster/examples/sample_generic_resource_disk_space_monitor.sh
Before using this script, copy it to the package specific directory. This script expects the following
parameters when configured as a service:
• $1 : Generic resource name: The name of the generic resource configured in the package
that corresponds to this monitoring script.
• $2 : File system name: The name of the file system or mount point to be monitored.
• $3 : Monitor interval: The time interval between successive monitors.
Template of a Monitoring Script 395