Posts

Showing posts with the label snmpwalk

How to configure SNMPv3 in Ubuntu, CentOS and Cisco

I had originally written this tutorial for xmodulo.com Simple Network Management Protocol (SNMP) is a widely used protocol for gathering information about what is going on within a device. For example, CPU and RAM usage, load on a server, traffic status in a network interface, and many other interesting properties of a device can be queried using SNMP. Currently, three versions of SNMP are available: v1, v2c and v3. SNMP v1 and v2c can be easily configured, which has been discussed in a  previous article . SNMPv3 adds some additional features, including authentication and encryption schemes (e.g., MD5, SHA, AES and DES). This makes SNMPv3 more secure and advisable while you run SNMP queries over the Internet. SNMPv3 configuration is a bit different compared to SNMP v1 or v2c. The following sections explain in detail how the configuration is done. Configure SNMPv3 on  Ubuntu  or Debian The  net-snmp-config  tool is used for configuration. The following...

How to monitor Linux servers with SNMP and Cacti

Image
I had originally written this tutorial for xmodulo.com SNMP (or Simple Network Management Protocol) is used to gather data on what is going on within a device, such as load, hard disk states, bandwidth. These data are used by network monitoring tools such as Cacti to generate graphs for monitoring purposes. In a typical deployment of Cacti and SNMP, there will be one or more SNMP-enabled devices, and a separate monitoring server where Cacti collects SNMP feeds from those devices. Please keep in mind that all the devices that need to be monitored must be SNMP enabled. In this tutorial, we will be configuring Cacti and SNMP on the same Linux server for demonstration purpose. Configure SNMP on Debian or Ubuntu To install SNMP agent ( snmpd ) on a Debian-based system, run the following command. root@server:~# apt-get install snmpd Then edit its configuration like the following. root@server:~# vim /etc/snmp/snmpd.conf # this will make snmpd listen on all interfaces agentAd...