Hi Zabbix Community,
I’m currently facing an issue with all of my Zabbix agents where the status shows as "Unknown", while the Active checks are marked as "Available". Here’s the setup and what I’ve tried so far:
Setup:
Here are the relevant parts of the agent’s configuration (/etc/zabbix/zabbix_agentd.conf):
Server=<proxy_IP>
ServerActive=<proxy_IP>
TLSConnect=psk
TLSAccept=psk
TLSPSKIdentity="my-psk-identity"
TLSPSKFile=/path/to/psk.key
Proxy Configuration:
The agent is configured correctly in the Zabbix frontend with the appropriate IP address and port.
Questions:
Any advice or suggestions are greatly appreciated!
Thank you!
I’m currently facing an issue with all of my Zabbix agents where the status shows as "Unknown", while the Active checks are marked as "Available". Here’s the setup and what I’ve tried so far:
Setup:
- Zabbix agent is running on host 172.17.8.76, communicating with a Zabbix proxy.
- The proxy and agent are configured to use PSK encryption.
- Zabbix agent version is 7.0.3 (compiled with OpenSSL 1.1.1k FIPS).
- The agent’s interface in Zabbix is set to 172.17.8.76:10050.
- In the Zabbix frontend, the agent’s status is shown as "Unknown", which typically means the proxy/server has not received any data from the agent.
- However, Active checks show as "Available", indicating the agent can communicate with the proxy/server in active mode.
- Passive checks are not working, and the status remains "Unknown".
- Agent Logs: I checked the Zabbix agent logs (/var/log/zabbix/zabbix_agentd.log) and didn't find any critical errors related to the communication with the proxy.
- Proxy Logs: I reviewed the proxy logs (/var/log/zabbix/zabbix_proxy.log), but I haven't found any relevant errors that might explain the issue.
- PSK Configuration: Both the agent and proxy are configured to use PSK. I verified that the PSK identity and key match between the agent’s configuration and what’s set up in the Zabbix frontend.
- Connectivity: Using telnet and nc, I confirmed that the proxy can reach the agent on port 10050, and the agent can reach the proxy on port 10051.
- Firewall: The firewall rules on both the agent and the proxy allow communication on the required ports.
Here are the relevant parts of the agent’s configuration (/etc/zabbix/zabbix_agentd.conf):
Server=<proxy_IP>
ServerActive=<proxy_IP>
TLSConnect=psk
TLSAccept=psk
TLSPSKIdentity="my-psk-identity"
TLSPSKFile=/path/to/psk.key
Proxy Configuration:
The agent is configured correctly in the Zabbix frontend with the appropriate IP address and port.
Questions:
- What could be causing the "Unknown" status while active checks are "Available"?
- Are there any other logs or specific debugging steps I can follow to trace the issue with passive checks?
- Could this be related to the PSK setup or some issue in the communication between the agent and proxy in passive mode?
Any advice or suggestions are greatly appreciated!
Thank you!
Comment