Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: New Firmware enables rrdtool graphing. #3472
    Nicolas_Daly
    Participant

    Excuse the double post. I’ve found the odd time when curl requests hang so may I suggest changing

    jsondata=$( /usr/bin/curl -s $URL );
    to
    jsondata=$( /usr/bin/curl -s $URL --max-time 5 --retry 10 --retry-delay 1);

    in reply to: New Firmware enables rrdtool graphing. #3471
    Nicolas_Daly
    Participant

    Hi,

    Excellent post. I used to be mad about graphing everything and this is a good excuse to get back to it.

    I’ve gone for a 60 second step and added a trend of 2 Hours on the daily graph

    	 CDEF:trend_cpm=cpm,7200,TREND \
                    AREA:cpm#00CCCC:"Count Per Minute\g" \
                            GPRINT:cpm:MAX:" Maximum \: %5.1lf " \
                            GPRINT:cpm:AVERAGE:" Average \: %5.1lf " \
                            GPRINT:cpm:LAST:" Current \: %5.1lf \l"  \
    		  LINE2:trend_cpm#000000:"Count Per Minute Trend 2 Hour\g"   
Viewing 2 posts - 1 through 2 (of 2 total)