User Tools

Site Tools


install_snmp_agent

INSTALL SNMP AGENT


  • apt-get update && apt-get install snmpd
  • nano /etc/snmp/snmpd.conf
  • delete the content of the file and insert:

rocommunity public
sysServices 72
proc mountd
proc ntalkd 4
proc sendmail 10 1
disk / 10000
disk /var 5%
includeAllDisks 10%
load 12 10 5
trapsink localhost public
sysLocation 52.3206680,5.5342870
sysContact info@artit.nl
defaultMonitors yes
linkUpDownNotifications yes
master agentx

  • nano /etc/default/snmpd
  • opt out the line starting with SNMPDOPTS and insert this line:

SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid'

  • nano /etc/snmp/snmp.conf
  • enter this line: #mibs :
  • service snmpd restart

Your ArtIT Team

BACK

install_snmp_agent.txt · Last modified: 2018/03/23 11:09 by chris