[Xymon] Bug in 4.3.18 HTTPD graph display

Scot Kreienkamp Scot.Kreienkamp at la-z-boy.com
Mon Mar 2 16:33:09 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?

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.


More information about the Xymon mailing list