Zabbix Troubleshooting Tips5 min read
Zabbix is an open source network monitoring tools. Many organization used network monitoring tools Zabbix. But some times you have faces many problem using Zabbix server. So now I am have to show some error fix.
★ Send Mail Notification From Zabbix Server Using Gmail
★ How To Add Windows Host In Zabbix Server
★ Install Zabbix Agent Into Windows
Error #01: E: Unable to locate package zabbix-agent
You can install Zabbix agent then show error message.
Example :
root@Zabbix-Client:~# apt-get install zabbix-agent Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package zabbix-agent
Solution :#i: Download Zabbix deb package from cdn.
root@Zabbix-Client:~# wget http://repo.zabbix.com/zabbix/2.0/debian/pool/main/z/zabbix-release/zabbix-release_2.0-1wheezy_all.deb
root@Zabbix-Client:~# dpkg -i zabbix-release_2.0-1wheezy_all.deb
root@Zabbix-Client:~# apt-get update
Then configure Zabbix agent on ubuntu.
Solution :#ii: Edit your client machine name server, as local and google name server. Open resolve.conf file on the location /etc then insert public name server.
Insert below lines such as 20.11.20.1 is my local dns server and 8.8.8.8 google public dns.
nameserver 8.8.8.8 nameserver 20.11.20.1
Now again install Zabbix agent on your client machine.
root@Zabbix-client:~# apt-get install zabbix-agent
Error #02: Get value from agent failed: cannot connect to [[20.11.20.10]:10050]: [111] Connection refused
Solution :#i: At first install Zabbix agent on your client machine.
For windows Install Zabbix Agent Into Windows
For Linux How to Install And Configure Zabbix Agent on Ubuntu
Then stop firewall service disable windows firewall. Another linux server ufw disable or selinux disable.
Error #03: Get value from agent failed: cannot connect to [[20.11.20.10]:10050]: [4] Interrupted system call
Solution :#i:
For windows Install Zabbix Agent Into Windows
For Linux How to Install And Configure Zabbix Agent on Ubuntu
Then stop firewall service disable windows firewall. Another linux server ufw disable or selinux disable.
Error #04: Received empty response from Zabbix Agent at [20.11.20.10]. Assuming that agent dropped connection because of access permissions
When using NAT then see error 04.
Solution :#i: Block any local IP then add Server address and block address. Goto your Zabbix Server check agent log command below.
root@Zabbix-Server:~# tail -f /var/log/zabbix-agent/zabbix_agentd.log
Then as like below error
failed to accept an incoming connection: connection from "20.11.10.1" rejected, allowed hosts: "20.11.10.10,20.11.10.1"
Zabbix Server IP = 20.11.10.10
Router Gateway IP = 20.11.10.1
Zabbix Client IP = 20.11.20.10
Goto Zabbix server and open zabbix agent conf file
root@Zabbix-Server:~# vi /etc/zabbix/zabbix_agentd.conf
Then insert your router gateway IP as like below example.
Server=20.11.10.10,20.11.10.1
systemctl stop zabbix-agent (CentOS Zabbix Agent Stop command)
systemctl start zabbix-agent (CentOS Zabbix Agent Stop command)
service zabbix-agent restart (Ubuntu Zabbix Agent restart command)
Error #05: Get value from agent failed: ZBX_TCP_READ() timed out
Solution :#i:
Your Zabbix agent maybe stop or firewall is on. Check your client machine Zabbix agent and firewall must be disable.
Error #06: Get value from agent failed: cannot connect to [[X.X.X.X]:10050]: [4] Interrupted system call
Solution :#i:
Your client machine maybe shutdown or reboot.
Another tips when your client machine is shutting down or reboot then get mail alert.
Send Mail Notification From Zabbix Server Using Gmail
You can see more video my YouTube channel.
- How To Install Zabbix Server 6.4 On AlmaLinux 8 Server - August 9, 2024
- How To Clear RAM Memory Cache Buffer Linux Server - February 29, 2024
- How To Install Apache Cloud Stack Management Server 4.17 On Ubuntu 22.04 - February 1, 2024
We really appreciate for your support for buying me a coffee.
It takes us a while to compose and upload new content, as they have to be checked to see if Properly works. We appreciate you if you help me for one cup of coffee to keep us awake and always deliver good quality content.
No contribution is small of an amount. We are grateful for any amount you support us with. Thank you!