Enabling information exchange via the SNMP protocol

To enable information exchange with the application via the SNMP protocol:

  1. Configure the address of the SNMP master agent by specifying the following value in the snmpd.conf file:

    master agentx

    AgentXSocket tcp:0.0.0.0:705

  2. Export the SNMP task settings to an XML file using the command:

    # /opt/kaspersky/klms/bin/klms-control \

    --get-settings <SNMP task ID> -f <file name>

  3. Open the XML file to edit the task settings.
  4. Specify the address of the SNMP master agent in the following section:

    <masterAgentAddress>tcp:127.0.0.1:705</masterAgentAddress>

  5. Enable the use of the SNMP protocol by setting 1 in the <enableSNMP> section.
  6. Save the changes made.
  7. Import the settings from the XML file to the SNMP task using the command:

    # /opt/kaspersky/klms/bin/klms-control \

    --set-settings <SNMP task ID> -f <file name>

    After importing the settings, restart Kaspersky Security 8 for Linux Mail Server to apply the changes.

You can now call MIB objects in Kaspersky Security 8 for Linux Mail Server and receive information via the SNMP protocol using OID objects. Kaspersky Security 8 for Linux Mail Server is distributed with MIB files containing the symbol names of MIB objects, events, and their settings. After the installation of Kaspersky Security 8 for Linux Mail Server, the MIB files are located in the directory: /opt/kaspersky/klms/share/snmp-mibs.

Page top