# Go back one pageGo to the next page#Go to this book's Index

Creating Scripts for Alarms

REVIEWERS: THIS FEATURE IS NOT AVAILABLE - SHOULD IT BE??

When you create an alarm, you also can create a script for that alarm (Figure 23). Scripts record when alarms fire and are useful when you need immediate notification of an event. The severity level of an alarm is passed to the script as an argument. Thus, a given script can do different things, depending on the severity. For example, a high severity could beep a pager, a medium severity could send e-mail, and a low severity could just beep a console. In this way, one script could be used for all RMON alarms.

Figure 23 Creating Scripts

Scripts must be in Device Manager unless you specify otherwise.

The following script is an example of a script that alerts with sound:

c:\DM>type script.bat
sndrec32 -play "c\dm\clap4.wav" /close

Writing scripts is beyond the scope of this document. For further information about this subject, refer to the shell documentation for the operating system on which the Device Manager is running.


Go back one pageGo to the next page##Go to this book's Index