diff options
author | Federico Ceratto <federico.ceratto@gmail.com> | 2016-11-23 15:49:10 +0000 |
---|---|---|
committer | Federico Ceratto <federico.ceratto@gmail.com> | 2016-11-23 15:49:10 +0000 |
commit | 87649cf32bd0e14d5a903fb85b01e9f41a253540 (patch) | |
tree | bbefda6dac074aeb87529592e8e5064f69cbe024 /node.d/sma_webbox.node.js | |
parent | Imported Upstream version 1.3.0+dfsg (diff) | |
download | netdata-87649cf32bd0e14d5a903fb85b01e9f41a253540.tar.xz netdata-87649cf32bd0e14d5a903fb85b01e9f41a253540.zip |
New upstream version 1.4.0+dfsgupstream/1.4.0+dfsg
Diffstat (limited to 'node.d/sma_webbox.node.js')
-rw-r--r-- | node.d/sma_webbox.node.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/node.d/sma_webbox.node.js b/node.d/sma_webbox.node.js index a6ce1205..3dd17a5c 100644 --- a/node.d/sma_webbox.node.js +++ b/node.d/sma_webbox.node.js @@ -74,7 +74,7 @@ var webbox = { // Grid Current Power Chart if(d['GriPwr'].value !== null) { - var id = 'sma_webbox_' + service.name + '.current'; + var id = 'smawebbox_' + service.name + '.current'; var chart = webbox.charts[id]; if(typeof chart === 'undefined') { @@ -84,7 +84,7 @@ var webbox = { title: service.name + ' Current Grid Power', // the title of the chart units: d['GriPwr'].unit, // the units of the chart dimensions family: 'now', // the family of the chart - context: 'sma_webbox.grid.power', // the context of the chart + context: 'smawebbox.grid_power', // the context of the chart type: netdata.chartTypes.area, // the type of the chart priority: webbox.base_priority + 1, // the priority relative to others in the same family update_every: service.update_every, // the expected update frequency of the chart @@ -110,7 +110,7 @@ var webbox = { } if(d['GriEgyTdy'].value !== null) { - var id = 'sma_webbox_' + service.name + '.today'; + var id = 'smawebbox_' + service.name + '.today'; var chart = webbox.charts[id]; if(typeof chart === 'undefined') { @@ -120,7 +120,7 @@ var webbox = { title: service.name + ' Today Grid Power', // the title of the chart units: d['GriEgyTdy'].unit, // the units of the chart dimensions family: 'today', // the family of the chart - context: 'sma_webbox.grid.power.today', // the context of the chart + context: 'smawebbox.grid_power_today', // the context of the chart type: netdata.chartTypes.area, // the type of the chart priority: webbox.base_priority + 2, // the priority relative to others in the same family update_every: service.update_every, // the expected update frequency of the chart @@ -146,7 +146,7 @@ var webbox = { } if(d['GriEgyTot'].value !== null) { - var id = 'sma_webbox_' + service.name + '.total'; + var id = 'smawebbox_' + service.name + '.total'; var chart = webbox.charts[id]; if(typeof chart === 'undefined') { @@ -156,7 +156,7 @@ var webbox = { title: service.name + ' Total Grid Power', // the title of the chart units: d['GriEgyTot'].unit, // the units of the chart dimensions family: 'total', // the family of the chart - context: 'sma_webbox.grid.power.total', // the context of the chart + context: 'smawebbox.grid_power_total', // the context of the chart type: netdata.chartTypes.area, // the type of the chart priority: webbox.base_priority + 3, // the priority relative to others in the same family update_every: service.update_every, // the expected update frequency of the chart |