mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-22 22:41:19 +01:00
Updated snmptrapd configuration
This commit is contained in:
parent
e7c6db4031
commit
31790a1a21
@ -62,4 +62,4 @@ COPY ["conf/usr/sbin/zabbix_trap_handler.sh", "/usr/sbin/"]
|
||||
|
||||
USER 1997
|
||||
|
||||
CMD ["/usr/sbin/snmptrapd", "-n", "-C", "-c", "/etc/snmp/snmptrapd.conf", "-Lo", "-A"]
|
||||
CMD ["/usr/sbin/snmptrapd", "-n", "-t", "-X", "-C", "-c", "/etc/snmp/snmptrapd.conf", "-Lo", "-A", "--doNotFork=yes", "--agentuser=zabbix", "--agentgroup=zabbix"]
|
||||
|
@ -3,7 +3,7 @@ snmpTrapdAddr udp:1162
|
||||
snmpTrapdAddr udp6:1162
|
||||
|
||||
# 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
|
||||
|
@ -68,4 +68,4 @@ COPY ["conf/usr/sbin/zabbix_trap_handler.sh", "/usr/sbin/"]
|
||||
|
||||
USER 1997
|
||||
|
||||
CMD ["/usr/sbin/snmptrapd", "-n", "-C", "-c", "/etc/snmp/snmptrapd.conf", "-Lo", "-A"]
|
||||
CMD ["/usr/sbin/snmptrapd", "-n", "-t", "-X", "-C", "-c", "/etc/snmp/snmptrapd.conf", "-Lo", "-A", "--doNotFork=yes", "--agentuser=zabbix", "--agentgroup=zabbix"]
|
||||
|
@ -3,7 +3,7 @@ snmpTrapdAddr udp:1162
|
||||
snmpTrapdAddr udp6:1162
|
||||
|
||||
# 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
|
||||
|
@ -67,4 +67,4 @@ COPY ["conf/usr/sbin/zabbix_trap_handler.sh", "/usr/sbin/"]
|
||||
|
||||
USER 1997
|
||||
|
||||
CMD ["/usr/sbin/snmptrapd", "-n", "-C", "-c", "/etc/snmp/snmptrapd.conf", "-Lo", "-A"]
|
||||
CMD ["/usr/sbin/snmptrapd", "-n", "-t", "-X", "-C", "-c", "/etc/snmp/snmptrapd.conf", "-Lo", "-A", "--doNotFork=yes", "--agentuser=zabbix", "--agentgroup=zabbix"]
|
||||
|
@ -3,7 +3,7 @@ snmpTrapdAddr udp:1162
|
||||
snmpTrapdAddr udp6:1162
|
||||
|
||||
# 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
|
||||
|
@ -107,4 +107,4 @@ COPY ["conf/usr/sbin/zabbix_trap_handler.sh", "/usr/sbin/"]
|
||||
|
||||
USER 1997
|
||||
|
||||
CMD ["/usr/sbin/snmptrapd", "-n", "-C", "-c", "/etc/snmp/snmptrapd.conf", "-Lo", "-A"]
|
||||
CMD ["/usr/sbin/snmptrapd", "-n", "-t", "-X", "-C", "-c", "/etc/snmp/snmptrapd.conf", "-Lo", "-A", "--doNotFork=yes", "--agentuser=zabbix", "--agentgroup=zabbix"]
|
||||
|
@ -3,7 +3,7 @@ snmpTrapdAddr udp:1162
|
||||
snmpTrapdAddr udp6:1162
|
||||
|
||||
# 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
|
||||
|
@ -64,4 +64,4 @@ COPY ["conf/usr/sbin/zabbix_trap_handler.sh", "/usr/sbin/"]
|
||||
|
||||
USER 1997
|
||||
|
||||
CMD ["/usr/sbin/snmptrapd", "-n", "-C", "-c", "/etc/snmp/snmptrapd.conf", "-Lo", "-A"]
|
||||
CMD ["/usr/sbin/snmptrapd", "-n", "-t", "-X", "-C", "-c", "/etc/snmp/snmptrapd.conf", "-Lo", "-A", "--doNotFork=yes", "--agentuser=zabbix", "--agentgroup=zabbix"]
|
||||
|
@ -3,7 +3,7 @@ snmpTrapdAddr udp:1162
|
||||
snmpTrapdAddr udp6:1162
|
||||
|
||||
# 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
|
||||
|
@ -472,7 +472,7 @@ services:
|
||||
snmptraps:
|
||||
# Override snmptrapd command arguments to receive SNMP traps by DNS
|
||||
# It must be done with ZBX_SNMP_TRAP_USE_DNS=true environment variable
|
||||
# command: /usr/sbin/snmptrapd -C -c /etc/snmp/snmptrapd.conf -Lo -A
|
||||
# command: /usr/sbin/snmptrapd -t -X -C -c /etc/snmp/snmptrapd.conf -Lo -A --doNotFork=yes --agentuser=zabbix --agentgroup=zabbix
|
||||
profiles:
|
||||
- full
|
||||
- all
|
||||
|
Loading…
Reference in New Issue
Block a user