You are on page 1of 6

SNMP support in Cacti

Simple Network Management Protocol (SNMP) is an application layer protocol, which processes the exchange of management information between devices. It is a part of the transmission control protocol suite (TCP/IP). SNMP helps the network administrator to manage network performance, find and solve network problems, and plan for network growth. Three versions of SNMP exist: SNMP version 1 (SNMPv1), SNMP version 2 (SNMPv2c), and SNMP version 3 (SNMPv3). How SNMP will work with your Cacti installation depends on which version you choose. Version 1 is limited on most devices, and should be avoided unless you have no other option. If you want access to greater resources (for example, implement high-speed counter (64bits)) then you can choose version 2. For secure and authenticated implementation, you can choose SNMPv3. Cacti has implemented version 3 fully from 0.8.7 version onwards. The Cacti Group recommends version 2c for ease of use and general support.

Adding a device
# In the console over Management select Devices # Over Devices select Add and

# Click Create

# When you save you can see the message SNMP error this is because we need to configure the device to response the snmp queries

# When you save the configuration cacti add additional options

By default cacti add SNMP Interface statistics as Data Query we can use it to monitor a specific interface. # Click Create Graphs for this host Check Cisco CPU Usage

# Click to Create

# We can select the color to use with the graphic # Click create

# Now, we need to enable snmp in the SW2


snmp-server community public RO snmp-server location MEDELLIN/COLOMBIA snmp-server host 192.168.180.3 version 2c public

snmpwalk -v 2c -c public 192.168.180.4 sysUpTimeInstance snmpwalk -v 2c -c public 192.168.180.4 .1.3.6.1.2.1.4.20.1.2

As we can see the NMS is sending snmp queries

Now in the host configuration click Create Graphs for this Host

Select Vlan11 and In/Out Bytes with Total Bandwidth and click to create

Now over Devices we can see that SW1 have two Data Sources and Two Graphs.

Select Graph Trees, select Routes click add

Click to Create

Now, select Graphs tab and select the device desired

You might also like