Example of SNMP configuration for CACTI monitoring CENTOS LINUX

Source: Internet
Author: User

Install snmp on the monitored side

Yum-y install net-snmp-devel

Install and configure snmp on the monitored side


Vim/etc/snmp/snmpd. conf
Com2sec notConfigUser default public

Change to (cacti host IP address)


Com2sec notConfigUser 192.168.0.195 public

Access notConfigGroup "" any noauth exact systemview none

Change


Access notConfigGroup "" any noauth exact all none

# View all supported DED. 1 80

Delete # Comment

View all supported DED. 1 80

Enable snmp

Service snmpd start

Set snmpd startup

Chkconfig snmpd on

Cacti Server Test monitored end


Snmpwalk-c public-v 2c 192.168.0.97
Snmpwalk-v 1-c public 192.168.0.97 IP-MIB: ipAdEntIfIndex
192.168.0.97 is the monitored IP address.
[Root @ cactiez scripts] # snmpwalk-v 1-c public 192.168.0.97 IP-MIB: ipAdEntIfIndex
IP-MIB: ipAdEntIfIndex.127.0.0.1 = INTEGER: 1
IP-MIB: ipAdEntIfIndex.192.168.0.97 = INTEGER: 2

0.97 of data can be obtained, indicating that the controlled end has accepted snmp monitoring.

Configure cacti

After the above test is successful, add the device from cacti and then add the image.

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.