I configured active mode on the agentd side
Turn on automatic registration on the server without any problems
Then try to enable the psk encryption configuration on the agentd side, and restart the agentd to register (the host has been deleted on the server side before the operation), but the automatic registration fails
The log under agentd is as follows:
2369:20201012:164100.615 Starting Zabbix Agent [xxxx-dev-192.168.31.88]. Zabbix 5.0.2 (revision 352ca05870).
2369:20201012:164100.615 **** Enabled features ****
2369:20201012:164100.615 IPv6 support: YES
2369:20201012:164100.615 TLS support: YES
2369:20201012:164100.615 **************************
2369:20201012:164100.615 using configuration file: /etc/zabbix/zabbix_agentd.conf
2369:20201012:164100.615 agent #0 started [main process]
2370:20201012:164100.616 agent #1 started [collector]
2371:20201012:164100.616 agent #2 started [active checks #1]
2371:20201012:164100.706 active check configuration update from [IP:Port] started to fail (TCP successful, cannot establish TLS to [[IP]:28591Port]: connection closed by peer)
How can I automatically add the expected specified psk configuration when the host is automatically registered, so as to complete the automatic addition of the host?
Comment