<div dir="ltr"><div><div><div>Greetings,<br><br></div>I found the solution, i was missing slashes infront of the semi colons and in this example the DEF and LINE was screwed up. <br><br></div>But now its working, thanks Clyde:)<br><br></div>-lasse<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-09 9:29 GMT+02:00 Lasse Knudsen <span dir="ltr"><<a href="mailto:lasse.h.knudsen@gmail.com" target="_blank">lasse.h.knudsen@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Greetings, <br><br></div>I need to graph the usage of a SGE grid, the collection of data goes fine.  here is AVERAGE from the rrd database<br><br></div>USED,TOTAL,ERROR are the 3 things i log. And that looks to me to be working<br><div><div><br>output from rrdtool fetch ./sgegraph.rrd  AVERAGE<br>1441781400: 3.0000000000e+00 3.1200000000e+02 2.4000000000e+01<br>1441781700: 3.0000000000e+00 3.1200000000e+02 2.4000000000e+01<br>1441782000: 3.0000000000e+00 3.1200000000e+02 2.4000000000e+01<br>1441782300: 3.0000000000e+00 3.1200000000e+02 2.4000000000e+01<br>1441782600: 3.0000000000e+00 3.1200000000e+02 2.4000000000e+01<br>1441782900: -nan -nan -nan<br><br></div><div>the test is called sgegraph<br><br></div><div>this is the entry in graphs.cfg that i currently use<br><br>[DCTEMP]<br>                TITLE  Datacenter Closet Temperature<br>                YAXIS Temperature<br>                DEF:DCTEMP=DCTEMP.rrd:DCTEMP:AVERAGE<br>                LINE2:DCTEMP#00CCCC:DataCenter Temperature<br>                LINE1:30#FFFF00:Warning Temperature<br>                LINE1:33#FF0000:Critical Temperature<br>                COMMENT:\n<br>                GPRINT:DCTEMP:LAST:Datacenter Temperature \: %5.1lf%s (cur)<br>                GPRINT:DCTEMP:MAX: \: %5.1lf%s (max)<br>                GPRINT:DCTEMP:MIN: \: %5.1lf%s (min)<br>                GPRINT:DCTEMP:AVERAGE: \: %5.1lf%s (avg)\n<br><br><br>[sgegraph]<br>        TITLE SGE Used Slots<br>        YAXIS  Used_Slots<br>        DEF:SlotsUsed=sgegraph.rrd:USED:AVERAGE<br>        LINE2:SlotsTotal#00CC00:Total_Slots<br>        COMMENT:\n<br>        GPRINT:SlotsUsed:LAST:Used Slots  : %5.1lf (cur)<br>        GPRINT:SlotsUsed:MAX: : %5.1lf (max)<br>        GPRINT:SlotsUsed:MIN: : %5.1lf (min)<br>        GPRINT:SlotsUsed:AVERAGE: : %5.1lf (avg)\n<br><br></div><div>Its heavily reduced from what i need, but i had to try to figure out where things went wrong<br></div><div><br></div><div>from xymonserver.cfg<br></div><div><br>TEST2RRD=<loads of things>,DCTEMP=ncv,sgegraph=ncv"<br><br>NCV_DCTEMP="DCTEMP:GAUGE"<br>NCV_sgegraph="TOTAL:GAUGE,USED:GAUGE,ERROR:GAUGE"<br><br></div><div>GRAPHS=<loads of things>,DCTEMP,sgegraph</div><div><br></div><div>The DCTEMP entry graphs fine, but i cant get the sgegraph to graph. I did find this error in the apache error.log file.<br><br>[Wed Sep 09 07:59:01.596256 2015] [cgid:error] [pid 12664:tid 140216580957952] (32)Broken pipe: [client <a href="http://10.0.5.136:53370" target="_blank">10.0.5.136:53370</a>] AH02550: Failed to flush CGI output to client, referer: <a href="https://fpc-mon001.fp.local/xymon-cgi/svcstatus.sh?HOST=fpc-gem001.fp.local&SERVICE=sgegraph" target="_blank">https://fpc-mon001.fp.local/xymon-cgi/svcstatus.sh?HOST=fpc-gem001.fp.local&SERVICE=sgegraph</a><br><br></div><div>But i was not able to find anything on that.<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br><br></div><div>-lasse<br></div></font></span><div><br></div><div>P.s I realize this post is messy.<br></div><div><br></div></div></div>
</blockquote></div><br></div>