Additional scripts for Zabbix agent on Linux to discover and monitor several services
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

6 lines
387 B

# net.icmp takes two args. The host to ping (either an IP or a host name), and one of
# * all: returns info in JSON format
# * latency: returns latency in seconds. Floating number
# * respond: returns 0 if no response where received, 1 otherwise
# * loss: returns % of packet loss. Floating number
UserParameter=net.icmp[*],/usr/bin/sudo /var/lib/zabbix/bin/check_icmp_sudo $1 --info=$2