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)
========================================================
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 "/>
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 "/>
-
< 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 "/>
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)