Ad Widget

Collapse

ICMP PING Zabbix practical example

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RaulChiarella
    Member
    • Apr 2021
    • 59

    #1

    ICMP PING Zabbix practical example

    How are you all doing?

    Can someone give me a practical example of a icmpping key for Zabbix?
    I am trying to do a icmpping check using Zabbix but i am failing miserably...
    Here is the command i am trying: zabbix_get -s 127.0.0.1 -k icmpping[142.251.128.68,10,500,64,100]

    I expected a return of latency to Google Server, instead i received ZBX_NOTSUPPORTED: Unsupported item key.

    On Zabbix docs the syntax says: icmpping[<target>,<packets>,<interval>,<size>,<timeout>]

    I renamed accordingly (Command above, line 5). I also tested this using the Web Panel of Zabbix and i got the same message (Key on the host)
    Thanks in advance...
  • gofree
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2017
    • 400

    #2
    icmpping belongs to simple checks performed by zabbix proxy or zabbix server - not agent - thats why its not supported in your case

    Comment

    • RaulChiarella
      Member
      • Apr 2021
      • 59

      #3
      I see! Thanks a lot!
      I will try using the fping tool as described in the documentation you sent.

      Have a nice day!

      Comment


      • johndoe2374
        johndoe2374 commented
        Editing a comment
        Also you need to use icmppingsec, not icmpping, if you want to get the latency. Add an item to your Zabbix server with key value something like this:
        icmppingsec[google.com,3,1000,68,2000,avg]
    Working...