Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ traprecv(1M) — DG/UX 5.4R3.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

snmpgetmany(1M)

snmpgetnext(1M)

snmpsetany(1M)

snmptrapsend(1M)

snmpgettab(1M)

snmpgetone(1M)

snmpd(1M)

snmpd.conf(4M)

getservbyname(3N)



snmptraprecv(1M)               TCP/IP 5.4R3.00              snmptraprecv(1M)


NAME
       snmptraprecv, traprecv - receive SNMP trap messages,

SYNOPSIS
       snmptraprecv [-n][-t][-d] [ port ]

   where:
       port is an optional UDP port number

DESCRIPTION
       Use the snmptraprecv command to receive trap messages from SNMP
       agents.  The command listens on UDP port number port for incoming
       traps and prints information about them as they are received.  If you
       do not specify a port, snmptraprecv will determine the port number
       using getservbyname(3N) for "snmp-trap".  Superuser access is
       required for any port number less than 1024, including the default
       port of 162.

       Options are:

       -n     Display Object ID's in a numeric format instead of translating
              them into a symbolic name.

       -t     Display the data type of the object in addition to it's name
              and value.

       -d     Use the -d option to print additional information about the
              packets as they are received.

EXAMPLE
       In the following example, snmptraprecv is used to demonstrate the
       trap generated by snmptrapsend.
       $ snmptraprecv &
       $ snmptrapsend localhost public coldStart
       Community: public
       Enterprise: dataGeneral
       Agent-addr: 127.0.0.1
       Cold start trap.
       Time Ticks: 0
       Name: iso.1.1.1
       Value: NULL

DIAGNOSTICS
       Exit status of -1 is returned if there are command line errors.  The
       command runs until the user terminates it, so there is no normal exit
       status.

SEE ALSO
       snmpgetmany(1M), snmpgetnext(1M), snmpsetany(1M), snmptrapsend(1M),
       snmpgettab(1M), snmpgetone(1M), snmpd(1M), snmpd.conf(4M),
       snmpdfiles(4M), getservbyname(3N).






Licensed material--property of copyright holder(s)                         1


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026