| Linux hosting5.siteguarding.com 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64 Path : /etc/zabbix/zabbix_agent2.d/ |
| Current File : //etc/zabbix/zabbix_agent2.d/userparameter_network_ping.conf |
UserParameter=network.ping[*],/bin/ping -c $2 -W 1 -q -n $1 &> /dev/null && echo 1 || echo 0 UserParameter=network.ping.loss[*],/bin/ping -c $2 -W 1 -q -n $1 | grep -oP '[0-9]+% packet loss' | cut -d'%' -f1