BEA WebLogic Server 7 Manual de Serviço Página 523

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 545
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 522
Commands for Testing Traps
Administration Guide C-59
java snmptrapd
3. Open another shell and do the following:
a. Add a supported SDK to the shell’s
PATH environment variable.
b. Set the CLASSPATH environment variable as described in “Setting the Classpath
Option” on page 2-10.
4. To generate a trap, enter the following command:
java snmpv1trap localhost .1.3.6.1.4.140.625 localhost 6 65
1000
The
snmpv1trap command generates a serverStart Trap and broadcasts it through
port 162.
In the shell in which the trap daemon is running, the daemon prints the following:
Trap received from: /127.0.0.1, community: public
Enterprise: .1.3.6.1.4.140.625
Agent: /127.0.0.1
TRAP_TYPE: 6
SPECIFIC NUMBER: 65
Time: 1000
VARBINDS:
Vista de página 522
1 2 ... 518 519 520 521 522 523 524 525 526 527 528 ... 544 545

Comentários a estes Manuais

Sem comentários