Cacti Uses snmp to monitor bandwidth

Source: Internet
Author: User

1. install and configure snmp

A. yum install-y net-snmp-utils

B. chkconfig snmpd on

C. chkconfig-list | grep snmpd

D. vi/etc/snmp/snmpd. conf

Set
View systemview embedded ded. 1.3.6.1.2.1.1
Change
View systemview embedded ded. 1.3.6.1.2.1

Set

Com2sec notConfigUser default public

Change

Com2sec notConfigUser default XDXDXD (more complicated)

E. Restart the snmp service.

Service snmpd restart

2. test whether the snmp service is effective

On the server where cacti is installed, run:

Snmpwalk-v 2c-c XDXDXD (based on actual modification) ip address of the monitored Device

3. Add device information on cacti

A. Enter the IP address or domain name corresponding to cacti in the browser to go to, for example:


B. Access from Managemnet-> Devices


C. Click Add in the upper right corner to Add


D. Enter the correct information.

E. After adding, as shown in figure

4. Add Images

A. After adding a host, clickCreate Graphs for this Host

B. Add the NIC to be monitored

C. Enter the corresponding graph tree

D. Add the previous graph to the corresponding graph tree.

Add hosts to the graph tree

E. Check the Add result.

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.