Index Index for
Section 8
Index Alphabetical
listing for S
Bottom of page Bottom of
page

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 messages. 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 program 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)

Index Index for
Section 8
Index Alphabetical
listing for S
Top of page Top of
page