Hi, can we change the number of packets who are send by the icmp ping template in zabbix 5 ?
Ad Widget
Collapse
Change the number of packets send in icmp ping template
Collapse
X
-
read documentation!
icmpping[<target>,<packets>,<interval>,<size>,<timeout>]Host accessibility by ICMP ping. 0 - ICMP ping fails
1 - ICMP ping successfultarget - host IP or DNSname
packets - number of packets
interval - time between successive packets in milliseconds
size - packet size in bytes
timeout - timeout in millisecondsExample:
⇒ icmpping[,4] → if at least one packet of the four is returned, the item will return 1.
See also: table of default values.Last edited by Hamardaban; 04-05-2021, 11:51. -
I read it and i saw the command: icmpping[<target>,<packets>,<interval>,<size>,<timeout>]
but i work with icmp ping template like i show you with the two screenshots of my previous message and i don't touch anything in this template i just wan't to know if i can change something like the Key field ?👍 1Comment
-
In your second picture in the 3rd field down is where you would put that command. Change 'icmpping' to something like 'icmpping[8.8.4.4,1,2000,32,2000]'.
But it doesn't seem like you can modify that field in the default item for this.
Instead you can create a new item.
Click on your host, then on items and then Create item in the top right.
Give it a name.
Change type to Simple Check.
Change Type of information to Numeric(float)
In the 3rd field down named 'Key', enter the command icmpping[<target>,<packets>,<interval>,<size>,<timeout>,<op tions>]
but change the fields to the values you want, like icmpping[8.8.4.4,1,2000,32,2000]
Comment
Comment