1 (edited by hata_ph 2013-06-03 10:39:46)

Topic: [SOLVED] LDAP monitoring with nagios

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: 0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: CentOS
- Related log if you're reporting an issue:
====

I am trying to use nagios to monitor ldap service on iRedMail-0.8.4 on centos 6 but it show i cannot bind to the server. Below is my nagios command...

check_ldap -H example.com -b "dc=example,dc=com" -D "cn=Manager,dc=example,dc=com" -P "123456"

I know this is not a direct iRedMail problem but I was wondering do anyone have try to use nagios on iRedMail's ldap?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: [SOLVED] LDAP monitoring with nagios

Check your command with OpenLDAP command line tools first. For example, "ldapsearch".

P.S. It's not a good idea to use "cn=Manager".

3

Re: [SOLVED] LDAP monitoring with nagios

Thanks...I figure it out by using below command
It seem iRedMail's ldap is using version 3...

check_ldap -H example.com -b dc=example,dc=com -D mail=abc@example.com,ou=Users,domainName=example.com,o=domains,dc=example,dc=com -P password -3