I also had some problems with the OpenLDAP plugin (and still have, actually).
Did you enable the "monitor" database in slapd.conf and did you configure the
"OpenLDAP 2.3.x" server in HQ (i.e.: ldapHostURL, ldapTreePathToDN and
ldapPasswd)?
What happens when you run this?
ldapsearch -LLL -H ldap://<LDAP_HOST> -x -w <LDAP_PASS> -D "<ROOT_DN>" -b "cn=Monitor" -s sub monitorCounter
Have you tried running the plugin from the command line?
For discovery:
user@host:~hyperic# jre/bin/java -jar pdk/lib/hq-product.jar -p openldap -m discover -Dlog=debug -Dplugins.include=openldap
For metrics:
user@host:~hyperic# jre/bin/java -jar pdk/lib/hq-product.jar -p openldap -Dplugins.include=openldap -DldapHostURL="ldap://<LDAP_HOST>/" -DldapTreePathToDN="<ROOT_DN>" -DldapPasswd=<LDAP_PASS>
I myself have not been able to get the OpenLDAP plugin to autodiscover any of its
services and I'm still struggling with adding them manually...
Leander