Sun Java System Calendar Server 6 2005Q4 Administration Guide

ProcedureTo Configure csmonitor

  1. Log in as an administrator with permission to change the configuration.

  2. Change to the /etc/opt/SUNWics5/cal/config directory.

  3. Save your old ics.conf file by copying and renaming it.

  4. Edit one or more of the ics.conf parameters shown in the following table:

    Parameter  

    Description and Default Value  

    service.monitor.continuous

    Specifies whether csmonitor should loop continuously:"0" – Do not loop continuously (the default)."1" – Loop continuously.

    Set this parameter to “1” to enable csmonitor to run automatically.

    service.monitor.loopsdelay

    Specifies the delay in seconds between two monitoring loops. The default is “60” seconds. 

    For debugging purposes, make the interval shorter and for production, make the interval much longer. 

    service.monitor.emailaddress.from

    Specifies the email address csmonitor sends messages from. No default given.

    service.monitor.emailaddress.to

    Specifies the email address csmonitor should send messages to. No default given.

    service.monitor.csdb.logthreshold 

    Monitors the calendar database (csdb). Specifies a threshold value, as a percent of the total disk space, for maximum disk occupation. If the disk occupation for the csdb directory exceeds this value, it sends a warning email message. The default is “90”.

    logfile.monitor.logname

    Specifies the csmonitor log file name. The default is “csmonitor.log”.

    logfile.monitor.maxlogfilesize

    Specifies the maximum log file size. If the log file exceeds this size, csmonitor saves the log as csmonitor.log.timestamp and resets the current log. The default is “2097152”

    service.monitor.dbglevel

    Specifies the debug level. With a range of 0-5, the higher this value, the more precise and verbose messages sent by csmonitor. The default is “0”, which specifies no logging. A value of “5” would indicate debug logging.

  5. Save the file as ics.conf.

  6. Restart Calendar Server.

    cal_svr_base/SUNWics5/cal/sbin/start-cal