What are the minimum SNMP configurations for cacti monitoring network devices?

Source: Internet
Author: User
Tags snmp

Today, I saw the CPU usage of the company switch. Found high, normal at around 40%. Why? Use

# Show process CPU.

PID Runtime (MS) invoked usecs 5sec 1 min 5 min tty Process

241 3582484836 393202721 9111 9.42% 14.50% 14.41% 0 SNMP Engine


No, SNMP actually consumes a lot of CPU. Why is it so high?

Use show run | begin SNMP to view details. Hey, I found that almost all traps-related functions have started.

SNMP-server enable traps SNMP Authentication linkdown linkup coldstart warmstart

SNMP-server enable traps vrrp

SNMP-server enable traps ds1

SNMP-server enable traps tty

SNMP-server enable traps Kerberos

SNMP-server enable traps Casa

SNMP-server enable traps xgcp

SNMP-server enable traps bulkstat collection Transfer

SNMP-server enable traps ISDN call-Information

SNMP-server enable traps ISDN Layer2

SNMP-server enable traps ISDN Chan-not-avail

SNMP-server enable traps ISDN IETF

SNMP-server enable traps icsudsu

SNMP-server enable traps DS3

SNMP-server enable traps HSRP

SNMP-server enable traps config

SNMP-server enable traps entity

SNMP-server enable traps CPU threshold

SNMP-server enable traps config-copy

SNMP-server enable traps flash insertion Removal

SNMP-server enable traps envmon

SNMP-server enable traps ds0-busyout

SNMP-server enable traps ds1-loopback

SNMP-server enable traps BGP

SNMP-server enable traps OSPF state-change

SNMP-server enable traps OSPF errors

SNMP-server enable traps OSPF retransmit

SNMP-server enable traps OSPF LSA

SNMP-server enable traps OSPF Cisco-specific State-change NSSA-trans-change

SNMP-server enable traps OSPF Cisco-specific State-change shamlink interface-old

SNMP-server enable traps OSPF Cisco-specific State-change shamlink neighbor

SNMP-server enable traps OSPF Cisco-specific errors

SNMP-server enable traps OSPF Cisco-specific retransmit

SNMP-server enable traps OSPF Cisco-specific LSA

SNMP-server enable traps PIM neighbor-change RP-mapping-change invalid-PIM-message

SNMP-server enable traps ipmulticast

SNMP-server enable traps mvpn

SNMP-server enable traps msdp

SNMP-server enable traps RSVP

SNMP-server enable traps frame-relay

SNMP-server enable traps frame-relay subif

SNMP-server enable traps Syslog

SNMP-server enable traps RTR

SNMP-server enable traps MPLS LDP

SNMP-server enable traps MPLS Traffic-Eng

SNMP-server enable traps MPLS VPN

SNMP-server enable traps CNPD

SNMP-server enable traps stun

SNMP-server enable traps DLSw

SNMP-server enable traps bstun

SNMP-server enable traps pppoe

SNMP-server enable traps l2tun session

SNMP-server enable traps ATM subif

SNMP-server enable traps dial

SNMP-server enable traps dsp card-status

SNMP-server enable traps ipmobile

SNMP-server enable traps VTP

SNMP-server enable traps Director server-up server-down

SNMP-server enable traps ISAKMP policy add

SNMP-server enable traps ISAKMP policy Delete

SNMP-server enable traps ISAKMP tunnel start

SNMP-server enable traps ISAKMP tunnel stop

SNMP-server enable traps IPSec cryptomap add

SNMP-server enable traps IPSec cryptomap Delete

SNMP-server enable traps IPSec cryptomap attach

SNMP-server enable traps IPSec cryptomap detach

SNMP-server enable traps IPsec tunnel start

SNMP-server enable traps IPsec tunnel stop

SNMP-server enable traps IPSec too-Protocol-SAS

SNMP-server enable traps event-Manager

SNMP-server enable traps voice poor-qov

SNMP-server enable traps voice fallback

SNMP-server enable traps dnis

However, our company only uses cacti to monitor the port traffic of the vswitch and has no other requirements. It is not necessary for me to close it. But he does not know what to open.

It is actually very simple. You only need to make the following configuration on the vswitch.

SNMP-server community public Ro // enables read-only SNMP

SNMP-server host 172.16.22.100 public // specify hosts to receive SNMP specifications

Try it now.

After the configuration is complete, check the result as follows:

GX-SW-3750G-01 # sh processes CPU | include SNMP Engine

PID Runtime (MS) invoked usecs 5sec 1 min 5 min tty Process

241 3582628348 393214990 9111 4.47% 13.79% 14.23% 0 SNMP Engine


After several minutes, I checked the CPU usage and found that the CPU usage did not drop at all, or sometimes it would be very high. Why? To test this problem. I only monitored two vswitch ports on cacti and found that the CPU usage dropped significantly.

Fortunately, find the real reason.

What are the minimum SNMP configurations for cacti monitoring network devices?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.