User`s guide

Step 2: Integrating SpectroRx and AlarmNotifier
The Integration Tasks
Intelligent Monitoring and Control SpectroRx (SPECTRUM Resolution Expert)
7-6 User’s Guide 5.0rev1
The Integration Tasks
We set up the integration with the AlarmNotifier as follows.
1. Copy the following files from the <spectrum>/NotiÞer directory to the
<spectrum>/CBR directory:
.alarmrc
SetScript
2. Modify the .alarmrc file as shown in Figure 7-3.
Figure 7-3. The Modified .alarmrc File
On the line SetScript= we enter SetScript=<spectrum directory>\
/CBR/SetScript. This is the pathname of the SetScript we want executed
when an alarm occurs. Let the pathnames for ClearScript and
UpdateScript be nil. For this example, we do not want SpectroRx to do
anything when an alarm is cleared or updated.
3. Modify the SetScript file as in Figure 7-4.
VNM_NODE_NAME=<your server name>
VNM_SOCKET_NUMBER=0xBEEF
VNM_MAIL_TIMEOUT=600000
SEND_ALARM_DELAY=1000
GET_GRAY_INITIAL_ALARMS=true
GET_EXISTING_ALARMS=false
SET_SCRIPT=<spectrum directory>/CBR/SetScript
CLEAR_SCRIPT=
UPDATE_SCRIPT=
APPLICATION=AlarmNotifier
GET_LOCATIONS=true
GET_PROBABLE_CAUSES=true
GET_EVENTS=true
GET_FLASH_GREEN=true
FORMAT_FILE=<spectrum directory>/SG-Support/
CsEvFormat/Event
CAUSE_FILE=<spectrum directory>/SG-Support/
CsPCause/Prob
EXPIRATION_DATE=
PASSWORD=