[Nagiosplug-help] check_ldaps plugin

Thomas Guyot-Sionnest dermoth at aei.ca
Wed Jun 25 05:35:19 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 23/06/08 02:30 PM, David Nuttall wrote:
> Hello,
> I'm trying to set up so I can use the check_ldaps plugin, and when I run
> it from the command line it works fine.  I type in
> ./check_ldaps -H somehostname -b dc=somename,dc=somename,dc=somename.
> 
> It works great, but when I try to define a service it gives me an error
> saying "Could not init startTLS at port 389!".
> I defined my command as
> define command{
>         command_name    check_ldaps
>         command_line    $USER1$/check_ldaps -H $HOSTADDRESS$ -T -b
> "dc=name,dc=name,dc=name"
>         }
> but it won't work.  I do define the service as well. So any ideas on
> what I'm doing wrong would be helpful.

Since you're using ssl (ldapS) are you sure the problem isn't related to
the hostname not matching the security certificate?

In the shell scample you say "somehostname" while on the check command
you use $HOSTADDRESS$.

Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIYbz36dZ+Kt5BchYRAhhoAKCwJcaPayCcVZPEoExfGTbfUdLgTQCfemz4
kxYI4kFDPlx8GlCKAbkzMsI=
=hTGT
-----END PGP SIGNATURE-----




More information about the Help mailing list