[rrd-users] EPOCH timestamps

Karl Fischer rrd-users at ficos.de
Mon Jul 2 17:15:11 CEST 2012

Am 02.07.2012 16:44, schrieb Chris Mutchler:
> How can I insert use an epoch timestamp that I gather from a
> log as the entry point for the data in the RRD file?
> Right now my stats string looks like this:
> my $stats = "N:$maxResp{$key}{'total'}:$maxResp{$key}{'wait'}";

simply replace the "N" with the timestamp. (N stands for "now")


my $time = 1341241950;
my $stats = "$time:$maxResp{$key}{'total'}:$maxResp{$key}{'wait'}";

More information about the rrd-users mailing list