[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

no way to compare when less than two revisions

Diferencias

Muestra las diferencias entre dos versiones de la página.


es:howtos:software:snmptrapd [2019/02/28 01:53 (UTC)] (actual) – creado slackwarespanol
Línea 1: Línea 1:
 +<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). -->
 +====== Install snmptrapd on Slackware ======
  
 +**NOTE:** 'public' should be changed to your correct community string.
 +
 +1) Install the official Slackware net-snmp package. \\
 +
 +2) Create /etc/snmp/snmptrapd.conf
 +
 +     authCommunity log,execute,net public
 +     
 +     WHERE:
 +     "log" & "execute" are the actions to take
 +     "net redrock" is to listen for any traps with redrock as the community string
 +
 +3) Start snmptrapd by:
 +
 +     snmptrapd -Lf /var/log/snmptrapd.log -c /etc/snmp/snmptrapd.conf
 +     
 +     WHERE:
 +     "-Lf" is log to file /var/log/snmptrapd.log
 +     "-c" is use /etc/snmp/snmptrapd.conf as the config file.
 +
 +4) Test:
 +
 +     snmptrap -v 1 -c public localhost .1.3.6.1.6.3.1.1.5.3 localhost 2 0 ' ' 1.3.6.1.2.1.2.2.1.1 i 1
 +     cat /var/log/snmptrapd.log
 +
 +
 +====== Sources ======
 +
 + * Contributions by [[wiki:user:markand |markand]] -->
 +
 +{{tag>howtos software snmptrapd snmp snmp_traps needs_attention author_arfon}}
 es:howtos:software:snmptrapd ()