Troubleshooting Connection Issues with Zabbix Agent
Issue Analysis for Zabbix Agent Connection Problem
Observations:
- Ping test to Zabbix actor: Successful.
- Telnet Connection Check to Zabbix service on port
10050: Successful, implying no issues with the agent machine.
Testing Data Retrieval from Zabbix Agent:
Execute the following command on the server:
zabbix_get -s 1.1.1.1 -p 10050 -k "system.cpu.load[all,avg1]"
The data retrieval is successful.
Process Status:
Checked the zabbix_agentd process on the agent machine. It is functioning as epxected.
Host Configuration Inspection:
Upon examining the Zabbix-web configuration for the corresponding Host, DNS-related misconfiguration was discovered. Specificallly, the host uses SLB (server load balancer) servicce, but port 10050 was found to be closed.
Resolution:
Enable port 10050 in the SLB. After completing this adjustment, the issue with retrieving data from the Zabbix agent was resolved successfuly.