Karl,<br><br>That&#39;s what I thought too, but when I try to do just that I get the following error from RRDs::errror:<br><br> illegal attempt to update using time 1327662252 when last update time is 1341253778 (minimum one second step)<br>
<br>I checked my timestamps that I&#39;m generating from the log files, they are spaced 1 second apart and are in consecutive order. I think the issue may be with the fact that the script itself creates the RRD file at runtime with the second uptime timestamp noted above (1341253778) and then the actual stats entries are all in the past from that point.<br>
<br>Is there a method for overriding that or faking the timestamp used when the RRD file is created?<br><br>Thanks for your help.<br><br><div class="gmail_quote">On Mon, Jul 2, 2012 at 9:14 AM, Karl Fischer <span dir="ltr">&lt;<a href="mailto:rrd-users@ficos.de" target="_blank">rrd-users@ficos.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am 02.07.2012 16:44, schrieb Chris Mutchler:<br>
<div class="im">&gt; How can I insert use an epoch timestamp that I gather from a<br>
&gt; log as the entry point for the data in the RRD file?<br>
&gt; Right now my stats string looks like this:<br>
&gt;<br>
&gt; my $stats = &quot;N:$maxResp{$key}{&#39;total&#39;}:$maxResp{$key}{&#39;wait&#39;}&quot;;<br>
<br>
</div>simply replace the &quot;N&quot; with the timestamp. (N stands for &quot;now&quot;)<br>
<br>
eg.<br>
<br>
my $time = 1341241950;<br>
my $stats = &quot;$time:$maxResp{$key}{&#39;total&#39;}:$maxResp{$key}{&#39;wait&#39;}&quot;;<br>
<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Chris Mutchler<br><a href="mailto:chris@leibnizcreations.com">chris@leibnizcreations.com</a><br>