<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Right. Now I've got it to generate correct data, and correct graphs.<br>
It really does match what the "All Dropoffs" says it should say.<br>
<br>
So please try the attached versions. You must delete your zendto.rrd
file first. It will re-create all the data, so you won't lose any
old stats. Then run rrdInit.php and then rrdUpdate.php, then check
the graphs on your site.<br>
<br>
Please let me know if you think this works. If it does, I'll start
on a release.<br>
<br>
Thanks for your patience,<br>
Jules.<br>
<br>
On 21/09/2011 09:48, ROGERS Richard wrote:
<blockquote
cite="mid:3D31371C0EB7EA41AF4B131FC1382F78258A826374@CRWNMAIL.staff.staffs.ac.uk"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I’m
sorry to say I think there are still problems with this. I
don’t think the data is getting into the RRD (which is why
the graphs are flat!). My experience was as follows:<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:#1F497D"># /usr/bin/php
/opt/zendto/sbin/rrdInit.php
/opt/zendto/config/preferences.php<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:#1F497D">Initial creation of RRD file (start
date of 2011-09-07)<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:#1F497D">16<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:#1F497D">/usr/bin/rrdtool update
/var/zendto/rrd/zendto.rrd 1315436400:1:1:2926562.0<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:#1F497D">17<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:#1F497D">/usr/bin/rrdtool update
/var/zendto/rrd/zendto.rrd 1316214000:1:1:11.9<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Which
looks OK, although on closer inspection I think the dates
may be suspect. What’s actually shown in the Outbox is:<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Claim
ID Sender
Recipient Size
Created<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">daWQaXD7S2bMGMfK
ROGERS Richard, Staffordshire University
staff (<a class="moz-txt-link-abbreviated" href="mailto:xxxxxx@staffs.ac.uk">xxxxxx@staffs.ac.uk</a>) RMR
<a class="moz-txt-link-rfc2396E" href="mailto:richard@xxxxxxxxx.uk"><richard@xxxxxxxxx.uk></a><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
11.9 KB 16 Sep 2011 02:14:53 PM<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">GJYBiNngywQJjXiR
ROGERS Richard, Staffordshire
University staff (<a class="moz-txt-link-abbreviated" href="mailto:xxxxxx@staffs.ac.uk">xxxxxx@staffs.ac.uk</a>) RMR
<a class="moz-txt-link-rfc2396E" href="mailto:richard@xxxxxxxxx.uk"><richard@xxxxxxxxx.uk></a><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
2.8 GB 07 Sep 2011 07:42:47 PM<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Now
an rrdtool dump (excerpt) shows:<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
<!-- 2011-08-31 01:00:00 BST / 1314748800 -->
<row><v>NaN</v><v>NaN</v><v>NaN</v><v>NaN</v></row><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
<!-- 2011-09-01 01:00:00 BST / 1314835200 -->
<row><v>NaN</v><v>NaN</v><v>NaN</v><v>NaN</v></row><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
<!-- 2011-09-02 01:00:00 BST / 1314921600 -->
<row><v>NaN</v><v>NaN</v><v>NaN</v><v>NaN</v></row><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
<!-- 2011-09-03 01:00:00 BST / 1315008000 -->
<row><v>NaN</v><v>NaN</v><v>NaN</v><v>NaN</v></row><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
<!-- 2011-09-04 01:00:00 BST / 1315094400 -->
<row><v>NaN</v><v>NaN</v><v>NaN</v><v>NaN</v></row><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
<!-- 2011-09-05 01:00:00 BST / 1315180800
-->
<row><v>NaN</v><v>NaN</v><v>NaN</v><v>NaN</v></row><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
<!-- 2011-09-06 01:00:00 BST / 1315267200 -->
<row><v>NaN</v><v>NaN</v><v>NaN</v><v>NaN</v></row><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
<!-- 2011-09-07 01:00:00 BST / 1315353600 -->
<row><v>NaN</v><v>NaN</v><v>NaN</v><v>NaN</v></row><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
<!-- 2011-09-08 01:00:00 BST / 1315440000 -->
<row><v>NaN</v><v>NaN</v><v>NaN</v><v>NaN</v></row><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
<!-- 2011-09-09 01:00:00 BST / 1315526400 -->
<row><v>NaN</v><v>NaN</v><v>NaN</v><v>NaN</v></row><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
<!-- 2011-09-10 01:00:00 BST / 1315612800 -->
<row><v>NaN</v><v>NaN</v><v>NaN</v><v>NaN</v></row><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
<!-- 2011-09-11 01:00:00 BST / 1315699200 -->
<row><v>NaN</v><v>NaN</v><v>NaN</v><v>NaN</v></row><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
<!-- 2011-09-12 01:00:00 BST / 1315785600 -->
<row><v>NaN</v><v>NaN</v><v>NaN</v><v>NaN</v></row><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
<!-- 2011-09-13 01:00:00 BST / 1315872000 -->
<row><v>NaN</v><v>NaN</v><v>NaN</v><v>NaN</v></row><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
<!-- 2011-09-14 01:00:00 BST / 1315958400 -->
<row><v>NaN</v><v>NaN</v><v>NaN</v><v>NaN</v></row><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
<!-- 2011-09-15 01:00:00 BST / 1316044800
-->
<row><v>NaN</v><v>NaN</v><v>NaN</v><v>NaN</v></row><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
<!-- 2011-09-16 01:00:00 BST / 1316131200 -->
<row><v>NaN</v><v>NaN</v><v>NaN</v><v>NaN</v></row><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
</database><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">It
ends after 16/9 (because the last dropoff was on the 16<sup>th</sup>?
– the time stamp on the file is “now” and the time of last
update at the top is
“<lastupdate>1316214000</lastupdate> <!--
2011-09-17 00:00:00 BST -->”)<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hope
this helps in further diagnosis!<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">ZendTo
4.05 on CentOS VM.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Richard<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm
0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:zendto-bounces@zend.to">zendto-bounces@zend.to</a>
[<a class="moz-txt-link-freetext" href="mailto:zendto-bounces@zend.to">mailto:zendto-bounces@zend.to</a>] <b>On Behalf Of </b>--[
UxBoD ]--<br>
<b>Sent:</b> 21 September 2011 08:24<br>
<b>To:</b> ZendTo Users<br>
<b>Subject:</b> [ZendTo] Re: rrd fixes<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black">Hmm, graphs are all empty :(<br>
-- <br>
Thanks, Phil<o:p></o:p></span></p>
<div class="MsoNormal" style="text-align:center"
align="center"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black">
<hr id="zwchr" align="center" size="2" width="100%"></span></div>
<div>
<p class="MsoNormal"><b><span
style="font-family:"Helvetica","sans-serif";color:black">From:
</span></b><span
style="font-family:"Helvetica","sans-serif";color:black">"Jules"
<a class="moz-txt-link-rfc2396E" href="mailto:Jules@zend.to"><Jules@zend.to></a><br>
<b>To: </b>"ZendTo Users" <a class="moz-txt-link-rfc2396E" href="mailto:zendto@zend.to"><zendto@zend.to></a><br>
<b>Sent: </b>Tuesday, 20 September, 2011 9:35:05 PM<br>
<b>Subject: </b>[ZendTo] Re: rrd fixes<br>
<br>
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.<br>
<br>
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 :-)<br>
<br>
Cheers,<br>
Jules.<br>
<br>
On 20/09/2011 21:14, Jules wrote: <o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Helvetica","sans-serif";color:black">I've
found and fixed the problems you've all been having
with rrdInit.php and rrdUpdate.php. <br>
<br>
Attached are new copies of <br>
/opt/zendto/sbin/rrdInit.php <br>
/opt/zendto/sbin/rrdUpdate.php <br>
/opt/zendto/lib/MySQL.php <br>
/opt/zendto/lib/SQLite.php <br>
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 <br>
/opt/zendto/sbin/rrdInit.php
/opt/zendto/config/preferences.php <br>
/opt/zendto/sbin/rrdUpdate.php
/opt/zendto/config/preferences.php <br>
<br>
The rrdInit script creates the data file if necessary
and updates it with all the latest stats. <br>
The rrdUpdate script just creates all the graphs. <br>
<br>
Sorry it's taken me so long to work out the solution
to this! <br>
<br>
Jules <br>
<br>
<br>
<br>
<o:p></o:p></span></p>
<pre><span style="color:black">_______________________________________________<o:p></o:p></span></pre>
<pre><span style="color:black">ZendTo mailing list<o:p></o:p></span></pre>
<pre><span style="color:black"><a moz-do-not-send="true" href="mailto:ZendTo@zend.to" target="_blank">ZendTo@zend.to</a><o:p></o:p></span></pre>
<pre><span style="color:black"><a moz-do-not-send="true" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a><o:p></o:p></span></pre>
<p class="MsoNormal"><span
style="font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
<pre><span style="color:black">Jules<o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black">-- <o:p></o:p></span></pre>
<pre><span style="color:black">Julian Field MEng CITP CEng<o:p></o:p></span></pre>
<pre><span style="color:black"><a moz-do-not-send="true" href="http://www.Zend.To" target="_blank">www.Zend.To</a><o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black">Follow me at twitter.com/JulesFM<o:p></o:p></span></pre>
<pre><span style="color:black">PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654<o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black">'Teach a man to reason, and he will think for a lifetime.' - Phil Plait<o:p></o:p></span></pre>
<pre><span style="color:black">'All programs have a desire to be useful' - Tron, 1982<o:p></o:p></span></pre>
<p class="MsoNormal"><span
style="font-family:"Helvetica","sans-serif";color:black"><br>
_______________________________________________<br>
ZendTo mailing list<br>
<a moz-do-not-send="true" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><br>
<a moz-do-not-send="true"
href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black"><o:p> </o:p></span></p>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CITP CEng
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
'It's okay to live without all the answers' - Charlie Eppes, 2011
'All programs have a desire to be useful' - Tron, 1982
'That is the land of lost content,
I see it shining plain,
The happy highways where I went,
And cannot come again.' - A.E. Houseman
</pre>
</body>
</html>