Plugin Ping
Florian Forster edited this page Nov 26, 2023
·
1 revision
Name: | Ping plugin |
---|---|
Type: | read |
Callbacks: | config, init, read, shutdown |
Status: | supported |
FirstVersion: | 1.0 |
Copyright: | 2005–2012 Florian Forster |
License: | MIT License |
Manpage: | collectd.conf(5) |
See also: | 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"
</Plugin>