Removed PID from snmptraps image. Possible to use readonly filesystem
This commit is contained in:
parent
d0c5869b9d
commit
de2f409ea1
|
|
@ -653,7 +653,6 @@ services:
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rwz
|
- snmptraps:/var/lib/zabbix/snmptraps:rwz
|
||||||
- ${DATA_DIRECTORY}/var/lib/zabbix/snmptrapd_config:/var/lib/zabbix/snmptrapd_config:rw
|
- ${DATA_DIRECTORY}/var/lib/zabbix/snmptrapd_config:/var/lib/zabbix/snmptrapd_config:rw
|
||||||
- ${DATA_DIRECTORY}/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ${DATA_DIRECTORY}/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
tmpfs: /tmp
|
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,6 @@ snmpTrapdAddr udp6:1162
|
||||||
|
|
||||||
# Do not fork from the calling shell
|
# Do not fork from the calling shell
|
||||||
doNotFork yes
|
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
|
# Disables support for the NOTIFICATION-LOG-MIB
|
||||||
#doNotRetainNotificationLogs yes
|
#doNotRetainNotificationLogs yes
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue