Observium CentOS Client Configuration: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
Created page with "= Install net-snmp = <pre> yum -y install net-snmp chkconfig snmpd on </pre> = snmpd = <pre> vi /etc/sysconfig/snmpd </pre> Add the line <pre> OPTIONS="-Lsd -Lf /dev/null -p..." |
No edit summary |
||
Line 1: | Line 1: | ||
= Install net-snmp = | = Install net-snmp = | ||
The following instruction are to be completed on the client and not the Observium server. | |||
<pre> | <pre> | ||
yum -y install net-snmp | yum -y install net-snmp | ||
Line 40: | Line 41: | ||
</pre> | </pre> | ||
= distro = | |||
<pre> | |||
wget http://www.observium.org/svn/observer/trunk/scripts/distro | |||
mv distro /usr/bin/distro | |||
chmod 755 /usr/bin/distro | |||
</pre> | |||
= restart snmpd = | |||
<pre> | |||
service snmpd restart | |||
</pre> | |||
[[Category : Observium]] [[Category : Linux]] | [[Category : Observium]] [[Category : Linux]] |
Revision as of 04:30, 25 February 2014
Install net-snmp
The following instruction are to be completed on the client and not the Observium server.
yum -y install net-snmp chkconfig snmpd on
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
wget http://www.observium.org/svn/observer/trunk/scripts/distro mv distro /usr/bin/distro chmod 755 /usr/bin/distro
restart snmpd
service snmpd restart