Xymon Mailing List Archive search

content test

5 messages in this thread

list Larry Barber · Fri, 29 Jun 2012 10:31:12 -0500 ·
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
list Jeremy Laidman · Fri, 6 Jul 2012 13:44:15 +1000 ·
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
quoted from Larry Barber

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

list Larry Barber · Mon, 9 Jul 2012 10:52:55 -0500 ·
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
quoted from Jeremy Laidman


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

list Jeremy Laidman · Tue, 10 Jul 2012 16:46:00 +1000 ·
Larry

The relevant line in hosts.cfg?

Unlike my own test, I see no Content-Length header, suggesting that maybe
Xymon is seding a "head" request rather than a "get".  Perhaps you don't
have "cont;" in front of the URL?  Or perhaps you have
"cont=othercolumn;http://..."; to change the column name from "content"?

J
quoted from Larry Barber


On Tue, Jul 10, 2012 at 1:52 AM, Larry Barber <user-6ef9c2864140@xymon.invalid> wrote:
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

list Larry Barber · Tue, 10 Jul 2012 08:17:08 -0500 ·
This is the relevant entry in hosts.cfg:

cont;https://fsiwasxpvxa07.edc.ds1.usda.gov:9043/ibm/console;certificate

Xymon is reading it as a 'cont' test, the test result is showing up on the
Xymon display as 'content1', another content test works against the same
host without a problem.

Thanks,
Larry Barber
quoted from Jeremy Laidman

On Tue, Jul 10, 2012 at 1:46 AM, Jeremy Laidman <user-71895fb2e44c@xymon.invalid>wrote:
Larry

The relevant line in hosts.cfg?

Unlike my own test, I see no Content-Length header, suggesting that maybe
Xymon is seding a "head" request rather than a "get".  Perhaps you don't
have "cont;" in front of the URL?  Or perhaps you have
"cont=othercolumn;http://..."; to change the column name from "content"?

J


On Tue, Jul 10, 2012 at 1:52 AM, Larry Barber <user-6ef9c2864140@xymon.invalid> wrote:
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
quoted from Jeremy Laidman
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