Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

SNMP trap daemon snmptrapd

&pagelevel(4)&pagelevel

By default, snmptrapd listens for incoming SNMP requests in UDP port 162 for all IPv4 addresses. You can modify the setting by changing its configuration file (by default, snmptrapd.conf) or by passing command line arguments. For more information on this, please refer to section “Configuring SNMP trap daemon snmptrapd (snmptapd.conf)”.

snmptrapd should be started prior to the snmpd.

  

Snmptrapd configuration examples

  1. snmptrapd -C -c ./trap.conf -Lo &

    -C
    Don't use default configuration file.

    -c
    Load given configuration file.

    -Lo
    Log to the stdout.

  2. snmptrapd -C -Lo --authcommunity="log public" udp:1162 &

    --authcommunity="log public"
    Log all traps with trapcommunity "public".

    udp:1162
    Listen for trap notifications from all IPs on given socket.