Hi,
I'm trying to replace "standard" Zabbix with Zabbix in container. I have already everything working fine in rootless podman containers (mariadb, zabbix-server, zabbix-web, zabbix-agent, zabbix-snmptraps): exposed volumes, ports, podman dns...
Even SNMPv1 is working fine and writing to trap log file. Also when I did a test using snmptrap for SNMPv3 with noAuthNoPriv and parameter disableAuthorization set to yes, it was written in snmp trap log successfully.
But when I have parameters in snmptrapd.conf set to (same as in my "standard" Zabbix):
disableAuthorization no
createUser -e 0x1000000203002121231320 traptest SHA "*****some password******" AES "*****some password******"
authUser log,execute traptest
and I try to send something with snmptrap as authPriv, it's not written in trap log file. The only thing I see is "Authentication failed for traptest" in log of snmptrap container.
On standard Zabbix I have pretty much the same configuration and it's working fine and writing to trap log file.
Is there some limitation for snmptraps in container, e.g. SNMPv3 with SHA and AES (authPriv) are not supported or am I doing something wrong?
During my troubleshooting I tried setting poolers to 1, MD5 + DES, I tried to modify snmptrap container and install openssh client and server in advance (as openssh is a must for SHA and AES to work), I tried container on Alpine linux and also on Ubuntu (from docker hub), but nothing helped.
Is there a chance this could work using snmptraps container or the only chance is to install snmptrapd directly on my host?
Thank you in advance for any kind of help.
I'm trying to replace "standard" Zabbix with Zabbix in container. I have already everything working fine in rootless podman containers (mariadb, zabbix-server, zabbix-web, zabbix-agent, zabbix-snmptraps): exposed volumes, ports, podman dns...
Even SNMPv1 is working fine and writing to trap log file. Also when I did a test using snmptrap for SNMPv3 with noAuthNoPriv and parameter disableAuthorization set to yes, it was written in snmp trap log successfully.
But when I have parameters in snmptrapd.conf set to (same as in my "standard" Zabbix):
disableAuthorization no
createUser -e 0x1000000203002121231320 traptest SHA "*****some password******" AES "*****some password******"
authUser log,execute traptest
and I try to send something with snmptrap as authPriv, it's not written in trap log file. The only thing I see is "Authentication failed for traptest" in log of snmptrap container.
On standard Zabbix I have pretty much the same configuration and it's working fine and writing to trap log file.
Is there some limitation for snmptraps in container, e.g. SNMPv3 with SHA and AES (authPriv) are not supported or am I doing something wrong?
During my troubleshooting I tried setting poolers to 1, MD5 + DES, I tried to modify snmptrap container and install openssh client and server in advance (as openssh is a must for SHA and AES to work), I tried container on Alpine linux and also on Ubuntu (from docker hub), but nothing helped.
Is there a chance this could work using snmptraps container or the only chance is to install snmptrapd directly on my host?
Thank you in advance for any kind of help.