Difference between revisions of "Plugin:Ping"

From collectd Wiki
Jump to: navigation, search
(Updated copyright.)
(+Category:Plugins requiring privileges)
Line 30: Line 30:
[[Category:Plugins requiring privileges]]
[[Category:Version 4.9]]
[[Category:Version 4.9]]

Revision as of 00:51, 28 November 2010

Ping plugin
Type: read
Callbacks: config, init, read, shutdown
Status: supported
First version: 1.0
Copyright: 2005–2009 Florian octo Forster
License: GPLv2
Manpage: collectd.conf(5)
List of Plugins


The Ping plugin measures network latency using ICMP “echo requests”, usually known as “ping”. Network latency is measured as a round-trip time. An ICMP “echo request” is sent to a host and the time needed for its echo-reply to arrive is measured. If a reply is not received within one second, the plugin will no longer expect a reply and return. This may happen in several circumstances, e. g. the packet is lost, the host is down, a router has dismissed the packet, …

This plugin is a generic plugin, i.e. it cannot work without configuration, because there is no reasonable default behavior. Please read the Plugin ping section of the collectd.conf(5) manual page for an in-depth description of the plugin's configuration.


<Plugin "ping">
  Host "example.com"

Example graph