This program can be used to check the number of ldap searches and errors on your eDirectory based ldap server. I queries the ldap server for its statistics and writes them to a temporary file. The next time it is started it gathers the new values and calculates the number of searches and errors per second till the last run and compares them against the warning and critical level.
This program is built to be integrated into Nagios which does the start of it frequently and can do the notification as well as graphing of the values. As it is just a simple linux bash script it might be used as a standalone command line tool or might be integrated in any other monitoring solution.
Please see the project homepage for detailed information about the check program:
Later on this year I will write some cool solution articles which show how to install the latest Nagios version and as a sample integrate this check program into it and create graphs based on the values of it.
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.