Ad Widget

Collapse

template icmp

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • suporte@netservbrasil.com
    Junior Member
    • Oct 2024
    • 7

    #1

    template icmp

    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.
    Attached Files
  • Answer selected by [email protected] at 28-10-2024, 16:11.
    markfree
    Senior Member
    • Apr 2019
    • 868

    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).

    Comment

    • galavichid
      Member
      • Mar 2021
      • 40

      #2
      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

      • suporte@netservbrasil.com
        Junior Member
        • Oct 2024
        • 7

        #3
        thanks my friend,
        it worked.

        Comment

        • suporte@netservbrasil.com
          Junior Member
          • Oct 2024
          • 7

          #4
          hello
          I imported it, but this message from the print is appearing now.
          Do you know what it could be?
          Attached Files

          Comment

          • markfree
            Senior Member
            • Apr 2019
            • 868

            #5
            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).

            Comment

            • suporte@netservbrasil.com
              Junior Member
              • Oct 2024
              • 7

              #6
              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

              Comment

              • markfree
                Senior Member
                • Apr 2019
                • 868

                #7
                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

                Working...