[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


Hello.

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 
www.esta-bw.de 

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

Hello!

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 10.1.1.1 -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!

--
Atenciosamente,
__________________________________________________________________
GUSTAVO VIEIRA OLIVEIRA.
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:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: 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