|A P P E N D I X C|
Creating a Script That Sends an Alert Message or RSC Event
You can embed the rscadm subcommand send_event in a script or command file to log a Remote System Control (RSC) event or send an alert when certain conditions occur. Use the -c option to send an alert.
This appendix provides an example Perl script file named dmon.pl that sends an RSC alert when a specified disk partition exceeds a specified percent of its capacity. This script is written for use with a Sun Fire 280R server. To use this script as intended, submit a separate entry to the crontab utility for each disk partition you want to monitor.