Monitoring

From TurnKey+MediaWiki
Revision as of 20:53, 12 July 2021 by Admin (talk | contribs) (Created page with "== install smpd == apt-get install snmpd libsnmp-dev == add v3 user == net-snmp-config --create-snmpv3-user -ro -A authpass -X privpass -a SHA -x AES username == add cli...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

install smpd

apt-get install snmpd libsnmp-dev

add v3 user

net-snmp-config --create-snmpv3-user -ro -A authpass -X privpass -a SHA -x AES username

add clientserver to observium

cd /opt/observium
./add_device.php <ipaddress> ap v3 username authpass privpass sha aes 161 udp

remember to open ufw

proxmox fix

# This file controls the activity of snmpd and snmptrapd

# MIB directories. /usr/share/snmp/mibs is the default, but
# including it here avoids some strange problems.
export MIBDIRS=/usr/share/snmp/mibs 

# snmpd control (yes means start daemon).
SNMPDRUN=yes

# snmpd options (use syslog, close stdin/out/err).
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid'

# snmptrapd control (yes means start daemon). As of net-snmp version
# 5.0, master agentx support must be enabled in snmpd before snmptrapd
# can be run. See snmpd.conf(5) for how to do this.
TRAPDRUN=no

# snmptrapd options (use syslog).
TRAPDOPTS='-Lsd -p /var/run/snmptrapd.pid'

# create symlink on Debian legacy location to official RFC path
SNMPDCOMPAT=yes