diff --git a/compose_zabbix_components.yaml b/compose_zabbix_components.yaml index 60a58896..c1fcfe3c 100644 --- a/compose_zabbix_components.yaml +++ b/compose_zabbix_components.yaml @@ -653,7 +653,6 @@ services: - snmptraps:/var/lib/zabbix/snmptraps:rwz - ${DATA_DIRECTORY}/var/lib/zabbix/snmptrapd_config:/var/lib/zabbix/snmptrapd_config:rw - ${DATA_DIRECTORY}/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro - tmpfs: /tmp deploy: resources: limits: diff --git a/templates/config/snmptraps/snmp/snmptrapd.conf b/templates/config/snmptraps/snmp/snmptrapd.conf index f14d8ef6..d8b25606 100644 --- a/templates/config/snmptraps/snmp/snmptrapd.conf +++ b/templates/config/snmptraps/snmp/snmptrapd.conf @@ -4,8 +4,6 @@ snmpTrapdAddr udp6:1162 # Do not fork from the calling shell doNotFork yes -# File in which to store the process ID of the notification receiver -pidFile /tmp/snmptrapd.pid # Disables support for the NOTIFICATION-LOG-MIB #doNotRetainNotificationLogs yes