http+ssl monitor?

Matthias Cramer cramer at dolphins.ch
Tue Mar 11 18:56:59 CET 2003


On Tue, 11 Mar 2003 09:18:58 -0700
Brandon Gillespie <gillespie at iomega.com> wrote:

> I have hacked a simple script to test the SSL side of the house, but I'm
> 
> curious if anybody else has one?  I just pipe it through openssl 
> s_client.  It would be nice if check_http could do this itself...

As far as I can see from the documentation of check_http, it can ...

Here it comes:

 /usr/lib/nagios/plugins/check_http --help
check_http (netsaint-plugins 1.2.9-4) 1.32.2.6
The netsaint plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
Copyright (c) 1999 Ethan Galstad (netsaint at linuxbox.com)

This plugin tests the HTTP service on the specified host. It can test
normal (http) and secure (https) servers, follow redirects, search for
strings and regular expressions, check connection times, and report on
certificate expiration times.

Options:
 -S, --ssl
    Connect via SSL
 -C, --certificate=INTEGER
    Minimum number of days a certificate has to be valid.
    (when this option is used the url is not checked.)

Hope that helps ...

Cheers

   Matthias


-- 
     _;\_    Matthias Cramer                System & Network Manager
    /_.  \   Dolphins Network Systems AG    Phone +41-1-847'45'45
   |/ -\ .)  Libernstrasse 24               Fax   +41-1-847'45'49
 -'^`-   \;  CH-8112 Otelfingen             http://www.dolphins.ch/

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d- s+: a- C+++ UL++++ P+++ L+++ E- W+++ N++ o K- w--- 
O- M+ V+++ PS PE++ Y+ PGP++ t++ 5- X+ R tv+ b+ DI++ D+ 
G++ e h r- y+ 
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030311/b0ba67a7/attachment.sig>


More information about the Users mailing list