Operating Principles

In this section

General Information

Integration with the System SNMP Agent

General Information

By default, the component is run automatically upon Dr.Web for UNIX File Servers startup. When run, the component structures data according to the structure described in MIB Dr.Web and waits for requests to receive data from external SNMP managers. The component receives information on the status of the Dr.Web for UNIX File Servers components and notifications on detected threats directly from the Dr.Web ConfigD configuration daemon.

Threats can be detected by the scan engine during scanning initiated by Dr.Web for UNIX File Servers components. Once any of threats is detected, the appropriate count (of this threat type) is incremented by one and all SNMP managers that can receive notifications get an SNMP trap notifying on the detected threat.

Collected values of counters (for example, counters of detected threats) are not saved between launches of Dr.Web SNMPD. Thus, once Dr.Web SNMPD is relaunched for any reason (including general restart of Dr.Web for UNIX File Servers), the collected values of counters are reset to zero.

Integration with the System SNMP Agent

To enable correct operation of Dr.Web SNMP agent if the main system SNMP agent snmpd (net-snmp), already operates on the server, configure transmission of SNMP requests through the Dr.Web MIB branch from snmpd to Dr.Web SNMPD. For that purpose, edit the snmpd configuration file (usually for GNU/Linux the file is as follows: /etc/snmp/snmpd.conf), by adding the following line in it:

proxy -v <version> -c <community> <address>:<port> <MIB branch>

Where:

<version>—SNMP version in use (2c, 3).

<community>—“community string” used by Dr.Web SNMPD.

<address>:<port>—network socket which is listened by Dr.Web SNMPD.

<MIB branch>—OID of the MIB branch containing descriptions of variables and SNMP notifications (trap) used by Dr.Web (the OID equals .1.3.6.1.4.1.29690).

If you are using the default settings of Dr.Web SNMP agent, then the added line should look like this:

proxy -v 2c -c public localhost:50000 .1.3.6.1.4.1.29690

Note that since port 161 in this case will be used by the system standard snmpd, it is required to specify another port for Dr.Web SNMPD in the ListenAddress parameter (in this example, 50000).