From b28f435b6ac191168cb65d35776b26f084b66899 Mon Sep 17 00:00:00 2001 From: SantaSpeen Date: Mon, 4 Dec 2023 17:10:43 +0300 Subject: [PATCH] Enable SMTP Traps --- env_vars/.env_snmptraps | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 env_vars/.env_snmptraps diff --git a/env_vars/.env_snmptraps b/env_vars/.env_snmptraps new file mode 100644 index 0000000..874b311 --- /dev/null +++ b/env_vars/.env_snmptraps @@ -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 \ No newline at end of file