BEA WebLogic Server 7 Wartungshandbuch Seite 523

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 545
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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:
Seitenansicht 522
1 2 ... 518 519 520 521 522 523 524 525 526 527 528 ... 544 545

Kommentare zu diesen Handbüchern

Keine Kommentare