BEA WebLogic Server 7 Servisní příručka Strana 523

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 545
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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:
Zobrazit stránku 522
1 2 ... 518 519 520 521 522 523 524 525 526 527 528 ... 544 545

Komentáře k této Příručce

Žádné komentáře