* Fixed bug in check_cert plugin printing out certificates when it
shouldn't.
+ * check_cert plugin has explicit paths to programs set.
- -- Michael Howe <michael@michaelhowe.org> Sun, 19 Jun 2011 23:15:25 +0100
+ -- Michael Howe <michael@michaelhowe.org> Sun, 19 Jun 2011 23:41:43 +0100
nagios-plugins-local (0.4) unstable; urgency=low
my $certreturn;
eval {
- $pid = open3(\*TLSOUT, \*TLSIN, \*TLSERR, "gnutls-cli", "--crlf", "--starttls", "--insecure", "--print-cert", "--port", $port, $host );
+ $pid = open3(\*TLSOUT, \*TLSIN, \*TLSERR, "/usr/bin/gnutls-cli", "--crlf", "--starttls", "--insecure", "--print-cert", "--port", $port, $host );
};
if( $@ ){
die "open3: $!\n$@\n";
my $sslpid;
eval{
- $sslpid = open3( \*SSLOUT, \*SSLIN, \*SSLERR, "openssl", "x509", "-text" );
+ $sslpid = open3( \*SSLOUT, \*SSLIN, \*SSLERR, "/usr/bin/openssl", "x509", "-text" );
};
if( $@ ){
die "open3: $!\n$@\n";