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 <solitaryr at gmail.com> 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 <solitaryr at gmail.com> wrote:
I know. Was hoping it could be done natively. On Dec 9, 2013 9:12 PM, "Ralph Mitchell" <ralphmitchell at gmail.com> 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 <jlaidman at rebel-it.com.au
wrote:
On 10 December 2013 07:50, Galen Johnson <Galen.Johnson at sas.com> 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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Thanks, Ralph. It's a wildcard cert. I'd forgotten that I had seen that format. I'm going to see if that makes a difference.
=G=
On 12/11/2013 11:47 PM, Ralph Mitchell wrote:
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 byspecifying it as:
http://www.sample.com=1.2.3.4/index.htmlThe "=1.2.3.4" will cause xymonnet to run the test againstthe IP-address "1.2.3.4", while still trying to access the virtual website with the name "www.sample.com <http://www.sample.com>"."
Ralph Mitchell
On Wed, Dec 11, 2013 at 6:50 PM, Galen Johnson <solitaryr at gmail.com <mailto:solitaryr at gmail.com>> 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 <solitaryr at gmail.com <mailto:solitaryr at gmail.com>> wrote: I know. Was hoping it could be done natively. On Dec 9, 2013 9:12 PM, "Ralph Mitchell" <ralphmitchell at gmail.com <mailto:ralphmitchell at gmail.com>> 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 <jlaidman at rebel-it.com.au <mailto:jlaidman at rebel-it.com.au>> wrote: On 10 December 2013 07:50, Galen Johnson <Galen.Johnson at sas.com <mailto:Galen.Johnson at sas.com>> 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 _______________________________________________ Xymon mailing list Xymon at xymon.com <mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon _______________________________________________ Xymon mailing list Xymon at xymon.com <mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (2)
-
Galen.Johnson@sas.com
-
ralphmitchell@gmail.com