ping — send ICMP requests

The ping check pings servers, and asserts that a response is received.

Examples

Pinging a server, passing the check if we get a response, and failing it if we do not:

[[ping]]
target = '192.168.0.1'

Pinging a server in order to make sure it does not respond:

[[ping]]
target = '192.168.1.255'
state = 'no-response'

List of parameters

parameterstructuredescription
statestringThe state of the response. This can be 'responds' or 'no-response'.
targetstringThe hostname or IP address to ping.