The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Wubot::Plugin::Ping - monitor ping response from a remote host

VERSION

version 0.2.004

SYNOPSIS

  ~/wubot/config/plugins/Ping/google.yaml.bsd-02

  ---
  host: google.com
  num_packets: 3
  delay: 5m

DESCRIPTION

Monitor the ping response time and number of packets dropped from a remote host.

The generated message will contain:

  host: remote host name/ip from configuration
  count: number of packets transmitted
  average: average ping response time
  loss: number of packets that were lost

If all packets were lost, the message will contain a subject field that contains the text:

  Unable to ping host {$host}

SUBROUTINES/METHODS

check( $inputs )

The standard monitor check() method.