SolidHost Forums

SolidHost Forums (
-   Knowledgebase (
-   -   How-to install SNMP (

SH-Andre Jun 15th, 2007 17:59

How-to install SNMP
As of today our new monitoring service is available to existing customers. More details will be placed on our website shortly.

Unlike most other monitoring services, we can not only measure whether your server is up, but it can (for example) also measure your server load, CPU usage, memory usage, and so on. In order to do this, an SNMP daemon (Simple Network Management Protocol) would need to be installed on your VPS first. Here's a little tutorial on how you could do this yourself.

Instead of installing RPM's and their dependencies manually, it's easiest to install yum and then let yum install the applications:


cd /root
mkdir temp
cd temp
rpm -ivh *rpm
cd ..
rm -rf temp

Now, yum is installed and we can make it install SNMP:


yum install net-snmp net-snmp-utils net-snmp-devel -y
Ok, now SNMP is installed. We just need to configure a read-only community now so the monitoring system can read the system data:


echo rocommunity secret-name > /etc/snmp/snmpd.conf
In the above line, replace "secret-name" with a secret word. This will basically act as a password.

Finally, configure snmp to automatically start at boot time, and start the snmp daemon:


service snmpd start
chkconfig snmpd on

That's all! Now just make sure that port 161 (UDP) is left open in your firewall (if you have one installed), otherwise the monitoring service won't be able to connect.

SH-Andre Feb 27th, 2008 13:15

Just a little update:

I came to find out today that the yum installer for CentOS 5 somehow installs a relatively old version of SNMPd which doesn't work well. If you run into this problem, you'll have to remove the SNMPd that was installed by yum and simply install the latest SNMPd RPM manually. Currently that would be:


rpm -ivh net-snmp-5.3.1-19.el5.i386.rpm

Of course you would first have to install the necessary dependencies, but you could simply let YUM do that for you.

If you need any help on getting any of this done, you may always feel free to open a support ticket.

All times are GMT +2. The time now is 07:00.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.