[Xymon] Xymon graphs logs broken pipe error
Lasse Knudsen
lasse.h.knudsen at gmail.com
Wed Sep 9 09:29:15 CEST 2015
Greetings,
I need to graph the usage of a SGE grid, the collection of data goes fine.
here is AVERAGE from the rrd database
USED,TOTAL,ERROR are the 3 things i log. And that looks to me to be working
output from rrdtool fetch ./sgegraph.rrd AVERAGE
1441781400: 3.0000000000e+00 3.1200000000e+02 2.4000000000e+01
1441781700: 3.0000000000e+00 3.1200000000e+02 2.4000000000e+01
1441782000: 3.0000000000e+00 3.1200000000e+02 2.4000000000e+01
1441782300: 3.0000000000e+00 3.1200000000e+02 2.4000000000e+01
1441782600: 3.0000000000e+00 3.1200000000e+02 2.4000000000e+01
1441782900: -nan -nan -nan
the test is called sgegraph
this is the entry in graphs.cfg that i currently use
[DCTEMP]
TITLE Datacenter Closet Temperature
YAXIS Temperature
DEF:DCTEMP=DCTEMP.rrd:DCTEMP:AVERAGE
LINE2:DCTEMP#00CCCC:DataCenter Temperature
LINE1:30#FFFF00:Warning Temperature
LINE1:33#FF0000:Critical Temperature
COMMENT:\n
GPRINT:DCTEMP:LAST:Datacenter Temperature \: %5.1lf%s (cur)
GPRINT:DCTEMP:MAX: \: %5.1lf%s (max)
GPRINT:DCTEMP:MIN: \: %5.1lf%s (min)
GPRINT:DCTEMP:AVERAGE: \: %5.1lf%s (avg)\n
[sgegraph]
TITLE SGE Used Slots
YAXIS Used_Slots
DEF:SlotsUsed=sgegraph.rrd:USED:AVERAGE
LINE2:SlotsTotal#00CC00:Total_Slots
COMMENT:\n
GPRINT:SlotsUsed:LAST:Used Slots : %5.1lf (cur)
GPRINT:SlotsUsed:MAX: : %5.1lf (max)
GPRINT:SlotsUsed:MIN: : %5.1lf (min)
GPRINT:SlotsUsed:AVERAGE: : %5.1lf (avg)\n
Its heavily reduced from what i need, but i had to try to figure out where
things went wrong
from xymonserver.cfg
TEST2RRD=<loads of things>,DCTEMP=ncv,sgegraph=ncv"
NCV_DCTEMP="DCTEMP:GAUGE"
NCV_sgegraph="TOTAL:GAUGE,USED:GAUGE,ERROR:GAUGE"
GRAPHS=<loads of things>,DCTEMP,sgegraph
The DCTEMP entry graphs fine, but i cant get the sgegraph to graph. I did
find this error in the apache error.log file.
[Wed Sep 09 07:59:01.596256 2015] [cgid:error] [pid 12664:tid
140216580957952] (32)Broken pipe: [client 10.0.5.136:53370] AH02550: Failed
to flush CGI output to client, referer:
https://fpc-mon001.fp.local/xymon-cgi/svcstatus.sh?HOST=fpc-gem001.fp.local&SERVICE=sgegraph
But i was not able to find anything on that.
-lasse
P.s I realize this post is messy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150909/a1427753/attachment.html>
More information about the Xymon
mailing list