Back to the main page
Installing Observium Unix agent and adding Linux system to Observium
If you want to add Linux system to Observium then Linux system needs Linux agent running on it.
Linux Agent is a script which return statistical data for a Linux host.
The SNMP is still required on a Linux box with the agent, the agent simply provides additional data which can't be accessed via SNMP.
So have these installed on Linux system:
net-snmp-5.5-44.0.1.el6_4.4.x86_64
net-snmp-utils-5.5-44.0.1.el6_4.4.x86_64
net-snmp-libs-5.5-44.0.1.el6_4.4.x86_64
|
Have the SNMP config file like this:
# cat /etc/snmp/snmpd.conf
# from:
# http://www.observium.org/wiki/NetSNMPd_Client_Configuration
com2sec readonly default etcfstab-public
group MyROGroup v1 readonly
group MyROGroup v2c readonly
group MyROGroup usm readonly
view all included .1 80
access MyROGroup "" any noauth exact all none none
syslocation server_room_300
syscontact myadmin@etcfstab.com
#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
|
Start snmp service.
# service snmpd start
Starting snmpd: [ OK ]
# service snmpd status
snmpd (pid 11760) is running...
# chkconfig snmpd on
# chkconfig --list snmpd
snmpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
|
From Observium server, copy the file /opt/observium/scripts/distro to your Linux server in /usr/bin/distro
Restart snmpd
# service snmpd restart
And add Linux system to Observium via web interface.
Back to the main page