From f447c2a1a5ed06c5fceda8f5476a1341cfc0f7f3 Mon Sep 17 00:00:00 2001 From: Benjamin Oechslein Date: Thu, 8 Jan 2015 21:49:35 +0100 Subject: [PATCH 1/1] Fix creation of new rrd files: Trailing space seems to be harmful --- upsgraph.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upsgraph.pl b/upsgraph.pl index 0d19fb6..3077e23 100755 --- a/upsgraph.pl +++ b/upsgraph.pl @@ -79,7 +79,7 @@ sub rrdcreate(@) { push @cmd, "DS:${field}:GAUGE:600:" . $vars->{$field}->{'min'} . ":" . - $vars->{$field}->{'max'} . " "; + $vars->{$field}->{'max'}; push @cmd, "RRA:AVERAGE:0.5:1:${keep}"; -- 2.39.5