Hi , i have this code to create the graph file
#!/bin/sh rrdtool graph /var/www/temp_graph.png \ -w 1024 -h 400 -a PNG --slope-mode \ --start -1d --end now \ --vertical-label "temperature (C)" \ DEF:out=/opt/templog/data/templog.rrd:internal:AVERAGE \ DEF:in=/opt/templog/data/templog.rrd:external:AVERAGE \ LINE2:in#00ff00:"inside" \ LINE2:out#000ff:"outside" And this file to create the rrd file: #!/bin/sh rrdtool create /opt/templog/data/templog.rrd --step 300 \ DS:internal:GAUGE:600:-55:125 \ DS:external:GAUGE:600:-55:125 \ RRA:AVERAGE:0.5:1:576 \ RRA:AVERAGE:0.5:3:1344 \ RRA:AVERAGE:0.5:12:1488 \ RRA:AVERAGE:0.5:72:1984 \ RRA:MIN:0.5:72:1984 \ RRA:MAX:0.5:72:1984 But when i create the graph, the temperature curve shows only positive temperature and not negative temperature. When the temperature is going under 0 C, the curve is blank then become visible when temperature is positive. How can i resolve this problem? Thank you Best Regards
_______________________________________________ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users