GrafanaTemplateIssue
Oct 17, 2017
Technology
I downloaded some template from grafana.net, but none of them work properly, following are the trouble-shooting of template.
- Change the data source.
View the json file, get its input field:
{
"__inputs": [
{
"name": "DS_BC-GRAPHITE",
"label": "BC-Graphite",
"description": "",
"type": "datasource",
"pluginId": "graphite",
"pluginName": "Graphite"
}
],
This means you have to define a datasource named DS_BC-GRAPHITE
, like
following:
- Change collectd’s write_graphite structure.
The item could not be displayed properly, because the definition for data listed as:
so you should have following definition in /etc/collectd.conf
:
Notice collectd.
, this means you could use collectd.*
for getting the
data.