User`s guide

Step 1: Setting up Cases
Intelligent Monitoring and Control SpectroRx (SPECTRUM Resolution Expert)
7-2 User’s Guide 5.0rev1
5. If the alarm is repaired, the alarm will disappear from the Alarm
Manager view.
The larger the solution database, the better chance of the system finding a
solution.
Step 1: Setting up Cases
The first step in creating automated alarm resolutions is to build a data
library of solutions (cases) to known problems. The following is an example of
how to do this.
A Case Example
Sometimes SPECTRUM cannot communicate with a SNMP agent. When this
happens, an alarm is created. The alarm issued when contact is lost with a
SNMP agent is called Prob00010701.
Several things can go wrong, causing this problem, and for each type of error,
there is a unique type of solution. For example:
1. If the program snmpd core-dumped, or someone has killed it, the repair is
to restart it.
2. If someone has shut down the computer, the repair is to reboot it.
3. If someone has changed the port to which the SNMP daemon is attached,
the repair is to re-assign the port to the SNMP daemon.
We assume we have cases built (solutions programmed) for each kind of
repair. In particular, we have a case for #1 (in the preceding list) for which we
have a runnable solution named start_snmpd. The case looks like the one
displayed in Figure 7-1, and has been saved to the case library.
NOTES
The information in this chapter is for advanced developers. To
successfully implement the programming described in this chapter, you
should have a basic understanding of (1) the design of algorithms, (2)
network troubleshooting and repair techniques, and (3) the SPECTRUM
network management platform.
The chapter example is for illustration and guidance. You can be creative
and innovative as you develop further intelligence for automatic
monitoring and control.
The chapter example is developed in a UNIX script language, but you can
use other programming languages.