[ZendTo] Re: rrd fixes

--[ UxBoD ]-- uxbod at splatnix.net
Wed Sep 21 08:24:18 BST 2011


Hmm, graphs are all empty :( 
-- 
Thanks, Phil 

----- Original Message -----

From: "Jules" <Jules at zend.to> 
To: "ZendTo Users" <zendto at zend.to> 
Sent: Tuesday, 20 September, 2011 9:35:05 PM 
Subject: [ZendTo] Re: rrd fixes 

To save you poor busy folks a load of patching, I might just release a new version of ZendTo tomorrow. It's the first in a month or so, and it will iron out these niggles for you. 

There won't be any new preferences.php settings or database changes, though there are a few *.tpl template changes. Should be a painless upgrade (he says, cursing it forever :-) 

Cheers, 
Jules. 

On 20/09/2011 21:14, Jules wrote: 

I've found and fixed the problems you've all been having with rrdInit.php and rrdUpdate.php. 

Attached are new copies of 
/opt/zendto/sbin/rrdInit.php 
/opt/zendto/sbin/rrdUpdate.php 
/opt/zendto/lib/MySQL.php 
/opt/zendto/lib/SQLite.php 
You will probably need to delete your RRD data file (/var/zendto/rrd/zendto.rrd by default) first, and then copy in the 4 files. Then run 
/opt/zendto/sbin/rrdInit.php /opt/zendto/config/preferences.php 
/opt/zendto/sbin/rrdUpdate.php /opt/zendto/config/preferences.php 

The rrdInit script creates the data file if necessary and updates it with all the latest stats. 
The rrdUpdate script just creates all the graphs. 

Sorry it's taken me so long to work out the solution to this! 

Jules 



_______________________________________________
ZendTo mailing list ZendTo at zend.to http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto 


Jules

-- 
Julian Field MEng CITP CEng www.Zend.To Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

'Teach a man to reason, and he will think for a lifetime.' - Phil Plait
'All programs have a desire to be useful' - Tron, 1982 
_______________________________________________ 
ZendTo mailing list 
ZendTo at zend.to 
http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20110921/5ff5863c/attachment.html 


More information about the ZendTo mailing list