Adjusting partition capacity graph to show all partitions % used rather than just / in a stacked graph.

+ Move install/group_vars/all to install/group_vars/all.yml

Change-Id: I168210b9b20a89267f65c96cc4848d366988cb1f
This commit is contained in:
Alex Krzos 2016-05-07 19:32:44 -04:00
parent 99b247fa3e
commit 5ef39f88dd
9 changed files with 71 additions and 127 deletions

View File

@ -1250,11 +1250,11 @@
"datasource": null,
"editable": true,
"error": false,
"fill": 1,
"fill": 0,
"grid": {
"leftLogBase": 1,
"leftMax": null,
"leftMin": null,
"leftMax": 100,
"leftMin": 0,
"rightLogBase": 1,
"rightMax": null,
"rightMin": null,
@ -1263,7 +1263,7 @@
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
{% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %}
{% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %}
"id": {{vars.panel_idx}},
"isNew": true,
"legend": {
@ -1280,7 +1280,7 @@
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
@ -1292,25 +1292,18 @@
}
],
"span": 12,
"stack": true,
"stack": false,
"steppedLine": false,
"targets": [
{
"refId": "A",
"target": "alias($Cloud.$Node.df-root.percent_bytes-reserved, 'Reserved')"
},
{
"refId": "B",
"target": "alias($Cloud.$Node.df-root.percent_bytes-used, 'Used')"
},
{
"refId": "C",
"target": "alias($Cloud.$Node.df-root.percent_bytes-free, 'Free')"
"target": "aliasByNode(aliasSub($Cloud.$Node.df-*.percent_bytes-used, 'df-', ''), 2)",
"textEditor": false
}
],
"timeFrom": null,
"timeShift": null,
"title": "$Cloud - $Node - / Partition Capacity",
"title": "$Cloud - $Node - Partition % Used",
"tooltip": {
"shared": true,
"value_type": "individual"

View File

@ -1135,11 +1135,11 @@
"datasource": null,
"editable": true,
"error": false,
"fill": 1,
"fill": 0,
"grid": {
"leftLogBase": 1,
"leftMax": null,
"leftMin": null,
"leftMax": 100,
"leftMin": 0,
"rightLogBase": 1,
"rightMax": null,
"rightMin": null,
@ -1148,7 +1148,7 @@
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
{% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %}
{% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %}
"id": {{vars.panel_idx}},
"isNew": true,
"legend": {
@ -1165,7 +1165,7 @@
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
@ -1177,25 +1177,18 @@
}
],
"span": 12,
"stack": true,
"stack": false,
"steppedLine": false,
"targets": [
{
"refId": "A",
"target": "alias($Cloud.$Node.df-root.percent_bytes-reserved, 'Reserved')"
},
{
"refId": "B",
"target": "alias($Cloud.$Node.df-root.percent_bytes-used, 'Used')"
},
{
"refId": "C",
"target": "alias($Cloud.$Node.df-root.percent_bytes-free, 'Free')"
"target": "aliasByNode(aliasSub($Cloud.$Node.df-*.percent_bytes-used, 'df-', ''), 2)",
"textEditor": false
}
],
"timeFrom": null,
"timeShift": null,
"title": "$Cloud - $Node - / Partition Capacity",
"title": "$Cloud - $Node - Partition % Used",
"tooltip": {
"shared": true,
"value_type": "individual"

View File

@ -1135,11 +1135,11 @@
"datasource": null,
"editable": true,
"error": false,
"fill": 1,
"fill": 0,
"grid": {
"leftLogBase": 1,
"leftMax": null,
"leftMin": null,
"leftMax": 100,
"leftMin": 0,
"rightLogBase": 1,
"rightMax": null,
"rightMin": null,
@ -1148,7 +1148,7 @@
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
{% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %}
{% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %}
"id": {{vars.panel_idx}},
"isNew": true,
"legend": {
@ -1165,7 +1165,7 @@
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
@ -1177,25 +1177,18 @@
}
],
"span": 12,
"stack": true,
"stack": false,
"steppedLine": false,
"targets": [
{
"refId": "A",
"target": "alias($Cloud.$Node.df-root.percent_bytes-reserved, 'Reserved')"
},
{
"refId": "B",
"target": "alias($Cloud.$Node.df-root.percent_bytes-used, 'Used')"
},
{
"refId": "C",
"target": "alias($Cloud.$Node.df-root.percent_bytes-free, 'Free')"
"target": "aliasByNode(aliasSub($Cloud.$Node.df-*.percent_bytes-used, 'df-', ''), 2)",
"textEditor": false
}
],
"timeFrom": null,
"timeShift": null,
"title": "$Cloud - $Node - / Partition Capacity",
"title": "$Cloud - $Node - Partition % Used",
"tooltip": {
"shared": true,
"value_type": "individual"

View File

@ -1250,11 +1250,11 @@
"datasource": null,
"editable": true,
"error": false,
"fill": 1,
"fill": 0,
"grid": {
"leftLogBase": 1,
"leftMax": null,
"leftMin": null,
"leftMax": 100,
"leftMin": 0,
"rightLogBase": 1,
"rightMax": null,
"rightMin": null,
@ -1263,7 +1263,7 @@
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
{% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %}
{% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %}
"id": {{vars.panel_idx}},
"isNew": true,
"legend": {
@ -1280,7 +1280,7 @@
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
@ -1292,25 +1292,18 @@
}
],
"span": 12,
"stack": true,
"stack": false,
"steppedLine": false,
"targets": [
{
"refId": "A",
"target": "alias($Cloud.$Node.df-root.percent_bytes-reserved, 'Reserved')"
},
{
"refId": "B",
"target": "alias($Cloud.$Node.df-root.percent_bytes-used, 'Used')"
},
{
"refId": "C",
"target": "alias($Cloud.$Node.df-root.percent_bytes-free, 'Free')"
"target": "aliasByNode(aliasSub($Cloud.$Node.df-*.percent_bytes-used, 'df-', ''), 2)",
"textEditor": false
}
],
"timeFrom": null,
"timeShift": null,
"title": "$Cloud - $Node - / Partition Capacity",
"title": "$Cloud - $Node - Partition % Used",
"tooltip": {
"shared": true,
"value_type": "individual"

View File

@ -1250,11 +1250,11 @@
"datasource": null,
"editable": true,
"error": false,
"fill": 1,
"fill": 0,
"grid": {
"leftLogBase": 1,
"leftMax": null,
"leftMin": null,
"leftMax": 100,
"leftMin": 0,
"rightLogBase": 1,
"rightMax": null,
"rightMin": null,
@ -1263,7 +1263,7 @@
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
{% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %}
{% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %}
"id": {{vars.panel_idx}},
"isNew": true,
"legend": {
@ -1280,7 +1280,7 @@
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
@ -1292,25 +1292,18 @@
}
],
"span": 12,
"stack": true,
"stack": false,
"steppedLine": false,
"targets": [
{
"refId": "A",
"target": "alias($Cloud.$Node.df-root.percent_bytes-reserved, 'Reserved')"
},
{
"refId": "B",
"target": "alias($Cloud.$Node.df-root.percent_bytes-used, 'Used')"
},
{
"refId": "C",
"target": "alias($Cloud.$Node.df-root.percent_bytes-free, 'Free')"
"target": "aliasByNode(aliasSub($Cloud.$Node.df-*.percent_bytes-used, 'df-', ''), 2)",
"textEditor": false
}
],
"timeFrom": null,
"timeShift": null,
"title": "$Cloud - $Node - / Partition Capacity",
"title": "$Cloud - $Node - Partition % Used",
"tooltip": {
"shared": true,
"value_type": "individual"

View File

@ -1250,11 +1250,11 @@
"datasource": null,
"editable": true,
"error": false,
"fill": 1,
"fill": 0,
"grid": {
"leftLogBase": 1,
"leftMax": null,
"leftMin": null,
"leftMax": 100,
"leftMin": 0,
"rightLogBase": 1,
"rightMax": null,
"rightMin": null,
@ -1263,7 +1263,7 @@
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
{% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %}
{% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %}
"id": {{vars.panel_idx}},
"isNew": true,
"legend": {
@ -1280,7 +1280,7 @@
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
@ -1292,25 +1292,18 @@
}
],
"span": 12,
"stack": true,
"stack": false,
"steppedLine": false,
"targets": [
{
"refId": "A",
"target": "alias($Cloud.$Node.df-root.percent_bytes-reserved, 'Reserved')"
},
{
"refId": "B",
"target": "alias($Cloud.$Node.df-root.percent_bytes-used, 'Used')"
},
{
"refId": "C",
"target": "alias($Cloud.$Node.df-root.percent_bytes-free, 'Free')"
"target": "aliasByNode(aliasSub($Cloud.$Node.df-*.percent_bytes-used, 'df-', ''), 2)",
"textEditor": false
}
],
"timeFrom": null,
"timeShift": null,
"title": "$Cloud - $Node - / Partition Capacity",
"title": "$Cloud - $Node - Partition % Used",
"tooltip": {
"shared": true,
"value_type": "individual"

View File

@ -1250,11 +1250,11 @@
"datasource": null,
"editable": true,
"error": false,
"fill": 1,
"fill": 0,
"grid": {
"leftLogBase": 1,
"leftMax": null,
"leftMin": null,
"leftMax": 100,
"leftMin": 0,
"rightLogBase": 1,
"rightMax": null,
"rightMin": null,
@ -1263,7 +1263,7 @@
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
{% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %}
{% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %}
"id": {{vars.panel_idx}},
"isNew": true,
"legend": {
@ -1280,7 +1280,7 @@
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
@ -1292,25 +1292,18 @@
}
],
"span": 12,
"stack": true,
"stack": false,
"steppedLine": false,
"targets": [
{
"refId": "A",
"target": "alias($Cloud.$Node.df-root.percent_bytes-reserved, 'Reserved')"
},
{
"refId": "B",
"target": "alias($Cloud.$Node.df-root.percent_bytes-used, 'Used')"
},
{
"refId": "C",
"target": "alias($Cloud.$Node.df-root.percent_bytes-free, 'Free')"
"target": "aliasByNode(aliasSub($Cloud.$Node.df-*.percent_bytes-used, 'df-', ''), 2)",
"textEditor": false
}
],
"timeFrom": null,
"timeShift": null,
"title": "$Cloud - $Node - / Partition Capacity",
"title": "$Cloud - $Node - Partition % Used",
"tooltip": {
"shared": true,
"value_type": "individual"

View File

@ -1261,11 +1261,11 @@
"datasource": null,
"editable": true,
"error": false,
"fill": 1,
"fill": 0,
"grid": {
"leftLogBase": 1,
"leftMax": null,
"leftMin": null,
"leftMax": 100,
"leftMin": 0,
"rightLogBase": 1,
"rightMax": null,
"rightMin": null,
@ -1291,7 +1291,7 @@
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
@ -1303,25 +1303,18 @@
}
],
"span": 12,
"stack": true,
"stack": false,
"steppedLine": false,
"targets": [
{
"refId": "A",
"target": "alias($Cloud.$Node.df-root.percent_bytes-reserved, 'Reserved')"
},
{
"refId": "B",
"target": "alias($Cloud.$Node.df-root.percent_bytes-used, 'Used')"
},
{
"refId": "C",
"target": "alias($Cloud.$Node.df-root.percent_bytes-free, 'Free')"
"target": "aliasByNode(aliasSub($Cloud.$Node.df-*.percent_bytes-used, 'df-', ''), 2)",
"textEditor": false
}
],
"timeFrom": null,
"timeShift": null,
"title": "$Cloud - $Node - / Partition Capacity",
"title": "$Cloud - $Node - Partition % Used",
"tooltip": {
"shared": true,
"value_type": "individual"