unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OSF1-V5.1-alpha)
Page:
Section:
Apropos / Subsearch:
optional field



snmp_traprcv(8)						      snmp_traprcv(8)



NAME

  snmp_traprcv - A program that	listens	for SNMP trap messages and prints any
  it receives

SYNOPSIS

  /usr/sbin/snmp_traprcv [-d] [-tcp] [-p port]

OPTIONS

  -d  Sends a hexadecimal dump of the received packet to stdout.

  -tcp
      Specifies	that the TCP transport be used instead of the UDP transport.
      If a connection cannot be	established, the program silently receives
      the trap on the standard transport address (UDP 162).

  -p port
      Specifies	the port number	on the local host on which to listen to	mes-
      sages. The default is 162, the well-known	SNMP trap port.

DESCRIPTION

  The snmp_traprcv program listens on the SNMP Trap port specified in the
  /etc/services	file.  If no entry exists in the /etc/services file, the pro-
  gram listens on port 162.  If	any SNMP trap messages arrive, snmp_traprcv
  prints them to stdout.  The program runs until terminated by typing Ctrl/c.

RESTRICTIONS

  When using the default or well-known port, you must have root	privileges in
  order	to run this program.  The program may not be able to bind to the
  default or specified port if other software on the system is already bound
  to that port.

SEE ALSO

  Commands: snmpd(8), snmp_request(8), snmp_trapsnd(8)