Enabling information exchange via the SNMP protocol
4 July 2024
ID 61960
To enable information exchange with the application via the SNMP protocol:
- 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
- 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>
- Open the XML file to edit the task settings.
- Specify the address of the SNMP master agent in the following section:
<masterAgentAddress>tcp:127.0.0.1:705</masterAgentAddress>
- Enable the use of the SNMP protocol by setting
1
in the<enableSNMP>
section. - Save the changes made.
- 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.