


When a RMON Alarm is configured, the user can 
optionally specify a script (or program) to 
execute when the alarm event is triggered.
 
By default, DM will look for predefined scripts 
in an ASCII file called ".rmonscripts" in the user's 
home directory.  

The file can contain one or more lines of text.
Each line has the format of a 'script-name' followed 
by the 'file-name' where the script is stored.  
For example, a file containing two scripts can look
like this: 
 
CpuUtilizationAlarm     /tmp/cpu_alarm 
LinkDownAlarm           /tmp/link_alarm 
 
 
Clicking on the Rmon->AlarmManager->Scripts button 
will pop-up a window showing what predefined scripts 
the user has specified.  The user can apply one of
these scripts to a particular alarm by entering the 
name of the script in the Rmon->AlarmManager->Script
field.  When the alarm is triggered, DM will execute   
the script. 
 
The user can define scripts to send a page to a 
network administration, execute a program to gather 
statistics, etc.  The DM is not interested in what 
the script does.  DM simply executes the script at 
the appropriate time.  It is up to the users to
write/create the script(s) that are appropriate for 
their site.
