[Nagiosplug-help] Cant monitor SSL Certs on vhosts with check_http

Heinze, Markus Markus.Heinze at esta-bw.de
Thu Jan 10 16:27:50 CET 2013


I check it with

/usr/local/nagios/libexec/check_http --ssl -H www.webserver.com -C 28
Output: OK - Certificate will expire on xx/xx/xxxx 01:47.

Mit freundlichen Grüßen 
Markus Heinze 

ESTA-Bildungswerk gGmbH 
Bismarckstr. 8 
32545 Bad Oeynhausen 
e-mail: markus.heinze at esta-bw.de
Telefon: 05731 - 157 231 
Telefax: 05731 - 157 198 

Geschäftsführerin: Martina Schirmacher 
Vorsitzender des Aufsichtsrats: Dr. Wilm Schulte
Amtsgericht Bad Oeynhausen 
Handelsregisternummer: 16 HR B 9704 
Steuer-Ident-Nr.: DE242099511

-----Ursprüngliche Nachricht-----
Von: Gustavo Vieira Oliveira [mailto:gustavov at sc.senai.br] 
Gesendet: Donnerstag, 10. Januar 2013 15:07
An: nagiosplug-help at lists.sourceforge.net
Betreff: [Nagiosplug-help] Cant monitor SSL Certs on vhosts with check_http


I'm not able to use check_http to monitor SSL certificates on vhosts. It always seem to get the host SSL certificate.

I've tried this command-line options "-S -I -H www.webserver.com" also, i've used "-k "Host: www.webserver.com", all without success. The only way i can get it to work is setting each vhost on a different port and changing the command-line arguments to use this specific port.

Is there any way i can monitor the vhost certificate instead of the host SSL certificate?

Thanks in advance!

Sistema FIESC

Unidade de Tecnologia da Informação - TIC Rod. Admar Gonzaga, 2765 - Itacorubi - 88034-001 - Florianópolis - SC Fone (48) 3231-4699 - Fax (48) 3231-4170
e-mail: gustavov at sc.senai.br - Site: http://www.sistemafiesc.org.br

Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at:
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

More information about the Help mailing list