# Sample configuration file for ICMPmonitor.
################################################################################
# Each host entry requires a unique label.
# Remote host, either an IP address or fully-qualified hostname.
# Grace period for missed pings before executing 'down_cmd'.
# Command to execute when host first responds to ping after being down.
up_cmd = "echo ICMPmonitor: localhost up"
# Command to execute when host fails to respond for longer than 'max_delay'.
down_cmd = "logger -s ICMPmonitor: localhost down - how\!\?\!"
# Should ICMPmonitor consider the host to be 'down' or 'up' upon startup?
################################################################################
up_cmd = "echo example1 && echo example2" # Execute multiple commands
down_cmd = "/bin/sh /dev/null" # Call external scripts