Cabletron Systems FLIU-1 Guia do Utilizador Página 73

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 126
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 72
9031666 E9 Finding Cases and Using the Library
5-5
Using Runable Solutions
Using Runable Solutions
SpectroRx enables you to automate the alarm resolution process. There are
two basic steps to this process—creating the scripts and programs that resolve
the problems and then executing the Runable Solution from SpectroRx after
similar problems have occurred. This section describes these two processes.
Creating Scripts and Programs
Whenever possible, you should create scripts or programs that can resolve
your network problems. These scripts can be written in any language that the
shell understands—C, C++, scripting languages, FORTRAN, or UNIX
commands, for example.
Follow these steps to create executable solutions:
1. Design the scripts and programs that SpectroRx can use to resolve
network problems.
2. Create cases for these particular network problems, making sure that you
include an executable command in the Runable Solution field of each case.
This executable command can utilize both the programs you have
designed and the information in the case.
Follow these rules when creating the command for the Runable Solution
field:
The command should use the full pathname of the script or program.
The command can take the following arguments:
$pc (Probable Cause), $pcat (Problem Summary),
and $<parameter> (any parameter from the Parameters field).
Figure 5-2 includes a sample script called
restart
that restarts a remote
snmp daemon. If you enter the following command in the Runable
Solution field, it will execute the script illustrated in Figure 5-2.
/usr/scripts/restart snmpd $landscape $server
NOTE
Make sure that the permissions are set correctly on any scripts that
you include in SpectroRx commands.
Vista de página 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 ... 125 126

Comentários a estes Manuais

Sem comentários