LibreNMS

From 4AllBusiness
Revision as of 09:33, 24 May 2018 by 4allbusiness (talk | contribs) (Created page with "LibreNMS instelling voor Linux In CentOS het volgende installeren om snmp en xinetd te activeren: yum install -y net-snmp net-snmp-util xinetd Vervolgens de inhoud van de /...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

LibreNMS instelling voor Linux

In CentOS het volgende installeren om snmp en xinetd te activeren:

yum install -y net-snmp net-snmp-util xinetd

Vervolgens de inhoud van de /etc/snmp/snmpd.conf aanpassen naar:

# Change RANDOMSTRINGGOESHERE to your preferred SNMP community string
com2sec readonly  default         publicPassAanpassen

group MyROGroup v2c        readonly
view all    included  .1                               80
access MyROGroup ""      any       noauth    exact  all    none   none

syslocation Rotterdam, Nl [51.922982,4.431308]
syscontact B.Huijsen <info@4allbusiness.nl>

#Distro Detection
extend .1.3.6.1.4.1.2021.7890.1 distro /usr/bin/distro

#Hardware Detection (uncomment to enable)
#extend .1.3.6.1.4.1.2021.7890.2 hardware '/bin/cat /sys/devices/virtual/dmi/id/product_name'
#extend .1.3.6.1.4.1.2021.7890.3 manufacturer '/bin/cat /sys/devices/virtual/dmi/id/sys_vendor'
#extend .1.3.6.1.4.1.2021.7890.4 serial '/bin/cat /sys/devices/virtual/dmi/id/product_serial'