
Running the Integrated System
Intelligent Monitoring and Control SpectroRx (SPECTRUM Resolution Expert)
7-8 User’s Guide 5.0rev1
An explanation of four sections in the preceding code (see Figure 7-4):
➊ The case statement starting at line #1 discards all alarms except the ones
we’re interested in — 10701.
➋ The assignment lines starting at line #2 put the required information in
the syntax recognized by the cbr_retrieve and cbr_execute commands.
➌ Line #3 issues the cbr_retrieve command with the information we know
about the alarm. cbr_retrieve returns an ordered list of similar cases, and
assigns the list to the variable similar_cases.
➍ The for loop beginning at line #4 steps down the similar_cases list looking
for a runnable solution. Whenever it finds one, it executes it, passing it the
parameters of the outstanding alarm.
Running the Integrated System
To start intelligent monitoring and control, navigate to the <spectrum>/
NotiÞer directory and from the command line, execute the following command:
AlarmNotifier -r <cbr_directory>/.alarmrc
Whenever an alarm of type 10701 occurs, the information will be passed to
SpectroRx for automatic resolution and the results will be displayed to the
user. In our example situation, we have just one case with an executable
solution. When other cases are added to the case database library that might
hold runnable solutions, they will be considered during the retrieval task.
Comentários a estes Manuais