Problems checking ssl

Assaf Flatto assaf.flatto at ssp-intl.com
Fri Aug 21 11:34:01 CEST 2009


Hello and welcome.

when you tested via command line - did you do it as the nagios user or as root ?
This is the first thing to come to mind .

also you may want to check the permissions on the check_http  plugin.

Assaf

On Friday 21 August 2009 07:54:09 Alex Huth wrote:
> Hi!
>
> I am having problems with checking ssl. On the commandline everything works
> like expected (because i am new to nagios i hope so ;) ). When i implement
> this in the files, i get a socket timeout. I have checked the string on the
> commandline and in the files several times, but can't see any difference.
>
> Here is what i have done:
>
> commandline: /adm/libexec/nagios/check_http -ssl -I <IP> -H
> www.xxx.de -u /index.html/kontakt/kontaktformular.html -f follow
>
> Result: HTTP OK HTTP/1.0 200 OK - 0.016 second response time
>
> |time=0.016387s;;;0.000000 size=55684B;;;0
>
> services.cfg:
>
> define service{
>         name                    https-xxx
>         service_description     HTTPS xxx
>         use                     1234-service-with-perfdata
>         hostgroup_name          1234.frontend-webservers
>         check_command
> check_https_vhost!www.xxx.de!/index.html/kontakt/kontaktformular.html
>         }
>
> commands.cfg:
>
> define command{
>     command_name    check_https_vhost
>     command_line    $USER1$/check_http -ssl -I $HOSTADDRESS$ -H $ARG1$ -u
> $ARG2$ -f follow
> }
>
> Any idea where i made a mistake or what is going wrong?
>
> Thx
>
> Alex
>
> ---------------------------------------------------------------------------
>--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day trial. Simplify your report design, integration and deployment - and
> focus on what you do best, core application coding. Discover what's new
> with Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
> ::: Please include Nagios version, plugin version (-v) and OS when
> ::: reporting any issue. Messages without supporting info will risk being
> ::: sent to /dev/null



-- 
Assaf Flatto
SSP Ops Team
Linux System Administrator
169 Euston Road, London, NW1 2AE





IMPORTANT . this email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications. We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and Wales
(company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY
 
 

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list