Xymon Mailing List Archive search

HTTP Post tests

list Ralph Mitchell
Wed, 11 Dec 2013 23:47:42 -0500
Message-Id: <user-099c22ca9832@xymon.invalid>

What does the cert have for the CN in the Subject?  If it doesn't match the
hostname, that's probably why you get the error.  I don't know if Xymon can
be told to ignore those, but the hosts.cfg man page does have a suggestion
that might work.  In the section "Testing sites by IP address":

        "Instead the IP-address to connect to can be overridden by
specifying it as:

            http://www.sample.com=1.2.3.4/index.html

            The "=1.2.3.4" will cause xymonnet to run the test against the
IP-address "1.2.3.4",
            while still trying to access the virtual website with the name "
www.sample.com"."

Ralph Mitchell


On Wed, Dec 11, 2013 at 6:50 PM, Galen Johnson <user-fc632e705d24@xymon.invalid> wrote:
Ok...now I have a new question...I'm using the IP address in my URL and if
I browse to the url it complains about the cert not matching the url.  In
curl, you can tell it to ignore cert errors.  Is it possible to have Xymon
do this?  I could've missed it in the man page.


On Mon, Dec 9, 2013 at 9:23 PM, Galen Johnson <user-fc632e705d24@xymon.invalid> wrote:
I know.  Was hoping it could be done natively.
On Dec 9, 2013 9:12 PM, "Ralph Mitchell" <user-00a5e44c48c0@xymon.invalid> wrote:
It can be done in an external script with curl, using the --head option
to get just the headers.

Ralph Mitchell


On Mon, Dec 9, 2013 at 6:59 PM, Jeremy Laidman <user-71895fb2e44c@xymon.invalid
wrote:
On 10 December 2013 07:50, Galen Johnson <user-87f955643e3d@xymon.invalid> wrote:
However,
the information I'm trying to trigger on is actually in the headers (as
"Exception") and not the body.  Any way to get Xymon to parse headers
as
well?

No, Xymon only looks the header "Content-type" for the "type" test.
All other web tests are against the body.  This would be a neat feature.

J