[Monitor] Section

The [Monitor] section contains main settings of Dr.Web Monitor:

[Monitor]

RunForeground = {logical}

Yes value forbids Dr.Web Monitor to operate in daemon mode.

This option can be used by some monitoring utilities (for example, daemontools).

Default value:

RunForeground = No

User = {text value}

Name of the user whose privileges are used by Dr.Web Monitor.

Default value:

User = drweb

Group = {text value}

User group name used to run Dr.Web Monitor with certain user privileges.

Default value:

Group = drweb

PidFileDir = {path to directory}

Path to the directory of a file where information on Dr.Web Monitor process identifier (PID) is written upon the module startup.

Default value:

PidFileDir = %var_dir/run/

ChDir = {path to directory}

Change of working directory upon Dr.Web Monitor startup.

If this parameter is set, Dr.Web Monitor changes directory to the one specified in this parameter value. Otherwise, working directory is not changed.

Default value:

ChDir = /

MetaConfigDir = {path to directory}

Path to the directory where metaconfiguration files reside.

These files contain settings defining Dr.Web Monitor interaction with other Dr.Web components. Metaconfiguration files are provided by Dr.Web developers and do not require editing.

Default value:

MetaConfigDir = %etc_dir/monitor/

Address = {address}

Socket used by Dr.Web Monitor to receive control signals from other Dr.Web components.

Default value:

Address = local:%var_dir/ipc/.monitor

Timeout = {numerical value}

Maximum time (in seconds) to establish connection between Dr.Web Monitor and other Dr.Web components.

Default value:

Timeout = 5

TmpFileFmt = {text value}

Name templates for Dr.Web Monitor temporary files.

Template format: path_to_file.XXXXXX

where X is a random symbol (letter or digit), used in temporary file names.

Default value:

TmpFileFmt = %var_dir/msgs/tmp/monitor.XXXXXX

RunAppList = {text value}

List of modules started by Dr.Web Monitor; use comma as a delimiter.

Please note that this parameter is not modified upon uninstalling a Dr.Web component. You must manually remove the uninstalled component from this parameter value. Otherwise, Dr.Web Monitor will not be able to run and start other Dr.Web components.

Default value:

RunAppList = AGENT

UseEnterpriseMode = {logical}

If the value is set to Yes, Dr.Web Monitor receives the list of modules to be started from Dr.Web Agent rather than from the RunAppList parameter value.

Default value:

UseEnterpriseMode = No

RecoveryTimeList = {numerical values}

Time intervals between attempts to restart components that are not responding (in seconds).

This parameter can have multiple values, separated by commas. First attempt to restart a component is made after a period of time specified in the first parameter value, second attempt – using the second parameter value, and so on.

Default value:

RecoveryTimeList = 0,30,60

InjectCmd = {string}

Command to send reports.

Please note that if you want to send reports to other addresses (not only to root@localhost), you need to specify the addresses in the command.

Default value:

InjectCmd = "/usr/sbin/sendmail -t"

AgentAddress = {address}

Socket used by Dr.Web Monitor to interact with Dr.Web Agent (parameter value must be the same as the Address parameter value from Dr.Web Agent configuration file).

Default value:

AgentAddress = local:%var_dir/ipc/.agent

AgentResponseTime = {numerical value}

Maximum time to wait a response from drweb-agent module in seconds.

If Dr.Web Agent does not respond during this time period, Dr.Web Monitor considers drweb-agent not working and tries to restart it.

If 0 is specified, response time is unlimited.

Default value:

AgentResponseTime = 5