2018-11-06 22:56:44 +00:00
{
"id" : "13863734-d579-4834-9ac1-b01c10398970" ,
"meta" : {
"name" : "Ping" ,
"measurements" : [ "ping" ] ,
2018-11-10 01:21:38 +00:00
"version" : "1.1" ,
2018-11-06 22:56:44 +00:00
"dashboardVersion" : "1.x" ,
"description" : "Dashboard for the telegraf input plug-in: Ping" ,
"author" : "influxdata" ,
"license" : "MIT" ,
"icon" : "" ,
"url" : "https://github.com/influxdata/telegraf/tree/master/plugins/inputs/ping"
} ,
"data" : {
"cells" : [
{
"w" : 4 ,
"h" : 4 ,
"name" : "Ping – Packet Loss Percent" ,
"queries" : [
{
2018-11-10 01:21:38 +00:00
"query" : "SELECT max(\"percent_packet_loss\") AS \"packet_loss\" FROM \":db:\".\":rp:\".\"ping\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"url\"" ,
2018-11-06 22:56:44 +00:00
"groupbys" : [ "\"url\"" ]
}
] ,
"type" : "line" ,
"axes" : {
"x" : {
"prefix" : "" ,
"suffix" : "" ,
"base" : "10" ,
"scale" : "linear" ,
"label" : "" ,
"bounds" : [ "" , "" ]
} ,
"y" : {
"prefix" : "" ,
"suffix" : "" ,
"base" : "10" ,
"scale" : "linear" ,
"label" : "" ,
"bounds" : [ "" , "" ]
} ,
"y2" : {
"prefix" : "" ,
"suffix" : "" ,
"base" : "10" ,
"scale" : "linear" ,
"label" : "" ,
"bounds" : [ "" , "" ]
}
}
} ,
{
"w" : 4 ,
"h" : 4 ,
"name" : "Ping – Response Times (ms)" ,
"queries" : [
{
2018-11-10 01:21:38 +00:00
"query" : "SELECT mean(\"average_response_ms\") AS \"average\", mean(\"minimum_response_ms\") AS \"min\", mean(\"maximum_response_ms\") AS \"max\" FROM \":db:\".\":rp:\".\"ping\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"url\"" ,
2018-11-06 22:56:44 +00:00
"groupbys" : [ "\"url\"" ]
}
] ,
"type" : "line" ,
"axes" : {
"x" : {
"prefix" : "" ,
"suffix" : "" ,
"base" : "10" ,
"scale" : "linear" ,
"label" : "" ,
"bounds" : [ "" , "" ]
} ,
"y" : {
"prefix" : "" ,
"suffix" : "" ,
"base" : "10" ,
"scale" : "linear" ,
"label" : "" ,
"bounds" : [ "" , "" ]
} ,
"y2" : {
"prefix" : "" ,
"suffix" : "" ,
"base" : "10" ,
"scale" : "linear" ,
"label" : "" ,
"bounds" : [ "" , "" ]
}
}
}
] ,
"templates" : [
{
"tempVar" : ":host:" ,
"id" : "" ,
"type" : "tagValues" ,
"label" : "" ,
"values" : [ ] ,
"query" : {
"influxql" : "SHOW TAG VALUES ON :database: FROM :measurement: WITH KEY=:tagKey:" ,
"db" : "telegraf" ,
"measurement" : "ping" ,
"tagKey" : "host" ,
"fieldKey" : ""
}
}
]
}
}