By default, the component is run automatically upon Dr.Web for UNIX Mail 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 Mail Servers components and notifications on detected threats directly from the configuration daemon.
Threats can be detected by the scan engine during scanning initiated by Dr.Web for UNIX Mail 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.
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:
•<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 of variables and SNMP notifications (trap) used by Dr.Web (the OID equals .188.8.131.52.4.1.29690).
If you are using the default settings of Dr.Web SNMP agent, then the added line should look like this:
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 (in this example, 50000).