ZARAFA-MONITOR.CF(5)

NAME
zarafa-monitor.cfg - The Zarafa monitor configuration file

SYNOPSIS

monitor.cfg

DESCRIPTION

The monitor.cfg is a configuration file for the Zarafa Monitor. monitor.cfg contains instructions for the software to set up the logging system.

FILE FORMAT

The file consists of one big section, but parameters can be grouped by functionality.

The parameters are written in the form:

name = value

The file is line-based. Each newline-terminated line represents either a comment, nothing, a parameter or a directive. A line beginning with `#' is considered a comment, and will be ignored by Zarafa. Parameter names are case sensitive. Lines beginning with `!' are directives.

Directives are written in the form:

!directive [argument(s)]

The following directives exist:

include
    Include and process argument

    Example: !include common.cfg

The types of parameters for the spooler are: server, smtp and log.

EXPLANATION OF EACH PARAMETER

quota_check_interval
    Set the interval (in minutes) for checking the quota for all Zarafa users.

    Default: 15

mailquota_resend_interval
    Send interval of a quota mail in days when a user reache his warning, soft or hard quota.

    Default: 1

server_socket
    Connection URL to find the connection to the Zarafa server.

    Default: file:///var/run/zarafad/server.sock

run_as_user
    After correctly starting, the monitor process will become this user, dropping root privileges. Note that the log file needs to be writeable by this user, and the directory too to create new logfiles after logrotation. This can also be achieved by setting the correct group and permissions.

    Default value is empty, not changing the user after starting.

run_as_group
    After correctly starting, the monitor process will become this group, dropping root privileges.

    Default value is empty, not changing the group after starting.

pid_file
    Write the process ID number to this file. This is used by the init.d script to correctly stop/restart the service.

    Default value: /var/run/zarafad/monitor.pid

running_path
    Change directory to this path when running in daemonize mode. When using the -F switch to run in the foreground the directory will not be changed.

    Default: /

sslkey_file
    Use this file as key to logon to the server. This is only used when server_socket is set to an HTTPS transport. See the zarafa-server(8) manual page on how to setup SSL keys.

    Default: value not set.

sslkey_pass
    The password of the SSL key file that is set in sslkey_file.

    Default: value not set.

log_method
    The method which should be used for logging. Valid values are:

    syslog
        Use the Linux system log. All messages will be written to the mail facility. See also syslog.conf(5).

    file
        Log to a file. The filename will be specified in log_file.

    Default: file

log_file
    When logging to a file, specify the filename in this parameter. Use - (minus sign) for stderr output.

    Default: /var/log/zarafa/monitor.log

log_timestamp
    Specify whether to prefix each log line with a timestamp in 'file' logging mode.

    Default: 1

log_buffer_size
    Buffer logging in what sized blocks. The special value 0 selects line buffering.

    Default: 0

log_level
    The level of output for logging in the range from 0 to 5. 0 means no logging, 5 means full logging.

    Default: 2

userquota_warning_template, companyquota_warning_template
    These templates are read by the zarafa-monitor when a user or tenant exceeds a particular quota level. In these templates multiple variables can be used which will be replaced before sending the quota warning email.

    These files should be saved in the UTF-8 charset. UTF-8 is compatible with US-ASCII, so if you only use western characters, there is no need for special measurements.

    ${ZARAFA_QUOTA_NAME}
        userquota template: The name of the user who exceeded his quota

        companyquota template: The name of the tenant which exceeded its quota

    ${ZARAFA_QUOTA_FULLNAME}
        userquota template: The fullname for the user who exceeded his quota

        tenantquota template: The name of the tenant which exceeded its quota

    ${ZARAFA_QUOTA_COMPANY}
        userquota template: The name of the tenant to which the user belongs

        tenantquota template: The name of the tenant which exceeded its quota

    ${ZARAFA_QUOTA_STORE_SIZE}
        userquota template: The total size of the user's store

        companyquota template: The total size of all stores (including the public store) which belong to this tenant

        Note: The size unit (KB,MB) is part of the variable

    ${ZARAFA_QUOTA_WARN_SIZE}
        The quota warning level

        Note: The size unit (KB,MB) is part of the variable

    ${ZARAFA_QUOTA_SOFT_SIZE}
        The quota soft level

        Note: The size unit (KB,MB) is part of the variable

    ${ZARAFA_QUOTA_HARD_SIZE}
        The quota hard limit

        Note: The size unit (KB,MB) is part of the variable

RELOADING

The following options are reloadable by sending the zarafa-monitor process a HUP signal:

log_level, mailquota_resend_interval, userquota_warning_template

FILES

/etc/zarafa/monitor.cfg
    The Zarafa monitor configuration file.

AUTHOR

Written by Zarafa.

SEE ALSO

zarafa-monitor(8)