using csmonitor

I have a new install of JES 2005Q4. Everything is working fine for both the default and hosted domains.

I want to use csmonitor to monitor the calendar db files, ldap connectivity, disk space etc..

When i start csmonitor.. i get the following error:

# ./csmonitor

# CSMONITOR: DAEMON STARTED

ldap_search: Invalid DN syntax

ldap_search: additional info: Invalid DN

And i receive an error notification email from csmonitor to the address i specified in ics.conf stating that my LDAP is down.. but it is not and everything is working fine.

Do i need to configure something else in ics.conf for csmonitor to work?

Thanks in advance for any advice.

[706 byte] By [callenj98] at [2007-11-26 9:44:12]
# 1

I increased the debug level for csmonitor.. now when i start it.. i get this:

CONF_PRM_VALUE=CSWD_DBGLEVEL[5]

# CONF_PRM_VALUE=CSWD_DBGLEVEL[5]

CSMONITOR: DAEMON STARTED

CONF_PRM_VALUE=CSWD_LOGMAXSIZE[2097152]

CONF_PRM_VALUE=CSDB_THRESHOLD[90]

CONF_PRM_VALUE=CSDB_DIR[/var/opt/SUNWics5/csdb]

CONF_PRM_VALUE=CSDB_CIRCULAR[no]

CONF_PRM_VALUE=CSWD_EMAILSRC[root@localhost]

CONF_PRM_VALUE=CSWD_EMAILDST[root@localhost]

CONF_PRM_VALUE=CSWD_REFRESH[1800]

CONF_PRM_VALUE=CSWD_CONTINUOUS[0]

CONF_PRM_VALUE=HTTP_PORT[3080]

CONF_PRM_VALUE=LDAP_HOST[sunmail.domain.com]

CONF_PRM_VALUE=LDAP_PORT[389]

CONF_PRM_VALUE=LDAP_BDN[o=domain.com, o=isp]

CONF_PRM_VALUE=LDAP_EUADM[cn=Directory Manager]

CONF_PRM_VALUE=LDAP_EUPWD[thepassword]

CONF_PRM_VALUE=LDAP_UID[calmaster]

CSADMIND IS[1] AND WAS[1]

CSNOTIFY IS[1] AND WAS[1]

CSHTTPD IS[2] AND WAS[2]

ENPD IS[2] AND WAS[2]

CSDB USED DISK[2%] AND LIMIT IS SET TO[90]

TXN LOGS[1]

ldapsearch -h sunmail.domain.com -p 389 -D cn=Directory Manager -w thepassword -b o=domain.com, o=isp uid=calmaster

ldap_search: Invalid DN syntax

ldap_search: additional info: Invalid DN

LDAP_ANSWERS[0]

The info looks correct. Is it formatted wrong?

callenj98 at 2007-7-7 0:45:43 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 2
more thoughts........:)one thing seems odd about the debug output..shouldn't the dn for calmaster be something like this?-b "uid=calmaster,ou=People,o=domain.com,o=isp"
callenj98 at 2007-7-7 0:45:43 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...