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&SER...
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&SER..." "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)"
Any help is appreciated.
Scot Kreienkamp
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.
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&SER...
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&SER..." "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
-----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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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.
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?
OK, none of those left.
It could also be a symptom of an SELinux control, but it wouldn't make sense for it to only affect certain graphs.
SELinux is disabled, always has been and verified off.
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.
Are there any logs other than the HTTPD logs? There's nothing in the error log, and the access log is already posted.
I tried exporting the QUERY_STRING and running the showgraph.cgi directly but it keeps telling me "Invalid request - no host or service" so I'm not sure what I'm doing wrong.
I'm going to remove the dash from the test name and see if I still get the missing graphs.
Thanks!
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.
OK, I finally figured it out. It was the rrdctl files and I was missing a configuration line in xymonserver.cfg. Somehow the old version didn't care about the missing line. It wasn't working right because it wasn't using gauge but there were still graphs there.
Thanks!
Scot Kreienkamp
-----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.
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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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.
participants (2)
-
cleaver@terabithia.org
-
Scot.Kreienkamp@la-z-boy.com