Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 443502

Summary: net-analyzer/nagios-plugins-1.4.16-r2 check_http Plugin does not support checking certificates
Product: Gentoo Linux Reporter: xo0ox <xo0ox>
Component: New packagesAssignee: Sysadmin Bugs <sysadmin>
Status: RESOLVED OBSOLETE    
Severity: normal CC: alexanderyt, chandshy, gem
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description xo0ox 2012-11-16 11:52:23 UTC
After updating my plugins today check_http I was not able to check certificates with gnutls USE Flag.

Reproducible: Always

Steps to Reproduce:
Compile nagios-plugins with ssl and gnutls USE-Flag and check for certificate:


Actual Results:  
# /usr/lib/nagios/plugins/check_http -H www.verisign.com -C 14
WARNING - Plugin does not support checking certificates.
# eix -I nagios-plugins
[I] net-analyzer/nagios-plugins
     Available versions:  1.4.14-r2^t 1.4.16-r2^t {{gnutls ipv6 jabber ldap mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh postgres radius samba smart snmp +ssl sudo +suid ups}}
     Installed versions:  1.4.16-r2^t(12:49:32 PM 11/16/2012)(gnutls ipv6 postgres ssl suid -jabber -ldap -mysql -nagios-dns -nagios-game -nagios-ntp -nagios-ping -nagios-ssh -radius -samba -smart -snmp -sudo -ups)
     Homepage:            http://www.nagios.org/
     Description:         Nagios 1.4.16 plugins - Pack of plugins to make Nagios work properly


Expected Results:  
# /usr/lib/nagios/plugins/check_http -H www.verisign.com -C 14
WARNING - Plugin does not support checking certificates.
# eix -I nagios-plugins
[I] net-analyzer/nagios-plugins
     Available versions:  1.4.14-r2^t 1.4.16-r2^t {{gnutls ipv6 jabber ldap mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh postgres radius samba smart snmp +ssl sudo +suid ups}}
     Installed versions:  1.4.16-r2^t(12:49:32 PM 11/16/2012)(gnutls ipv6 postgres ssl suid -jabber -ldap -mysql -nagios-dns -nagios-game -nagios-ntp -nagios-ping -nagios-ssh -radius -samba -smart -snmp -sudo -ups)
     Homepage:            http://www.nagios.org/
     Description:         Nagios 1.4.16 plugins - Pack of plugins to make Nagios work properly
Comment 1 xo0ox 2012-11-16 11:54:07 UTC
Something was wrong with copy and paste.

Without gnutls USE Flag the plugin works as expected.
Comment 2 Chuck Handshy 2012-12-03 20:21:48 UTC
Bug exists and the work around is to do this.

USE="-gnutls" emerge -1 nagios-plugins

Thanks 
Chuck Handshy
Comment 3 Michael Orlitzky gentoo-dev 2015-08-31 14:42:30 UTC
This is... sort of fixed. The newer 2.x series of nagios-plugins doesn't support gnutls, and the certificate support does work with the default OpenSSL. Since the 1.4.x series is gone, I'm gonna mark this obsolete.