ping - Plugin to monitor ping times
ping_args - Arguments to ping (default "-c 2 -w 1") ping_args2 - Arguments after the host name (required for Solaris) ping - Ping program to use ping6 - Ping program to use with IPv6 hosts - List of comma-separated hosts to ping (IPv4/6 address or FQDN) You can prepend host name with: 'A:' - to resolve all IPv4 addresses and create an entry per address (requires 'host' program) 'AAAA:' - the same for IPv6 (requires 'host' program) '6:' - do not try to resolve, but use ping6 for this host names - Friendly display name of each host given in the "hosts" parameter (comma-separated list). If not set, "hosts" elements will be used fork - If set to non-zero, fork each ping into parallel process to ping asynchronously
[ping*] env.hosts mail.example.org,6:www.example.org,AAAA:search.example.org env.names Mail,Web,Search env.fork yes
Configuration example for Solaris
[ping*] env.host www.example.org mail.example.org env.ping_args -s env.ping_args2 56 2
You can also append '_packetloss' to the plugin filename for packet loss statistics.
Original Perl script Copyright (C) 2008 Thomas Gutzler (email@example.com) Original Shell script Copyright (C) 2004 Jimmy Olsen
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Hey! The above document had some coding errors, which are explained below:
=cut found outside a pod block. Skipping to next block.