[Xymon] Bug in 4.3.18 HTTPD graph display
J.C. Cleaver
cleaver at terabithia.org
Thu Feb 26 20:48:03 CET 2015
On Thu, February 26, 2015 7:17 am, Scot Kreienkamp wrote:
> Hi everyone,
>
> I upgraded from 4.3.17 to 4.3.18 recently, and after the upgrade I noticed
> that some of my custom graphs have disappeared. It seems that anytime I
> have a dash in the test name the graph doesn't work at all. The RRD files
> exist and are still being updated, and they all worked in 4.3.17 with no
> errors. Additionally, I'm getting error messages like this in some of my
> HTTPD logs for graphs that do still work as well as the ones that no
> longer work:
>
> 2015-02-26 10:08:36 Sendto failed: Connection refused, referer:
> http://retv6100.na.lzb.hq/xymon-cgi/svcstatus.sh?HOST=rets5032.na.lzb.hq&SERVICE=DBHealth
This is *usually* a result of stale rrdctl socket files lying around. Can
you check the log/run dir for "rrdctl.$PID" type files that don't match a
running process?
It could also be a symptom of an SELinux control, but it wouldn't make
sense for it to only affect certain graphs.
> Here's the full request:
> 10.1.28.203 - - [26/Feb/2015:10:08:36 -0500] "GET
> /xymon-cgi/showgraph.sh?host=rets5032.na.lzb.hq&service=ncv:DBHealth&graph_width=576&graph_height=120&disp=rets5032%2ena%2elzb%2ehq&nostale&color=green&graph_start=1424790516&graph_end=1424963316&graph=hourly&action=view
> HTTP/1.1" 200 34331
> "http://retv6100.na.lzb.hq/xymon-cgi/svcstatus.sh?HOST=rets5032.na.lzb.hq&SERVICE=DBHealth"
> "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0;
> SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media
> Center PC 6.0; .NET4.0C)"
>
This is a bit puzzling. At first glance, I can't think of why a dash in
the service or graph name would cause a problem (although colons or
"-multi" might).
Can you post the logs from the two different URL hits you're doing? It
might also be helpful if you could run the showgraph cgi directly, passing
in a "QUERY_STRING" in CGI fashion and include that output.
HTH,
-jc
More information about the Xymon
mailing list