Nagiostat empty graphs


I installed nagiostat a while ago and it was all fine, but now I found out that the suddenly it is not drawing the line in the graphs anymore and the average, min, max values say nan. I can see by last modified date and the debug log that the rrd files get updated normally.