Add windows cpu, memory and net

pull/10616/head
Chris Goller 2016-11-07 22:22:51 -06:00
parent edd0ea7dbb
commit 7b389265a7
3 changed files with 74 additions and 0 deletions

20
canned/win_cpu.json Normal file
View File

@ -0,0 +1,20 @@
{
"id": "188b7f23-648f-4c54-99f6-6a0e2e90a2fc",
"measurement": "win_cpu",
"app": "Windows Host CPU metrics",
"cells": [{
"x": 0,
"y": 0,
"w": 10,
"h": 10,
"i": "6921e19a-951e-42ef-b304-2b8b661fcc81",
"name": "Processor",
"queries": [{
"query": "select Percent_Processor_Time from win_cpu",
"db": "telegraf",
"rp": "autogen",
"groupbys": [],
"wheres": []
}]
}]
}

20
canned/win_mem.json Normal file
View File

@ -0,0 +1,20 @@
{
"id": "d795c66f-0d8a-4fc0-b7bf-2cef1d2f4519",
"measurement": "win_mem",
"app": "Windows Host memory metrics",
"cells": [{
"x": 0,
"y": 0,
"w": 10,
"h": 10,
"i": "ff51a6a0-c58c-44b8-a6ed-e35f652bb524",
"name": "Available bytes",
"queries": [{
"query": "select Available_Bytes from win_mem",
"db": "telegraf",
"rp": "autogen",
"groupbys": [],
"wheres": []
}]
}]
}

34
canned/win_net.json Normal file
View File

@ -0,0 +1,34 @@
{
"id": "d795c66f-0d8a-4fc0-b7bf-2cef1d2f4519",
"measurement": "win_net",
"app": "Windows Host network metrics",
"cells": [{
"x": 0,
"y": 0,
"w": 10,
"h": 10,
"i": "ff51a6a0-c58c-44b8-a6ed-e35f652bb524",
"name": "TX bytes/second",
"queries": [{
"query": "select Bytes_Sent_persec from win_net",
"db": "telegraf",
"rp": "autogen",
"groupbys": [],
"wheres": []
},
{
"x": 10,
"y": 0,
"w": 10,
"h": 10,
"i": "ff51a6a0-c58c-44b8-a6ed-e35f652bb524",
"name": "RX bytes/second",
"queries": [{
"query": "select Bytes_Received_persec from win_net",
"db": "telegraf",
"rp": "autogen",
"groupbys": [],
"wheres": []
}
}]
}