NAME

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

VERSION

version 0.2.5

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.