Observium CentOS Client Configuration: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
<pre> | <pre> | ||
yum -y install net-snmp | yum -y install net-snmp | ||
systemctl enable snmpd | |||
</pre> | </pre> | ||
Line 45: | Line 45: | ||
= distro = | = distro = | ||
<pre> | <pre> | ||
scp root@observium.mycomputer.com:/opt/observium/scripts/distro /usr/bin/distro | |||
</pre> | </pre> | ||
= restart snmpd = | = restart snmpd = | ||
<pre> | <pre> | ||
systemctl start snmpd | |||
</pre> | </pre> | ||
[[Category : Observium]] [[Category : Linux]] | [[Category : Observium]] [[Category : Linux]] |
Latest revision as of 08:34, 29 June 2015
The following instructions are to be completed on the client and not the Observium server.
Install net-snmp
yum -y install net-snmp systemctl enable snmpd
snmpd
vi /etc/sysconfig/snmpd
Add the line
OPTIONS="-Lsd -Lf /dev/null -p /var/run/snmpd.pid"
snmpd.conf
vi /etc/snmp/snmpd.conf
add the line
view all included .1
change the line
access notConfigGroup "" any noauth exact systemview none none
to
access notConfigGroup "" any noauth exact all none none
add to the end of the file
#This line allows Observium to detect the host OS if the distro script is installed extend .1.3.6.1.4.1.2021.7890.1 distro /usr/bin/distro
distro
scp root@observium.mycomputer.com:/opt/observium/scripts/distro /usr/bin/distro
restart snmpd
systemctl start snmpd