bash file that generates the RRD graphs