Cacti resolution of the image (full version)

Source: Internet
Author: User
Tags rrd snmp snmpwalk

Cacti the method and idea of the error of the image

Cacti the monitoring is not much to say. After the installation is complete, novice will encounter a lot of problems, but the most important problem is that Cacti can not draw the image (can not draw the image and what you do). So here is a brief introduction to the wrong idea.

In the following summary, the wrong order:

1.system Utilities–>rebuildpoller Cache Delete

2, set the correct system time.

3. Running /usr/bin/php/var/www/html/cacti/poller.php–force

4, permissions issues, modify permissions #chmod 777-r/srv/www/htdocs/cacti/rra

5, The database table is damaged, repair #mysqlcheck-aocacti–auto-repair-uroot–p

6. Restart snmpd service #service snmpd Restart

7,php.ini under the DATA.TIMEZONE=PRC

8,whether the Cornd service is started, whether the scheduled task is running successfully (this item can be ignored manually)


========================================================

    1. because Cacti Drawing is done by reading the files inside the Cacti/rra directory. So the RRA directory is best for 777 permissions.

650) this.width=650; "title=" 1.png "alt=" wkiom1yowx-sfb4uaai8v1lqo_q408.jpg "src=" http://s3.51cto.com/wyfs02/M02/ 74/c0/wkiom1yowx-sfb4uaai8v1lqo_q408.jpg "/>

  1. How did the documents inside the Cacti/rra come from? The answer is, of course , crawled through the PHP catch SNMP protocol, so if the RRA directory does not have these rrd files, It is recommended to check the SNMP protocol. or a PHP problem. 650) this.width=650; "title=" 2.png "alt=" wkiol1yownjb8kanaadnld1_auq091.jpg "src=" http://s3.51cto.com/wyfs02/M01/ 74/bd/wkiol1yownjb8kanaadnld1_auq091.jpg "/>

  1. < Span style= "font-family: ' The song Body '; > if rra There's a file under there, or you can't figure it out, use

    /usr/bin/ Php/var/www/html/cacti/poller.php–force to see RRD

    For this situation, it is recommended to delete the rra All the files under the directory, and then use the following command PHP crawl snmp write to Rra: Notice to grant 777 permission oh

         4 snmpwalk-v 2c-c Publicserverip    This command is to verify that the other host is turned on snmp agreement. Here's serverip ip ip

650) this.width=650; "title=" 4.png "alt=" wkiol1yowrst11d2aajm9xhzo8k544.jpg "src=" http://s3.51cto.com/wyfs02/M00/ 74/bd/wkiol1yowrst11d2aajm9xhzo8k544.jpg "/>


    1. Here we check whether the server is returning data to our client (monitored).

      snmpwalk-v2c serverip-c Public .

      if 3 can be , 4 not to. Check the php settings, that is, permissions problems.



This article from "Linux Toss" blog, declined reprint!

Cacti resolution of the image (full version)

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.