[Nagiosplug-help] Using check_http plugin behind the firewall

Risto Vaarandi risto.vaarandi at eyp.ee
Tue Sep 14 06:50:17 CEST 2004

hi all,

I would like to use the check_http plugin for monitoring some external 
web servers. While the plugin works fine for conventional http-servers, 

-sh-2.05b$ /usr/lib/nagios/plugins/check_http -H firewall -p 8080 -u 
HTTP OK HTTP/1.0 200 OK - 66 bytes in 0.046 seconds |time=46009us;;;0 

I can't connect to https-servers:

-sh-2.05b$ /usr/lib/nagios/plugins/check_http -H firewall -p 8080 -u 
HTTP WARNING: HTTP/1.0 400 Bad Request

-sh-2.05b$ /usr/lib/nagios/plugins/check_http -H firewall -p 8080 --ssl 
-u https://www.hansa.ee
ERROR: Cannot retrieve server certificate.

Does the check_http plugin have any commandline options for solving this 
problem? (The plugin should first create a tcp socket to the 8080 port 
of the firewall, then use the CONNECT method for connecting to target 
web server, and finally switch to SSL protocol.)


More information about the Help mailing list