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")

eg.

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


_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to