# host - ping a host

Check a host is pingable.

Tip

This monitor relies on executing the `ping` command provided by your OS. It has known issues on non-English locales on Windows. You should use the ping monitor instead. The only reason to use this one is that it does not require SimpleMonitor to run as root.

host
  Type:

    string

  Required:

    true

  the hostname/IP to ping

ping_regexp
  Type:

    regexp

  Required:

    false

  Default:

    automatic

  the regexp which matches a successful ping. You may need to set this to use this monitor in a non-English locale.

time_regexp
  Type:

    regexp

  Required:

    false

  Default:

    automatic

  the regexp which matches the ping time in the output. Must set a match group named `ms`. You may need to set this as above.

count
  Type:

    int

  Required:

    false

  Default:

    `1`

  the number of pings to send