mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-24 23:39:20 +01:00
Updated snmptrapd configuration
This commit is contained in:
parent
90694be3e0
commit
7a757c3bdb
@ -62,4 +62,4 @@ COPY ["conf/usr/sbin/zabbix_trap_handler.sh", "/usr/sbin/"]
|
|||||||
|
|
||||||
USER 1997
|
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
|
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
|
# File in which to store the process ID of the notification receiver
|
||||||
pidFile /tmp/snmptrapd.pid
|
pidFile /tmp/snmptrapd.pid
|
||||||
# Disables support for the NOTIFICATION-LOG-MIB
|
# Disables support for the NOTIFICATION-LOG-MIB
|
||||||
|
@ -68,4 +68,4 @@ COPY ["conf/usr/sbin/zabbix_trap_handler.sh", "/usr/sbin/"]
|
|||||||
|
|
||||||
USER 1997
|
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
|
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
|
# File in which to store the process ID of the notification receiver
|
||||||
pidFile /tmp/snmptrapd.pid
|
pidFile /tmp/snmptrapd.pid
|
||||||
# Disables support for the NOTIFICATION-LOG-MIB
|
# Disables support for the NOTIFICATION-LOG-MIB
|
||||||
|
@ -67,4 +67,4 @@ COPY ["conf/usr/sbin/zabbix_trap_handler.sh", "/usr/sbin/"]
|
|||||||
|
|
||||||
USER 1997
|
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
|
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
|
# File in which to store the process ID of the notification receiver
|
||||||
pidFile /tmp/snmptrapd.pid
|
pidFile /tmp/snmptrapd.pid
|
||||||
# Disables support for the NOTIFICATION-LOG-MIB
|
# Disables support for the NOTIFICATION-LOG-MIB
|
||||||
|
@ -107,4 +107,4 @@ COPY ["conf/usr/sbin/zabbix_trap_handler.sh", "/usr/sbin/"]
|
|||||||
|
|
||||||
USER 1997
|
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
|
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
|
# File in which to store the process ID of the notification receiver
|
||||||
pidFile /tmp/snmptrapd.pid
|
pidFile /tmp/snmptrapd.pid
|
||||||
# Disables support for the NOTIFICATION-LOG-MIB
|
# Disables support for the NOTIFICATION-LOG-MIB
|
||||||
|
@ -64,4 +64,4 @@ COPY ["conf/usr/sbin/zabbix_trap_handler.sh", "/usr/sbin/"]
|
|||||||
|
|
||||||
USER 1997
|
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
|
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
|
# File in which to store the process ID of the notification receiver
|
||||||
pidFile /tmp/snmptrapd.pid
|
pidFile /tmp/snmptrapd.pid
|
||||||
# Disables support for the NOTIFICATION-LOG-MIB
|
# Disables support for the NOTIFICATION-LOG-MIB
|
||||||
|
@ -472,7 +472,7 @@ services:
|
|||||||
snmptraps:
|
snmptraps:
|
||||||
# Override snmptrapd command arguments to receive SNMP traps by DNS
|
# Override snmptrapd command arguments to receive SNMP traps by DNS
|
||||||
# It must be done with ZBX_SNMP_TRAP_USE_DNS=true environment variable
|
# 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:
|
profiles:
|
||||||
- full
|
- full
|
||||||
- all
|
- all
|
||||||
|
Loading…
Reference in New Issue
Block a user