[rrd-users] Is there a workaround for multiple independent updates inside 1 sec?

dave-mlist at bfnet.com dave-mlist at bfnet.com
Thu Oct 21 02:14:17 MEST 1999


I have a script that walks an SNMP table and runs the following commands.  It
is updating different data sources within one second of each other, which
I think should be OK.  Is there any way around the ERROR lines I'm seeing?
Dave

[root at mon /root]# ./test
/usr/local/bin/rrdtool 'create' '/var/log/rrd/207.168.228.65-stats.rrd' '--step' '60' '--start' '940464863' 'DS:inEthernet0:COUNTER:600:0:1250000' 'DS:outEthernet0:COUNTER:600:0:1250000' 'DS:inEthernet1:COUNTER:600:0:1250000' 'DS:outEthernet1:COUNTER:600:0:1250000' 'DS:inEthernet2:COUNTER:600:0:1250000' 'DS:outEthernet2:COUNTER:600:0:1250000' 'DS:inEthernet3:COUNTER:600:0:1250000' 'DS:outEthernet3:COUNTER:600:0:1250000' 'DS:inEthernet4:COUNTER:600:0:1250000' 'DS:outEthernet4:COUNTER:600:0:1250000' 'DS:inEthernet5:COUNTER:600:0:1250000' 'DS:outEthernet5:COUNTER:600:0:1250000' 'DS:inFastEthernet0:COUNTER:600:0:1250000' 'DS:outFastEthernet0:COUNTER:600:0:1250000' 'RRA:AVERAGE:0.5:1:7200' 'RRA:AVERAGE:0.5:5:36000' 'RRA:AVERAGE:0.5:60:36000'
/usr/local/bin/rrdtool 'update' '/var/log/rrd/207.168.228.65-stats.rrd' '-t' 'inEthernet0:outEthernet0' 'N:2227109981:2307995739'
/usr/local/bin/rrdtool 'update' '/var/log/rrd/207.168.228.65-stats.rrd' '-t' 'inEthernet1:outEthernet1' 'N:0:1522'
ERROR: illegal attempt to update using time 940464865 when last update time is 940464865 (minimum one second step)
/usr/local/bin/rrdtool 'update' '/var/log/rrd/207.168.228.65-stats.rrd' '-t' 'inEthernet2:outEthernet2' 'N:19379460:296727318'
ERROR: illegal attempt to update using time 940464865 when last update time is 940464865 (minimum one second step)
/usr/local/bin/rrdtool 'update' '/var/log/rrd/207.168.228.65-stats.rrd' '-t' 'inEthernet3:outEthernet3' 'N:4244862898:3845420583'
ERROR: illegal attempt to update using time 940464865 when last update time is 940464865 (minimum one second step)
/usr/local/bin/rrdtool 'update' '/var/log/rrd/207.168.228.65-stats.rrd' '-t' 'inEthernet4:outEthernet4' 'N:3187833418:549016935'
ERROR: illegal attempt to update using time 940464865 when last update time is 940464865 (minimum one second step)
/usr/local/bin/rrdtool 'update' '/var/log/rrd/207.168.228.65-stats.rrd' '-t' 'inEthernet5:outEthernet5' 'N:187972994:1125911080'
ERROR: illegal attempt to update using time 940464865 when last update time is 940464865 (minimum one second step)
/usr/local/bin/rrdtool 'update' '/var/log/rrd/207.168.228.65-stats.rrd' '-t' 'inFastEthernet0:outFastEthernet0' 'N:335752883:2315820418'
[root at mon /root]# 

--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to rrd-users-request at list.ee.ethz.ch



More information about the rrd-users mailing list