Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ snmptraprecv(1M) — DG/UX R4.11MU05

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)               DG/UX R4.11MU05              snmptraprecv(1M)


NAME
       snmptraprecv - receive SNMP trap messages

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

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".

       Options are:

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

       -t     Display the data type of the object in addition to its 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)

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