Collect icmp round trip times Only valid for ipv4 hosts currently


  • ping


Configuration is done by:

Create a file named: PingCollector.conf in the collectors_config_path

  • enabled = true
  • interval = 60
  • target_1 =
  • target_fw =
  • target_localhost = localhost

Test your configuration using the following command:

diamond-setup --print -C PingCollector

You should get a response back that indicates 'enabled': True and see entries for your targets in pairs like:

'target_1': ''

The graphite nodes pushed are derived from the pinged hostnames by replacing all dots with underscores, i.e. '' becomes 'www_example_org'.


Setting Default Description Type
bin /bin/ping The path to the ping binary str
byte_unit byte Default numeric output(s) str
enabled False Enable collecting these metrics bool
measure_collector_time False Collect the collector run time in ms bool
metrics_blacklist None Regex to match metrics to block. Mutually exclusive with metrics_whitelist NoneType
metrics_whitelist None Regex to match metrics to transmit. Mutually exclusive with metrics_blacklist NoneType
sudo_cmd /usr/bin/sudo Path to sudo str
use_sudo False Use sudo? bool

Example Output 16 11 23