Added support for DNS resolving for SNMP traps image

This commit is contained in:
Alexey Pustovalov
2023-11-11 14:25:11 +09:00
parent 556cf9942d
commit ada69324de
28 changed files with 136 additions and 9 deletions

5
env_vars/.env_snmptraps Normal file
View 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