This Calendar Server utility is a shell script that requires bash. When invoked, this utility performs the following functions:
Monitors and logs the following processes according to the log level specified in the ics.conf file: csadmind, csnotifyd, cshttpd, enpd.
Checks to see if cshttpd is accepting commands.
Checks to see if the system has LDAP connectivity.
If circular logging is enabled, checks to see if more than one transaction file exists and if so, sends an email warning.
Checks available disk space for the calendar database to make sure there is enough for proper operation.
When errors occur the utility logs them and sends an email to the administrator specified by the ics.conf parameter service.monitor.emailaddress.to.
For debugging purposes, you can configure the monitor to run in a continuous loop with very short intervals, but this requires more system resources, so you don’t want to keep it in that mode during normal production.
To use csmonitor under normal circumstances, set it to run with an interval that you choose.
For more information about the csmonitor utility, see Appendix D, Calendar Server Command-Line Utilities Reference.