Configuration Parameters

The component uses configuration parameters specified in the [StatD] section of the unified configuration file of Dr.Web for UNIX File Servers.

The section contains the following parameters:

Parameter

Description

LogLevel

{logging level}

Logging level of the component.

If the parameter value is not specified, the DefaultLogLevel parameter value from the [Root] section is used.

Default value: Notice

Log

{log type}

Logging method of the component.

Default value: Auto

ExePath

{path to file}

Component executable path.

Default value: <opt_dir>/bin/drweb-statd.

For GNU/Linux: /opt/drweb.com/bin/drweb-statd.

For FreeBSD: /usr/local/libexec/drweb.com/bin/drweb-statd

RunAsUser

{UID | user name}

The name of the user as whom the component runs. The user name can be specified either as the user numerical UID or as the user login. If the user name consists of numbers (i.e. similar to numerical UID), it is specified with the “name:” prefix, for example: RunAsUser = name:123456.

When the user name is not specified, the component terminates with an error at startup.

Default value: drweb

IdleTimeLimit

{time interval}

Maximum idle time for the component. When the specified period of time expires, the component shuts down.

Allowed values: from 10 seconds (10s) to 30 days (30d) inclusive.
If the None value is set, the component will function indefinitely; the SIGTERM signal will not be sent if the component goes idle.

Default value: 10m

MaxEventStoreSize

{size}

Maximum allowed size of the event database. Defined in mb, for example: MaxEventStoreSize = 100mb.

Minimal value: 50mb.

Default value: 1GB