[Date Prev][Date Next]
Re: "best" way to check if OpenLDAP replication is working
The LTB redmine have been fixed.
2011/6/1 Andy Cobaugh <firstname.lastname@example.org>
I'm using just a simple shell script that I wrote a couple years ago. Our nagios runs on Solaris SPARC, so I have to keep dependencies to a minimum.
On 2011-06-01 at 08:45, Alister Forbes ( email@example.com
On 31 May 2011, at 18:27, Andy Cobaugh wrote:
On 2011-05-31 at 09:16, Tim Gustafson ( firstname.lastname@example.org ) said:
Is there a "best" way to check to see if OpenLDAP replication is working?
I have one script that checks the ContextCSN of the root of the database, which works to a certain degree. However, even when that matches it seems that sometimes a "deep inspection" (actually traversing the whole database and comparing each entry individually) of the directory shows differences even when the ContextCSN of the directory root matches.
That's all our nagios check script does. If you're finding that there are still differences in the contents of the directory even when contextCSN matches, then there's likely something else going on. At least, I've never seen the situation you describe in our production openldap cluster.
Just out of interest (I'm just beginning to sort out nagios monitoring for this very thing) is this the same plugin as on http://ltb-project.org/wiki/documentation/nagios-plugins/check_ldap_syncrepl_status or is it a script you've created yourselves?
I was completely unaware of the existence of LTB. I would check it out, but it looks like redmine is currently having issues when you try to download anything.
Those cacti plugins look interesting.
IAM / Security specialist
Ldap Synchronization Connector : http://lsc-project.org
Blog : http://sbahloul.wordpress.com/