Red Hat Enterprise Linux Server release 5.5 (Tikanga)
32bit
Manual Install of XI
My ultimate goal is to set up a certificate check for a url. The problem lies in that the server the page is being ran on is not on my network.
The certificate is muleaccounts.ucmo.edu
The url that hosts this certificate is https://muleaccounts.ucmo.edu/C20040_tsa/web/login.jsp
The IP address of the site does not accept ICMP, neither does the root muleaccounts.ucmo.edu. I have been unable to find a host check pattern that does not return:
Name or service not known
HTTP CRITICAL - Unable to open TCP socket
I have been working with versions of the following command:
check_http -H muleaccounts.ucmo.edu -u https://muleaccounts.ucmo.edu/C20040_tsa/web/login.jsp
I have also tried using --ssl and -p 443 options.
Can anyone help me with this? Or point me to a different check command that would work better?
Thanks
HTTP CRITICAL - Unable to open TCP socket
-
uofcmissouri
- Posts: 20
- Joined: Wed Apr 07, 2010 3:13 pm
HTTP CRITICAL - Unable to open TCP socket
Last edited by uofcmissouri on Thu Jun 09, 2011 1:59 pm, edited 1 time in total.
Re: HTTP CRITICAL - Unable to open TCP socket
Go into your /usr/local/nagios/libexec/ and try:
./check_http -H 'muleaccounts.ucmo.edu' -u '/C20040_tsa/web/login.jsp' -S
That should return what you want. Then thats the command you want. Let us know how it goes.
./check_http -H 'muleaccounts.ucmo.edu' -u '/C20040_tsa/web/login.jsp' -S
That should return what you want. Then thats the command you want. Let us know how it goes.
Nicholas Scott
Former Nagios employee
Former Nagios employee
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: HTTP CRITICAL - Unable to open TCP socket
Code: Select all
[root@demo libexec]# ./check_http -H muleaccounts.ucmo.edu -u /C20040_tsa/web/login.jsp --ssl -t 30 -C 30
OK - Certificate will expire on 08/01/2011 23:59.
-
uofcmissouri
- Posts: 20
- Joined: Wed Apr 07, 2010 3:13 pm
Re: HTTP CRITICAL - Unable to open TCP socket
I was so close! Thank you for the help!!
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: HTTP CRITICAL - Unable to open TCP socket
No problem - let us know if you need anything else!