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-Dämon snmptrapd

&pagelevel(4)&pagelevel

Standardmäßig erwartet snmptrapd die Anfragen auf dem UDP-Port 162 (für alle IPv4-Adressen). Diese Einstellung können Sie ändern, die zugehörige Konfigurationsdatei (Standard: snmptrapd.conf) modifizieren oder in der Kommandozeile entsprechende Argumente übergeben. Weitere Informationen fínden Sie in Abschnitt „SNMP Trap-Dämonsnmptrapd konfigurieren (snmptapd.conf)“.

Bitte beachten Sie, dass snmptrapd vor snmpd gestartet werden sollte.

Konfigurationsbeispiele für snmptrapd

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

    -C
    Die Standard-Konfigurationsdatei soll nicht verwendet werden.

    -c
    Die angegebene Konfigurationsdatei wird geladen.

    -Lo
    Logging nach stdout.

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

    --authcommunity="log public"
    Alle Traps mit trapcommunity "public" protokollieren.

    udp:1162
    Wartet an dem angegebenen Socket auf Trap-Benachrichtigungen von allen IPs.