Here are step by step commands to Install SNMP on Ubuntu 14.04 Rackspace Cloud Server. We have discussed the theoretical part of SNMP and here is the practical. With a SNMP installed instance, we can do tasks like monitoring and managing the networked systems, by default with ordinary usage; we will possibly never need it with Rackspace’s excellent tools. But if you use Vyatta Network Appliance or have lot of non-Cloud Server instances; this will be helpful. It is near impossible to write about SNMP in one guide. This is just a simple basic setup.
Install SNMP on Ubuntu 14.04 Rackspace Cloud Server : Stuffs We Will Need
The structure of programs that implement SNMP can be very complex. We will recommend to use a fully separate Cloud Server (minimum 1 GB PVHVM is recommended) for testing and saving it as image before deleting the instance – in case you are following this guide of learning purpose. We are not going to start from how to SSH like we do with WordPress like mainstream softwares. It is quite obvious that you will know these basics. We are starting after creating the instance and login via SSH. We will run SNMP Daemon – so it is snmpd
.
Install SNMP on Ubuntu 14.04 Rackspace Cloud Server : Steps
Initial setup :
---
1 2 3 4 5 6 7 | # you have logged in as root apt-get update apt-get install snmp snmp-mibs-downloader # again update apt-get update # daemon apt-get install asnmpd |
To configure the daemon we need to edit the file /etc/snmp/snmp.conf
:
1 | nano /etc/snmp/snmpd.conf |
You will find a commented out line like -> #mibs :
; just remove the hash and save it and exit. Here we will end this small tutorial because you have many ways to configure like we can be configuring the SNMP Agent Machine and create user, we can use as MRTG. We are taking this full SNMP things as a series. This is the initial setup.