Karl,<br><br>That'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'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"><<a href="mailto:rrd-users@ficos.de" target="_blank">rrd-users@ficos.de</a>></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">> How can I insert use an epoch timestamp that I gather from a<br>
> log as the entry point for the data in the RRD file?<br>
> Right now my stats string looks like this:<br>
><br>
> my $stats = "N:$maxResp{$key}{'total'}:$maxResp{$key}{'wait'}";<br>
<br>
</div>simply replace the "N" with the timestamp. (N stands for "now")<br>
<br>
eg.<br>
<br>
my $time = 1341241950;<br>
my $stats = "$time:$maxResp{$key}{'total'}:$maxResp{$key}{'wait'}";<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>