-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of J.C.
Cleaver
Sent: Thursday, February 26, 2015 2:48 PM
To: Scot Kreienkamp
Cc: xymon at xymon.com
Subject: Re: [Xymon] Bug in 4.3.18 HTTPD graph display
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.
I was out sick today so I didn't get much done. I did find there were all kinds of old rrdctl files, so I shut down everything, removed them all, and started it back up. Didn't make any difference though. I do have at least one of the affected graphs setup for multi, I'll take a look at that.
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_w
idth=576&graph_height=120&disp=rets5032%2ena%2elzb%2ehq&nostale&c
olor=green&graph_start=1424790516&graph_end=1424963316&graph=hourl
y&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
This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.