[ZBX-15382] Zabbix "unknown PSK identity" Created: 2018 Dec 28 Updated: 2019 Mar 18 Resolved: 2018 Dec 28 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G), Server (S) |
Affects Version/s: | 3.0.24 |
Fix Version/s: | 3.0.23 |
Type: | Incident report | Priority: | Critical |
Reporter: | Tien The PHAN | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Ubuntu 18.04 LTS, zabbix-frontend-php 3.4.15, zabbix-server-mysql 3.4.15, php7.0 |
Attachments: | Capture.PNG Capture.PNG Capture1.PNG Screen Shot 2018-12-28 at 2.57.19 PM.png |
Description |
Steps to reproduce: On Zabbix-client, I create a psk skylab@zabbix-client:~$ sudo sh -c "openssl rand -hex 32 > /etc/zabbix/zabbix_agentd.psk" Then I changed the configuration of zabbix
/etc/zabbix/zabbix_agentd.conf
TLSConnect=psk TLSAccept=psk TLSPSKIdentity=PSK 001 TLSPSKFile=/etc/zabbix/zabbix_agentd.psk
Next I restart zabbix agent skylab@zabbix-client:/etc/zabbix$ sudo systemctl restart zabbix-agent and here is zabbix path location skylab@zabbix-client:/etc/zabbix$ ls -lrt /etc/zabbix/
Then I input the value to zabbix front end at Configuration/ Host Host name: zabbix-client IP address: 10.10.1.91 Templates: Template OS Linux Encryption: PSK; PSK identity: PSK 001, PSK: /etc/zabbix/zabbix_agentd.psk
Click Add button and alert appears:
19682:20181228:141632.514 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not monitored
But, the PSK was generated correct. So I don't know why? Could you please help me fix it? or give me any advices for this case? Thank you so much! |
Comments |
Comment by Tien The PHAN [ 2018 Dec 28 ] |
The issue was solved. This is my mistake. I did put the value of PSK file /etc/zabbix/zabbix_agentd.psk to PSK box. |
Comment by Tien The PHAN [ 2018 Dec 28 ] |
The issue was solved. This is my mistake. I did put the value of PSK file /etc/zabbix/zabbix_agentd.psk to PSK box. |
Comment by Hung Vo [ 2019 Mar 14 ] |
Hi, Don't know why i did checked all step corrected but still get error
|
Comment by Tien The PHAN [ 2019 Mar 14 ] |
in fact, you did get an issue when you put the path of PSK file. Don't do like that, please put the content of PSK file. so, put "b9b82ded68b781b73e83801ec54e0dbd4837b4b6631e5631e58e4145a22000e1" to PSK box in zabbix fronend.
|
Comment by Hung Vo [ 2019 Mar 14 ] |
Thanks Tien The Pham, it's worked but another issue when i created dashboard still not show any data in that host
Thanks Again |
Comment by Tien The PHAN [ 2019 Mar 18 ] |
please put the screenshot. Also you need to make sure the communication between two hosts is good. |
Comment by Hung Vo [ 2019 Mar 18 ] |
Hi Tien,
Here is captured of it, i did config SNMP on all host but still not see data Thanks |