install packages
sudo apt-get install librrds-perl libcgi-pm-perl
sudo edit the file located at which ragraph
Make these changes near the top of the file:
...
# Used modules
use RRDs;
use POSIX;
+use File::Temp;
# Global variables
-$tmpfile=tmpnam();
+my ($tmp_fh, $tmpfile) = File::Temp::tempfile();
+close $tmp_fh;
my $RRD = $tmpfile.".rrd";
...
make this change around line 1436
- "--interlace", "--imgformat","PNG",
+ "--imgformat","PNG",