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.