I installed Zabbix 7.2, but when I tried to access the ICMP template (ping, packet loss, and latency), I saw that it wasn't in the system. Is there any other way I can use it or import it? If so, please send it.
Ad Widget
Collapse
template icmp
Collapse
This topic has been answered.
X
X
-
Tags: None
-
Answer selected by [email protected] at 28-10-2024, 16:11.
It means that your Zabbix host does not have Fping installed.
Zabbix relies on Fping for ICMP checks.
So, you could try to download it, something like "apt install fping" (depending on your distro).- Selected Answer
-
You can download it from here: Source of 00template_module_icmp_ping.yaml - Zabbix - ZABBIX GIT
Save the file, go to Data Collection > Template > Import (on the top right corner)Comment
-
-
Comment
-
It means that your Zabbix host does not have Fping installed.
Zabbix relies on Fping for ICMP checks.
So, you could try to download it, something like "apt install fping" (depending on your distro).- Selected Answer
Comment
-
Steps to Solve the Issue- Checked the Path of fping and fping6: On Ubuntu, both fping and fping6 were located in /usr/bin, while Zabbix was looking for them in /usr/sbin. I verified this with:
bash
which fping which fping6
- Created Symbolic Links to the Paths Expected by Zabbix: To ensure Zabbix could find them, I created symbolic links in /usr/sbin:
bash
sudo ln -s /usr/bin/fping /usr/sbin/fping sudo ln -s /usr/bin/fping6 /usr/sbin/fping6
- Adjusted Permissions for Zabbix: I also adjusted the execution permissions to ensure Zabbix could use fping and fping6:
bash
sudo chmod +s /usr/bin/fping sudo chmod +s /usr/bin/fping6
- Restarted the Zabbix Server and Agent: After these changes, I restarted the Zabbix services to apply the updates:
bash
sudo systemctl restart zabbix-server sudo systemctl restart zabbix-agent
👍 1Comment
- Checked the Path of fping and fping6: On Ubuntu, both fping and fping6 were located in /usr/bin, while Zabbix was looking for them in /usr/sbin. I verified this with:
-
I see. That's good.
For systems where Fping's path is different, Zabbix Server has the FpingLocation and Fping6Location parameters where you can especify the Fping binary path.
You can have either way.Comment
Comment