Skip to content

collectors PingCollector

Rob Smith edited this page Oct 29, 2012 · 17 revisions

PingCollector

Collect icmp round trip times Only valid for ipv4 hosts currently

Dependencies

  • ping

Configuration

Configuration is done by adding in extra keys like this

  • target_1 - example.org
  • target_fw - 192.168.0.1
  • target_localhost - localhost

We extract out the key after target_ and use it in the graphite node we push.

Options - Generic Options

Setting Default Description Type
bin /bin/ping The path to the ping binary str
sudo_cmd /usr/bin/sudo Path to sudo str
use_sudo False Use sudo? bool
enabled False Enable collecting these metrics bool
byte_unit byte Default numeric output(s) str

Example Output

servers.hostname.ping.localhost 11
Clone this wiki locally