Updating cacti - Chat no card needed
However I was not able to locate any good directions.
NOTE: download and execute these from /var/www/html which is the default root directory for Cacti on Cacti EZ. wget wget wget wget wget patch -p1 -N NOTE: While this upgrade works fine to upgrade Cacti itself you will have to upgrade other Cacti EZ components for them to work properly, such as THold, Monitor, Discover, Weather Map, MACTrack and the Plugin Architecture. A client recently asked me to fix some Cacti graphs that had broken after upgrading the Cacti templates I wrote for My SQL.The symptoms were weird; I’m not sure I understand fully what happened, but some of the graphs were OK and some had only part of the data they were supposed to.It turns out the latest update to Cacti, the popular SNMP and RRDTool graphing program, has a bug that makes it so graphs based on SNMP Data aren’t updated after upgrading.RRDTool Command: /usr/bin/rrdtool graph - \ --imgformat=PNG \ --start=-86400 \ --end=-300 \ --title=' Localhost - Load Average' \ --rigid \ --base=1000 \ --height=120 \ --width=500 \ --alt-autoscale-max \ --lower-limit=0 \ --units-exponent='0' \ --vertical-label='processes in the run queue' \ --slope-mode \ --font TITLE:10: \ --font AXIS:7: \ --font LEGEND:8: \ --font UNIT:7: \ DEF:a="/var/lib/cacti/rra/localhost_load_1min_5.rrd":load_1min: AVERAGE \ DEF:b="/var/lib/cacti/rra/localhost_load_1min_5.rrd":load_5min: AVERAGE \ DEF:c="/var/lib/cacti/rra/localhost_load_1min_5.rrd":load_15min: AVERAGE \ CDEF:cdefg=TIME,1417293918, GT,a,a, UN,0,a, IF, IF, TIME,1417293918, GT,b,b, UN,0,b, IF, IF, TIME,1417293918, GT,c,c, UN,0,c, IF, IF,+,+ \ AREA:a#EACC00FF:"1 Minute Average" \ GPRINT:a: LAST:" Current\:%8.2lf\n" \ AREA:b#EA8F00FF:"5 Minute Average": STACK \ GPRINT:b: LAST:" Current\:%8.2lf\n" \ AREA:c#FF0000FF:"15 Minute Average": STACK \ GPRINT:c: LAST:"Current\:%8.2lf\n" \ LINE1:cdefg#000000FF:"" RRDTool Says: OK If under “RRDTool Says:” you see something about not existing file, then you should check permissions to your rra folder. So this folder should have write permissions for www-data user (or your web server user).
If a spot under “RRDTool Says:” is empty, then you should check if rrdtool is working well.
Go to ssh and run command that you see in cacti, but add redirection to a file.
If rrdtool generate the valid file it means you probably have problems with your php configuration.
Go to /etc/php5/apache2/and ensure that you have no popen in disable_functions list.
Removing popen from disable_functions list should solve your problem.
After installing Cacti EZ v0.6 (as a VM on Windows 2008 Hyper-V) which includes Cacti 0.8.7c I wanted to upgrade to the latest version of Cacti (0.8.7e as of this post).