[ZendTo] Re: RRD init/update problem
Jules
Jules at Zend.To
Fri Jul 15 09:00:43 BST 2011
You only need to call rrdInit.php once, and from then on always call
just rrdUpdate.php.
Try that instead (you'll probably have to edit the cron job for ZendTo
which is probably in /etc/cron.d) and let me know how you get on.
Jules.
On 13/07/2011 16:42, Dave Jones wrote:
>
> Looking at /opt/zendto/sbin/rrdInit.php, it appears to be querying the
> dropoff table, created column which has valid dates that are way more
> than a second apart.
>
>
> How do I further troubleshoot this problem? Is the time being passed
> to the RRD command the current time or the database value? (I would
> think it's the DB value.)
>
>
> I get this email everyday at 10:00 am. This server is a CentOS 5.5 VM
> running on KVM.
>
>
> Cron <root at server1> /usr/bin/php /opt/zendto/sbin/rrdInit.php
> /opt/zendto/config/preferences.php
>
> ==============
>
> 70
>
> /usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd 1310619600:1:1:3155.1
>
> 69
>
> /usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd 1310187600:1:7:18830.0
>
> ERROR: /var/zendto/rrd/zendto.rrd: illegal attempt to update using
> time 1310187600 when last update time is 1310619600 (minimum one
> second step)
>
> 68
>
> /usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd 1309928400:1:1:4757.6
>
> ERROR: /var/zendto/rrd/zendto.rrd: illegal attempt to update using
> time 1309928400 when last update time is 1310619600 (minimum one
> second step)
>
> 67,66
>
> /usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd 1309582800:2:1:4882.7
>
> ERROR: /var/zendto/rrd/zendto.rrd: illegal attempt to update using
> time 1309582800 when last update time is 1310619600 (minimum one
> second step)
>
> 65
>
> /usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd 1309496400:1:3:18172.0
>
> ERROR: /var/zendto/rrd/zendto.rrd: illegal attempt to update using
> time 1309496400 when last update time is 1310619600 (minimum one
> second step)
>
> 64,63,62,61
>
> /usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd 1309410000:4:1:234494.4
>
> ERROR: /var/zendto/rrd/zendto.rrd: illegal attempt to update using
> time 1309410000 when last update time is 1310619600 (minimum one
> second step)
>
> 59,58
>
> /usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd 1308978000:2:1:16.5
>
> ERROR: /var/zendto/rrd/zendto.rrd: illegal attempt to update using
> time 1308978000 when last update time is 1310619600 (minimum one
> second step)
>
> 57
>
> /usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd 1308891600:1:1:44592.6
>
> ERROR: /var/zendto/rrd/zendto.rrd: illegal attempt to update using
> time 1308891600 when last update time is 1310619600 (minimum one
> second step)
>
> 55,54,53,52
>
> /usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd 1308718800:4:1:1705.3
>
> ERROR: /var/zendto/rrd/zendto.rrd: illegal attempt to update using
> time 1308718800 when last update time is 1310619600 (minimum one
> second step)
>
> 51
>
> /usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd 1308632400:1:1:264.0
>
> ERROR: /var/zendto/rrd/zendto.rrd: illegal attempt to update using
> time 1308632400 when last update time is 1310619600 (minimum one
> second step)
>
> 50
>
> /usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd 1308373200:1:1:60.5
>
> ERROR: /var/zendto/rrd/zendto.rrd: illegal attempt to update using
> time 1308373200 when last update time is 1310619600 (minimum one
> second step)
>
> 49
>
> /usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd
> 1308286800:1:11:329851.2
>
> ERROR: /var/zendto/rrd/zendto.rrd: illegal attempt to update using
> time 1308286800 when last update time is 1310619600 (minimum one
> second step)
>
>
>
> _______________________________________________
> 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
'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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20110715/e706d3a5/attachment.html
More information about the ZendTo
mailing list