Naming or tagging ping url's

telegraf
#1

Is there a way to name/tag ping url’s in either telegraf or chronograf? A simple url/ip doesn’t make it easy for knowing what it is without some type of friendly name/identifier.

Thanks!

#2

You can add tags on a per plugin basis in Telegraf, but it would require you to split out your urls. Here is an example:

[[inputs.ping]]
  urls = ["8.8.8.8"]
  [inputs.ping.tags]
    name = "google-dns"

[[inputs.ping]]
  urls = ["208.67.222.222"]
  [inputs.ping.tags]
    name = "opendns"
ping,url=8.8.8.8,name=google-dns packets_transmitted=1i,packets_received=1i,percent_packet_loss=0,minimum_response_ms=14.195,average_response_ms=14.195,maximum_response_ms=14.195 1502308775000000000
ping,url=208.67.222.222,name=opendns packets_received=1i,percent_packet_loss=0,minimum_response_ms=13.657,average_response_ms=13.657,maximum_response_ms=13.657,packets_transmitted=1i 1502308775000000000

1 Like
#3

Awesome! Thanks for the response!