Xymon Mailing List Archive search

content test

list Larry Barber
Mon, 9 Jul 2012 10:52:55 -0500
Message-Id: <user-72ac870a03ba@xymon.invalid>

Here'e the relevant section from the results:

URL                      :
http://fsiwasxpvxa07.edc.ds1.usda.gov:8080/fsis/public/static/index.jsp
HTTP status              : 200
HTTP headers
HTTP/1.1 200 OK^M
Date: Mon, 09 Jul 2012 15:44:50 GMT^M
Server: IBM_HTTP_Server^M
X-Powered-By: Servlet/3.0^M
Set-Cookie: JSESSIONID=0000_x6LoSRNXG4U_4XIinhldPz:16v4cnh16; Path=/;
HttpOnly^M
Expires: Thu, 01 Dec 1994 16:00:00 GMT^M
Cache-Control: no-cache="set-cookie, set-cookie2"^M
Connection: close^M
Transfer-Encoding: chunked^M
Content-Type: text/html; charset=ISO-8859-1^M
Content-Language: en-US^M

HTTP output
(NULL)

Nothing too revealing. As I said I can retrieve the page using a browser
and by using wget (even with the user-agent set to 'Xymon '). I can't
figure out why it won't return the page to Xymon.

Thanks,
Larry Barber


On Thu, Jul 5, 2012 at 10:44 PM, Jeremy Laidman <user-71895fb2e44c@xymon.invalid>wrote:
Larry

Can you show us the configuration in hosts.cfg?

Any log messages in xymonnet.log?

What do you get if you run:

xymoncmd sh -c 'grep thehostname $HOSTCFG | HOSTSCFG=/dev/stdin
$XYMONHOME/bin/xymonnet --no-update --debug --checkresponse'

This should give you (among other things) details of the HTTP/S
interactions, including "HTTP output" for each test.  Might give some clues.

J

On Sat, Jun 30, 2012 at 1:31 AM, Larry Barber <user-6ef9c2864140@xymon.invalid> wrote:
I'm trying to do a content check, but all I'm seeing under the "content"
column is:

No output received from server

The http test associated with the content check is working correctly, the
http headers are being returned. I can retrieve the page using wget from
the same server that I'm running the content test on. I've tried changing
the user-agent. I even set the user-agent to "Xymon" with wget and was able
to retrieve the page. Anybody have any idea what is going one here?

Thanks,
Larry Barber