Re: Cant monitor SSL Certs on vhosts with check_http

"Heinze, Markus" <[email protected]>
Newsgroups gmane.network.nagios.plugins
Message-ID <1662FBB46434094E87C9DE93683BE3A4010C23C2@mail.intra.domains.esta-bw.de>
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: [email protected]
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:[email protected]] 
Gesendet: Donnerstag, 10. Januar 2013 15:07
An: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
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: [email protected] - 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-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
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

------------------------------------------------------------------------------
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-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.