02-apr-2017: Dokuwiki and its plugins were upgraded to the latest release.
28-mar-2016: Welcome to our new server! Faster and less prone to crashing.

Welcome to the Slackware Documentation Project

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
   "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
   "-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 . localhost 2 0 ' ' i 1
   cat /var/log/snmptrapd.log


In Other Languages
Translations of this page?:
QR Code
QR Code howtos:software:install_snmptrapd_on_slackware (generated for current page)