Solutions to problems under Cacti

Source: Internet
Author: User
Article Title: solutions to problems under Cacti. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source, and other basic categories 1 if the disk is not monitored
Please use the template ucd/net that comes with Cacti? Get Monitored Partitions, and then add disk/to the snmpd. conf (/etc/snmp/snmpd. conf) of the Monitored machine (for example, we monitor the root partition)
Then you can run the snmpwalk-v 1-c public 192.168.0.52 dsktable command to check.
2. If the graph returns
1. Check whether your host is active. You must pass the test and the status is active. You can use commands to check whether output exists.
2. In addition, cacti's default rrdtool version is RRDTool 1.1.x! -- Choose Console> System Utilities> Technical Support> RRDTool Version and select RRDTool 1.2.x. Otherwise, the figure may fail.
3. Why is there a problem when the network card Traffic reaches MB?
This is related to the snmp version. The data in snmp1 is 32 bits, while that in snmp2c is 64 bits (AS4 does not support 64 bits by default ).
1. First, make sure that you are using snmp2c or above and whether the 64-bit MIB library is supported. If the returned rows contain "Counter64. This indicates that it is supported.
1. # snmpwalk-c public-v 2c localhost IF-MIB: ifHCInOctets 2. 3. IF-MIB: ifHCInOctets.1 = Counter64: 3174458 4. 5. IF-MIB: ifHCInOctets.2 = Counter64: 1585772167 6. 7. IF-MIB: ifHCInOctets.3 = Counter64: 35696997927 8. 9. IF-MIB: ifHCInOctets.4 = Counter64: 0 10. 2. click "Console->; Create New Graphs->; Data Query" on the Cacti page ". You can see the "Select a graph type:" drop-down menu (In/Out bits by default) below "), change the 64 bits data to "In/Out bits (64-bit Counters)", and then select the network card you want to monitor. In addition, the "Maximum Value" of the monitoring site must be set to more than MB.
3. In device management, select the SNMP Version of the host, which must be 2.
4. RedHat AS4 (not supported below net-snmp5.2) snmp does not support 64-bit counter Solution
You can download a src. rpm file and then add a sentence under the configure of the/usr/src/redhat/SPECS/net-snmp.spec file? Enable-mfd-rewrites \
Then
1. # cd/usr/src/redhat/2. 3. # rpmbuild-bb SPECS/net-snmp.spec 4. generate a heap of x86_64.rpm under/usr/src/redhat/RPMS/x86_64. If it is 32-bit, it is under i386. Just install it.
Note: A 64-bit counter is a newly added IF-MIB on net-snmp 5.2 that can convert more MIB objects (e.g. ifXTable with 64-bit ifHC * counters ). If you use the default 5.2 src package on all images such as RHEL4 and Centosd4, even if you add enable-mfd-rewrites, it will not work. Download the 5.2 src package for installation.
By default, enable-mfd-rewrites is added to this package. After downloading, use the rpmbuild-bb SPECS/net-snmp.spec in the above method to compile and install it.
Sometimes you still cannot get the data. Make sure that your snmpd. conf is configured correctly. The following are all the read options.
1. access notConfigGroup "" any noauth exact all none 2. If you do not want to compile, download redhat4 rpm and install it directly.

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.