Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_https_cert
107990
File | Description |
---|---|
check_https_cert.txt | perlscript |
command.cfg.txt | command-snipplet |
service.cfg.txt | service-snipplet |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
You can use *.pem files or a .p12 file with a password to connect with a https-server. This Perl-script needs:
LWP::UserAgent, Crypt::SSLeay and Nagios::Plugin.
It works for me, but i don't use all of it's settings.
LWP::UserAgent, Crypt::SSLeay and Nagios::Plugin.
It works for me, but i don't use all of it's settings.
Reviews (4)
bybostjan, October 28, 2014
Can anybody help with this check, because when disabling SSLv3 protocol (eliminating poodle attack) in WEB server this check does not function properly.
byigorgrin, March 18, 2013
It looks like "-pwd" option is not working. I don't see declared anywhere in the script. I tried p12pass but it's not working as well.
-pwd mypassword
Value "wd" invalid for option p (number expected)
Unknown option: w
Unknown option: d
$np->add_arg(
spec => "p12pass|p12passwd=s",
help => "Password for the P12-File",
required => 0
);
-pwd mypassword
Value "wd" invalid for option p (number expected)
Unknown option: w
Unknown option: d
$np->add_arg(
spec => "p12pass|p12passwd=s",
help => "Password for the P12-File",
required => 0
);
byGandalf, December 8, 2012
After migrating from debian 6 to ubuntu 12.04 lts, this plugin did not work anymore.
I had to change the way, the cert, key and cacert parameters were set and added the following lines after creating the useragent $ua.
$ua->ssl_opts(
SSL_ca_file => $cacert,
SSL_cert_file => $certfile,
SSL_key_file => $key,
);
I had to change the way, the cert, key and cacert parameters were set and added the following lines after creating the useragent $ua.
$ua->ssl_opts(
SSL_ca_file => $cacert,
SSL_cert_file => $certfile,
SSL_key_file => $key,
);
bydurtle, June 14, 2012
At first this plugin was not working for us because we did not have the Crypt SSLeay library installed. Suggest to add "use Crypt::SSLeay;" to use section at top of file to throw an error if library is not installed.
To install the needed libraries on CentOS use "yum install perl-Crypt-SSLeay perl-Nagios-Plugin"
To install the needed libraries on CentOS use "yum install perl-Crypt-SSLeay perl-Nagios-Plugin"