Check: Ping

To get this help: amcli --explain=Ping.

To add a section in your ini:

  • Execute: amcli --nocolor --explain=Ping >> example.ini.
  • edit the example.ini in a text editor and update the needed values.

Syntax of an ini section


; -----------------------------------------------------------------------------
;
; Plugin Ping
; Check if a given host can be pinged.
;
[<Your check name>]
description="A short description what will be tested"
function="Ping"


; key 'host' {string} 🔹(optional)
; Hostname to ping; default: 127.0.0.1
; example: www.example.com
; default: 127.0.0.1
params[host]=<Your value here>

; key 'timeout' {int} 🔹(optional)
; Timeout for -W parameter; in seconds (on MS Windows in milliseconds); default: 3
; example: 2
; default: 5
params[timeout]=<Your value here>