Grafana dashboard: Linux OS Breakdown (DEV and PROD)
Description: Nice capture of your Linux Estate

You will need two SQL Databases (one called LinuxDEV and one called LinuxPROD).   the Tables in each DB will need all OS Information (ex. Kernel, OS Versions. Hostname) to it can be pulled from SQL and put into PIE. 

{
  "__inputs": [
    {
      "name": "DS_MYSQL",
      "label": "MySQL",
      "description": "",
      "type": "datasource",
      "pluginId": "mysql",
      "pluginName": "MySQL"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "5.4.3"
    },
    {
      "type": "panel",
      "id": "grafana-piechart-panel",
      "name": "Pie Chart",
      "version": "1.3.6"
    },
    {
      "type": "datasource",
      "id": "mysql",
      "name": "MySQL",
      "version": "5.0.0"
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": "5.0.0"
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 10027,
  "graphTooltip": 0,
  "id": null,
  "links": [],
  "panels": [
    {
      "aliasColors": {},
      "breakPoint": "50%",
      "cacheTimeout": null,
      "combine": {
        "label": "Others",
        "threshold": 0
      },
      "datasource": "${DS_MYSQL}",
      "fontSize": "80%",
      "format": "short",
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 0,
        "y": 0
      },
      "id": 2,
      "interval": null,
      "legend": {
        "percentage": true,
        "show": true,
        "values": true
      },
      "legendType": "Right side",
      "links": [],
      "maxDataPoints": 3,
      "nullPointMode": "connected",
      "pieType": "pie",
      "strokeWidth": 1,
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "metricColumn": "OS Version",
          "orderByTime": "ASC",
          "policy": "default",
          "rawQuery": true,
          "rawSql": "SELECT\n  NOW() as time_sec,\n  pie.cnt as value,\n  CONVERT(pie.category, char) as metric\nFROM (\n  SELECT \n    `OS Version` as category, \n    count(*) AS cnt\n  FROM `LinuxDEV`\n  GROUP BY `OS Version`\n) as pie\nGROUP BY pie.category\n",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            []
          ],
          "table": "LinuxDEV",
          "tags": [],
          "timeColumn": "time",
          "where": [
            {
              "name": "",
              "params": [
                "value",
                "=",
                "value"
              ],
              "type": "expression"
            }
          ]
        }
      ],
      "title": "LINUX DEV",
      "type": "grafana-piechart-panel",
      "valueName": "current"
    },
    {
      "aliasColors": {},
      "breakPoint": "50%",
      "cacheTimeout": null,
      "combine": {
        "label": "Others",
        "threshold": 0
      },
      "datasource": "${DS_MYSQL}",
      "fontSize": "80%",
      "format": "short",
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 8,
        "y": 0
      },
      "id": 4,
      "interval": null,
      "legend": {
        "percentage": true,
        "show": true,
        "values": true
      },
      "legendType": "Right side",
      "links": [],
      "maxDataPoints": 3,
      "nullPointMode": "connected",
      "pieType": "pie",
      "strokeWidth": 1,
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "metricColumn": "OS Version",
          "orderByTime": "ASC",
          "policy": "default",
          "rawQuery": true,
          "rawSql": "SELECT\n  NOW() as time_sec,\n  pie.cnt as value,\n  CONVERT(pie.category, char) as metric\nFROM (\n  SELECT \n    `OS Kernel` as category, \n    count(*) AS cnt\n  FROM `LinuxDEV`\n  GROUP BY `OS Kernel`\n) as pie\nGROUP BY pie.category\n",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            []
          ],
          "table": "LinuxDEV",
          "tags": [],
          "timeColumn": "time",
          "where": [
            {
              "name": "",
              "params": [
                "value",
                "=",
                "value"
              ],
              "type": "expression"
            }
          ]
        }
      ],
      "title": "LINUX DEV Kernels",
      "type": "grafana-piechart-panel",
      "valueName": "current"
    },
    {
      "aliasColors": {},
      "breakPoint": "50%",
      "cacheTimeout": null,
      "combine": {
        "label": "Others",
        "threshold": 0
      },
      "datasource": "${DS_MYSQL}",
      "fontSize": "80%",
      "format": "short",
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 16,
        "y": 0
      },
      "id": 7,
      "interval": null,
      "legend": {
        "percentage": false,
        "show": true,
        "values": true
      },
      "legendType": "Right side",
      "links": [],
      "maxDataPoints": 3,
      "nullPointMode": "connected",
      "pieType": "pie",
      "strokeWidth": 1,
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "metricColumn": "OS Version",
          "orderByTime": "ASC",
          "policy": "default",
          "rawQuery": true,
          "rawSql": "SELECT\n  NOW() as time_sec,\n  pie.cnt as value,\n  CONVERT(pie.category, char) as metric\nFROM (\n  SELECT \n    `Hostname` as category, \n    count(*) AS cnt\n  FROM `LinuxDEV`\n  GROUP BY `Hostname`\n) as pie\nGROUP BY pie.category\n",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            []
          ],
          "table": "LinuxDEV",
          "tags": [],
          "timeColumn": "time",
          "where": [
            {
              "name": "",
              "params": [
                "value",
                "=",
                "value"
              ],
              "type": "expression"
            }
          ]
        }
      ],
      "title": "LINUX DEV Hosts",
      "type": "grafana-piechart-panel",
      "valueName": "current"
    },
    {
      "aliasColors": {},
      "breakPoint": "50%",
      "cacheTimeout": null,
      "combine": {
        "label": "Others",
        "threshold": 0
      },
      "datasource": "${DS_MYSQL}",
      "fontSize": "80%",
      "format": "short",
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 0,
        "y": 7
      },
      "id": 3,
      "interval": null,
      "legend": {
        "percentage": true,
        "show": true,
        "values": true
      },
      "legendType": "Right side",
      "links": [],
      "maxDataPoints": 3,
      "nullPointMode": "connected",
      "pieType": "pie",
      "strokeWidth": 1,
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "metricColumn": "OS Version",
          "orderByTime": "ASC",
          "policy": "default",
          "rawQuery": true,
          "rawSql": "SELECT\n  NOW() as time_sec,\n  pie.cnt as value,\n  CONVERT(pie.category, char) as metric\nFROM (\n  SELECT \n    `OS Version` as category, \n    count(*) AS cnt\n  FROM `LinuxPROD`\n  GROUP BY `OS Version`\n) as pie\nGROUP BY pie.category\n",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            []
          ],
          "table": "LinuxDEV",
          "tags": [],
          "timeColumn": "time",
          "where": [
            {
              "name": "",
              "params": [
                "value",
                "=",
                "value"
              ],
              "type": "expression"
            }
          ]
        }
      ],
      "title": "LINUX PROD",
      "type": "grafana-piechart-panel",
      "valueName": "current"
    },
    {
      "aliasColors": {},
      "breakPoint": "50%",
      "cacheTimeout": null,
      "combine": {
        "label": "Others",
        "threshold": 0
      },
      "datasource": "${DS_MYSQL}",
      "fontSize": "80%",
      "format": "short",
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 8,
        "y": 7
      },
      "id": 5,
      "interval": null,
      "legend": {
        "percentage": true,
        "show": true,
        "values": true
      },
      "legendType": "Right side",
      "links": [],
      "maxDataPoints": 3,
      "nullPointMode": "connected",
      "pieType": "pie",
      "strokeWidth": 1,
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "metricColumn": "OS Version",
          "orderByTime": "ASC",
          "policy": "default",
          "rawQuery": true,
          "rawSql": "SELECT\n  NOW() as time_sec,\n  pie.cnt as value,\n  CONVERT(pie.category, char) as metric\nFROM (\n  SELECT \n    `OS Kernel` as category, \n    count(*) AS cnt\n  FROM `LinuxPROD`\n  GROUP BY `OS Kernel`\n) as pie\nGROUP BY pie.category\n",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            []
          ],
          "table": "LinuxDEV",
          "tags": [],
          "timeColumn": "time",
          "where": [
            {
              "name": "",
              "params": [
                "value",
                "=",
                "value"
              ],
              "type": "expression"
            }
          ]
        }
      ],
      "title": "LINUX PROD Kernels",
      "type": "grafana-piechart-panel",
      "valueName": "current"
    },
    {
      "aliasColors": {},
      "breakPoint": "50%",
      "cacheTimeout": null,
      "combine": {
        "label": "Others",
        "threshold": 0
      },
      "datasource": "${DS_MYSQL}",
      "fontSize": "80%",
      "format": "short",
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 16,
        "y": 7
      },
      "id": 8,
      "interval": null,
      "legend": {
        "percentage": false,
        "show": true,
        "values": true
      },
      "legendType": "Right side",
      "links": [],
      "maxDataPoints": 3,
      "nullPointMode": "connected",
      "pieType": "pie",
      "strokeWidth": 1,
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "metricColumn": "OS Version",
          "orderByTime": "ASC",
          "policy": "default",
          "rawQuery": true,
          "rawSql": "SELECT\n  NOW() as time_sec,\n  pie.cnt as value,\n  CONVERT(pie.category, char) as metric\nFROM (\n  SELECT \n    `Hostname` as category, \n    count(*) AS cnt\n  FROM `LinuxPROD`\n  GROUP BY `Hostname`\n) as pie\nGROUP BY pie.category\n",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            []
          ],
          "table": "LinuxDEV",
          "tags": [],
          "timeColumn": "time",
          "where": [
            {
              "name": "",
              "params": [
                "value",
                "=",
                "value"
              ],
              "type": "expression"
            }
          ]
        }
      ],
      "title": "LINUX PROD Hosts",
      "type": "grafana-piechart-panel",
      "valueName": "current"
    },
    {
      "columns": [],
      "datasource": "${DS_MYSQL}",
      "fontSize": "80%",
      "gridPos": {
        "h": 10,
        "w": 24,
        "x": 0,
        "y": 14
      },
      "hideTimeOverride": false,
      "id": 10,
      "links": [],
      "pageSize": 100,
      "repeat": null,
      "scroll": true,
      "showHeader": true,
      "sort": {
        "col": 0,
        "desc": true
      },
      "styles": [
        {
          "alias": "Time",
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "link": false,
          "pattern": "Time",
          "type": "date"
        },
        {
          "alias": "",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "decimals": 2,
          "pattern": "/.*/",
          "thresholds": [],
          "type": "number",
          "unit": "short"
        }
      ],
      "targets": [
        {
          "format": "table",
          "group": [],
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "metricColumn": "none",
          "orderByTime": "ASC",
          "policy": "default",
          "rawQuery": true,
          "rawSql": "select * from LinuxDEV group by `Hostname`",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [],
          "timeColumn": "time",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "title": "Full Listing DEV",
      "transform": "table",
      "type": "table"
    },
    {
      "columns": [],
      "datasource": "${DS_MYSQL}",
      "fontSize": "80%",
      "gridPos": {
        "h": 11,
        "w": 24,
        "x": 0,
        "y": 24
      },
      "hideTimeOverride": false,
      "id": 11,
      "links": [],
      "pageSize": null,
      "scroll": true,
      "showHeader": true,
      "sort": {
        "col": 0,
        "desc": true
      },
      "styles": [
        {
          "alias": "Time",
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "link": false,
          "pattern": "Time",
          "type": "date"
        },
        {
          "alias": "",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "decimals": 2,
          "pattern": "/.*/",
          "thresholds": [],
          "type": "number",
          "unit": "short"
        }
      ],
      "targets": [
        {
          "format": "table",
          "group": [],
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "metricColumn": "none",
          "orderByTime": "ASC",
          "policy": "default",
          "rawQuery": true,
          "rawSql": "select * from LinuxPROD",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [],
          "timeColumn": "time",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "title": "Full Listing PROD",
      "transform": "table",
      "type": "table"
    }
  ],
  "schemaVersion": 16,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "",
  "title": "Linux OS Breakdown (DEV and PROD)",
  "uid": "mNtXmGRWk",
  "version": 47,
  "description": "Nice capture of your Linux Estate"
}