Im trying to setup Autoregistration with PSK on Zabbix for Windows, but Autoregistration keeps failing as soon as i enable PSK.
I have setup PSK under "Administration/General/Autoregistration"
Adding hosts with Autoregistration works fine without PSK.
Adding a host manually with PSK works fine.
On my Client side this is what i have.
zabbix_agentd.conf looks like this:
# This is a configuration file for Zabbix agent service (Windows)
# To get more information about Zabbix, visit http://www.zabbix.com
LogFile=C:\Program Files\Zabbix Agent\zabbix_agentd.log
Server=11.11.11.11
Hostname=ADFS-server01
TLSConnect=psk
TLSAccept=psk
TLSPSKIdentity=ElevenPSK
TLSPSKFile=C:\Program Files\Zabbix Agent\psk.key
This is what i see in the logs.
zabbix_agentd.log looks like this:
8812:20221017:125541.954 Zabbix Agent stopped. Zabbix 6.2.3 (revision 98ee88fc19d).
7032:20221017:132218.708 Starting Zabbix Agent [PATCH01-DRIFT]. Zabbix 6.2.3 (revision 98ee88fc19d).
7032:20221017:132218.710 **** Enabled features ****
7032:20221017:132218.712 IPv6 support: YES
7032:20221017:132218.713 TLS support: YES
7032:20221017:132218.714 **************************
7032:20221017:132218.714 using configuration file: C:\Program Files\Zabbix Agent\zabbix_agentd.conf
7032:20221017:132220.452 agent #0 started [main process]
1300:20221017:132220.455 agent Forum started[listener #1]
6432:20221017:132220.456 agent #3 started[listener #2]
4164:20221017:132220.460 agent Home started [collector]
7328:20221017:132220.461 agent #4 started[listener #3]
6432:20221017:133843.325 failed to accept an incoming connection: from 11.11.11.11: unencrypted connections are not allowed
7328:20221017:140313.440 failed to accept an incoming connection: from 11.11.11.11: unencrypted connections are not allowed
I even tried to set debug level to 5 and all i got was the two linies before and after the failed to accept linie.
3040:20221017:124939.775 In collect_perfstat()
3040:20221017:124939.780 End of collect_perfstat()
3064:20221017:124939.936 failed to accept an incoming connection: from 11.11.11.11: unencrypted connections are not allowed
3040:20221017:124940.790 In collect_perfstat()
3040:20221017:124940.796 End of collect_perfstat()
Any HELP would be greatly appreciated!!!
Best regards
Tony
Ps. First time Zabbix setup, so be gentle... plz
I have setup PSK under "Administration/General/Autoregistration"
Adding hosts with Autoregistration works fine without PSK.
Adding a host manually with PSK works fine.
On my Client side this is what i have.
zabbix_agentd.conf looks like this:
# This is a configuration file for Zabbix agent service (Windows)
# To get more information about Zabbix, visit http://www.zabbix.com
LogFile=C:\Program Files\Zabbix Agent\zabbix_agentd.log
Server=11.11.11.11
Hostname=ADFS-server01
TLSConnect=psk
TLSAccept=psk
TLSPSKIdentity=ElevenPSK
TLSPSKFile=C:\Program Files\Zabbix Agent\psk.key
This is what i see in the logs.
zabbix_agentd.log looks like this:
8812:20221017:125541.954 Zabbix Agent stopped. Zabbix 6.2.3 (revision 98ee88fc19d).
7032:20221017:132218.708 Starting Zabbix Agent [PATCH01-DRIFT]. Zabbix 6.2.3 (revision 98ee88fc19d).
7032:20221017:132218.710 **** Enabled features ****
7032:20221017:132218.712 IPv6 support: YES
7032:20221017:132218.713 TLS support: YES
7032:20221017:132218.714 **************************
7032:20221017:132218.714 using configuration file: C:\Program Files\Zabbix Agent\zabbix_agentd.conf
7032:20221017:132220.452 agent #0 started [main process]
1300:20221017:132220.455 agent Forum started[listener #1]
6432:20221017:132220.456 agent #3 started[listener #2]
4164:20221017:132220.460 agent Home started [collector]
7328:20221017:132220.461 agent #4 started[listener #3]
6432:20221017:133843.325 failed to accept an incoming connection: from 11.11.11.11: unencrypted connections are not allowed
7328:20221017:140313.440 failed to accept an incoming connection: from 11.11.11.11: unencrypted connections are not allowed
I even tried to set debug level to 5 and all i got was the two linies before and after the failed to accept linie.
3040:20221017:124939.775 In collect_perfstat()
3040:20221017:124939.780 End of collect_perfstat()
3064:20221017:124939.936 failed to accept an incoming connection: from 11.11.11.11: unencrypted connections are not allowed
3040:20221017:124940.790 In collect_perfstat()
3040:20221017:124940.796 End of collect_perfstat()
Any HELP would be greatly appreciated!!!
Best regards
Tony
Ps. First time Zabbix setup, so be gentle... plz


Comment