Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

nagios check produces below eror some of web sites (not all) for example google. what others parameters is necessary to work it?

$ check_http -w 5 -c 10 --ssl -H -v

CRITICAL - Cannot make SSL connection
140484382566048:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:749:

GET / HTTP/1.1

User-Agent: check_http/v1.4.15 (nagios-plugins 1.4.15)

Connection: close


HTTP CRITICAL - Error on receive
share|improve this question
Which version are you running check_http -V? – quanta Aug 1 '12 at 9:46
What version of openssl is involved? Your command works on my nagios-plugins 1.4.13 with 0.9.8e-7.el5. – Bittrance Aug 1 '12 at 9:58

The -H option to check_http and ssl based virtual hosts don't interact well. Try using -I rather than -H. ( You can use a dns name with the -I option. )

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.