
# ICMP Ping

### Macros used

|Name|Description|Default|
|----|-----------|-------|
|{$ICMP_LOSS_WARN}|
Warning threshold of ICMP packet loss in %.
|`20`|
|{$ICMP_RESPONSE_TIME_WARN}|
Warning threshold of the average ICMP response time in seconds.
|`0.15`|

### Items

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|ICMP ping|
The host accessibility by ICMP ping.

0 - ICMP ping fails;

1 - ICMP ping successful.
|Simple check|icmpping|
|ICMP loss|
The percentage of lost packets.
|Simple check|icmppingloss|
|ICMP response time|
The ICMP ping response time (in seconds).
|Simple check|icmppingsec|

### Triggers

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|ICMP Ping: Unavailable by ICMP ping|
Last three attempts returned timeout. Please check device connectivity.
|`max(/ICMP Ping/icmpping,#3)=0`|High||
|ICMP Ping: High ICMP ping loss|
ICMP packets loss detected.
|`min(/ICMP Ping/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/ICMP Ping/icmppingloss,5m)<100`|Warning|**Depends on**:

- ICMP Ping: Unavailable by ICMP ping
|
|ICMP Ping: High ICMP ping response time|
Average ICMP response time is too high.
|`avg(/ICMP Ping/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}`|Warning|**Depends on**:

- ICMP Ping: High ICMP ping loss
- ICMP Ping: Unavailable by ICMP ping
|

## Feedback

Please report any issues with the template at [`https://support.zabbix.com`](https://support.zabbix.com)

You can also provide feedback, discuss the template, or ask for help at [`ZABBIX forums`](https://www.zabbix.com/forum/zabbix-suggestions-and-feedback)

