mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-17 20:11:00 +02:00
Added support for DNS resolving for SNMP traps image
This commit is contained in:
5
env_vars/.env_snmptraps
Normal file
5
env_vars/.env_snmptraps
Normal file
@@ -0,0 +1,5 @@
|
||||
ZBX_SNMP_TRAP_DATE_FORMAT=+%Y%m%d.%H%M%S
|
||||
ZBX_SNMP_TRAP_FORMAT=\n
|
||||
# To use DNS instead of sender IP override container's command: /usr/sbin/snmptrapd -C -c /etc/snmp/snmptrapd.conf -Lo -A
|
||||
# Need to remove "-n" command argument
|
||||
ZBX_SNMP_TRAP_USE_DNS=false
|
Reference in New Issue
Block a user