Configuring the snmpd service in the operating system
July 3, 2024
ID 222969
The recommended snmpd service settings defined in the configuration file /etc/snmp/snmpd.conf are described in the instructions on configuring encryption of SNMP connections.
To configure the snmpd service:
- Add the following strings to the file /etc/snmp/snmpd.conf for connections through the UNIX socket:
master agentx
agentXSocket unix:/var/run/agentx-master.socket
agentXPerms 770 770 kluser klusers
- Restart the snmpd service. To do so, run the following command:
systemctl restart snmpd
- Add the snmpd service to autostart. To do so, run the following command:
systemctl enable snmpd
The snmpd service will be configured. To enable the application to operate over the SNMP protocol, enable use of SNMP in the application web interface.
If the snmpd service was configured prior to installing Kaspersky Secure Mail Gateway, application data may be incorrectly transmitted over the SNMP protocol. If this is the case, restart the snmpd service.