Grafana dashboard: Citrix Xenapp Monitoring
Description: Citrix Xenapp sessions monitoring, application usage and farm status

Collector is a powershell script scheduled in Windows server. I have uploaded it here:
https://github.com/micelshima/InfluxDB-Powershell-Module

{
  "__inputs": [
    {
      "name": "DS_MONITORING_DATASOURCE",
      "label": "Monitoring datasource",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    },
    {
      "name": "DS_REPORTING_DATASOURCE",
      "label": "Reporting datasource",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__requires": [
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "panel",
      "id": "grafana-piechart-panel",
      "name": "Pie Chart",
      "version": "1.1.4"
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "4.0.1"
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    }
  ],
  "id": null,
  "title": "Citrix Xenapp Monitoring",
  "tags": [
    "monitor",
    "sessions",
    "citrix"
  ],
  "style": "dark",
  "timezone": "browser",
  "editable": true,
  "sharedCrosshair": true,
  "hideControls": false,
  "time": {
    "from": "now-24h",
    "to": "now"
  },
  "timepicker": {
    "now": true,
    "refresh_intervals": [
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "templating": {
    "list": []
  },
  "annotations": {
    "list": []
  },
  "refresh": "15m",
  "schemaVersion": 13,
  "version": 173,
  "links": [],
  "gnetId": 1118,
  "rows": [
    {
      "title": "New row",
      "panels": [
        {
          "aliasColors": {
            "Active ICA Sessions": "#7EB26D",
            "Disconnected": "#DEDAF7",
            "Disconnected ICA Sessions": "#DEDAF7"
          },
          "bars": false,
          "datasource": "${DS_MONITORING_DATASOURCE}",
          "editable": true,
          "error": false,
          "fill": 3,
          "grid": {},
          "height": "200",
          "hideTimeOverride": false,
          "id": 1,
          "interval": ">15m",
          "legend": {
            "alignAsTable": true,
            "avg": false,
            "current": true,
            "max": true,
            "min": true,
            "rightSide": true,
            "show": true,
            "sort": "min",
            "sortDesc": false,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "Citrix Licenses",
              "fill": 0,
              "stack": false
            },
            {
              "alias": "Active ICA Sessions",
              "yaxis": 1
            },
            {
              "alias": "Active Users",
              "fill": 0,
              "stack": false
            },
            {
              "alias": "Nordex Active Users",
              "fill": 0,
              "stack": "C"
            }
          ],
          "span": 12,
          "stack": true,
          "steppedLine": false,
          "targets": [
            {
              "alias": "Active",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "citrixstatus",
              "policy": "default",
              "query": "SELECT sum(\"activesessions\") FROM \"citrixstatus\" WHERE $timeFilter GROUP BY time(15m) fill(null)",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "activesessions"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "sum"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Disconnected",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "citrixstatus",
              "policy": "default",
              "query": "SELECT sum(\"inactivesessions\") FROM \"citrixstatus\" WHERE $timeFilter GROUP BY time(15m) fill(null)",
              "refId": "B",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "inactivesessions"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "sum"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Active Users",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "15m"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "citrixstatus",
              "policy": "default",
              "query": "SELECT sum(\"citrixlicenses\") FROM \"citrixstatus\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": true,
              "refId": "C",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "citrixlicenses"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "sum"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Nordex Active Users",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "15m"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "citrixstatus",
              "policy": "default",
              "query": "SELECT sum(\"citrixlicenses\") FROM \"citrixstatus\" WHERE $timeFilter GROUP BY time(15m) fill(null)",
              "refId": "D",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "nordexlicenses"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "sum"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "ICA Sessions",
          "tooltip": {
            "msResolution": false,
            "shared": false,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        }
      ],
      "showTitle": false,
      "titleSize": "h6",
      "height": "",
      "repeat": null,
      "repeatRowId": null,
      "repeatIteration": null,
      "collapse": false
    },
    {
      "title": "CITRIX FARM HEALTH STATUS",
      "panels": [
        {
          "aliasColors": {
            "on production": "#629E51",
            "under full maintenance": "#E24D42",
            "under half maintenance": "#EF843C"
          },
          "cacheTimeout": null,
          "combine": {
            "label": "Others",
            "threshold": 0
          },
          "datasource": "${DS_MONITORING_DATASOURCE}",
          "editable": true,
          "error": false,
          "fontSize": "80%",
          "format": "short",
          "height": "180",
          "hideTimeOverride": true,
          "id": 11,
          "interval": null,
          "legend": {
            "percentage": true,
            "show": true,
            "values": false
          },
          "legendType": "Under graph",
          "links": [],
          "maxDataPoints": 3,
          "nullPointMode": "connected",
          "pieType": "donut",
          "span": 3,
          "strokeWidth": "1",
          "targets": [
            {
              "alias": "under full maintenance",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "citrixstatus",
              "policy": "default",
              "query": "SELECT count(\"maintenance\") FROM \"citrixstatus\" WHERE maintenance=2 and $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "maintenance"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "count"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "under half maintenance",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "policy": "default",
              "query": "SELECT count(\"maintenance\") FROM \"citrixstatus\" WHERE maintenance=1 and $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": true,
              "refId": "B",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "on production",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "policy": "default",
              "query": "SELECT count(\"maintenance\") FROM \"citrixstatus\" WHERE maintenance=0 and $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": true,
              "refId": "C",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "timeFrom": "15m",
          "title": "",
          "type": "grafana-piechart-panel",
          "valueName": "total"
        },
        {
          "columns": [],
          "datasource": "${DS_MONITORING_DATASOURCE}",
          "editable": true,
          "error": false,
          "fontSize": "80%",
          "height": "",
          "hideTimeOverride": true,
          "id": 4,
          "interval": ">15m",
          "links": [],
          "pageSize": 0,
          "scroll": true,
          "showHeader": true,
          "sort": {
            "col": 7,
            "desc": true
          },
          "span": 9,
          "styles": [
            {
              "dateFormat": "HH:mm",
              "pattern": "Time",
              "type": "date"
            },
            {
              "colorMode": "cell",
              "colors": [
                "rgba(88, 93, 88, 0.77)",
                "rgba(60, 180, 38, 0.98)",
                "rgba(234, 102, 48, 0.9)"
              ],
              "decimals": 0,
              "pattern": "load",
              "thresholds": [
                "100",
                "4500"
              ],
              "type": "number",
              "unit": "short"
            },
            {
              "colorMode": "cell",
              "colors": [
                "rgb(47, 187, 47)",
                "rgba(237, 129, 40, 0.89)",
                "rgba(215, 35, 35, 0.81)"
              ],
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "decimals": 0,
              "pattern": "maintenance",
              "thresholds": [
                "0.5",
                "1.5",
                "2.5"
              ],
              "type": "number",
              "unit": "short"
            },
            {
              "colorMode": "cell",
              "colors": [
                "rgba(50, 172, 45, 0.97)",
                "rgba(221, 44, 48, 0.8)",
                "rgba(219, 60, 60, 0.8)"
              ],
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "decimals": 0,
              "pattern": "sophoserr",
              "thresholds": [
                "0.5",
                "1.5"
              ],
              "type": "number",
              "unit": "short"
            },
            {
              "colorMode": "cell",
              "colors": [
                "rgba(50, 172, 45, 0.97)",
                "rgba(221, 38, 38, 0.8)",
                "rgba(245, 54, 54, 0.9)"
              ],
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "decimals": 0,
              "pattern": "pendingreboot",
              "thresholds": [
                "0.5",
                "1.5"
              ],
              "type": "number",
              "unit": "short"
            },
            {
              "colorMode": "cell",
              "colors": [
                "rgba(217, 34, 34, 0.8)",
                "rgba(237, 129, 40, 0.89)",
                "rgba(50, 172, 45, 0.97)"
              ],
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "decimals": 2,
              "pattern": "free",
              "thresholds": [
                "5",
                "10"
              ],
              "type": "number",
              "unit": "gbytes"
            }
          ],
          "targets": [
            {
              "alias": "$tag_servername",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "policy": "default",
              "query": "SELECT activesessions as active,inactivesessions as inactive,load,free,maintenance,pendingreboot,sophoserr FROM \"citrixstatus\" WHERE  $timeFilter GROUP BY \"servername\",\"missingwk\"",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "table",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "timeFrom": "15m",
          "title": "Citrix Farm status",
          "transform": "table",
          "transparent": false,
          "type": "table"
        }
      ],
      "showTitle": true,
      "titleSize": "h6",
      "height": "250px",
      "repeat": null,
      "repeatRowId": null,
      "repeatIteration": null,
      "collapse": false
    },
    {
      "title": "STATS",
      "panels": [
        {
          "aliasColors": {
            "Active ICA Sessions": "#7EB26D",
            "Disconnected": "#DEDAF7",
            "Disconnected ICA Sessions": "#DEDAF7"
          },
          "bars": false,
          "datasource": "${DS_REPORTING_DATASOURCE}",
          "editable": true,
          "error": false,
          "fill": 3,
          "grid": {},
          "height": "",
          "hideTimeOverride": false,
          "id": 5,
          "interval": ">1h",
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": false,
            "max": true,
            "min": true,
            "rightSide": false,
            "show": true,
            "sort": "min",
            "sortDesc": false,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "Active Users",
              "fill": 0,
              "stack": false
            },
            {
              "alias": "Active ICA Sessions",
              "yaxis": 1
            },
            {
              "alias": "Nordex Active Users",
              "fill": 0,
              "stack": "C"
            }
          ],
          "span": 4,
          "stack": true,
          "steppedLine": false,
          "targets": [
            {
              "alias": "Active",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "1h"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "citrixstatus",
              "policy": "default",
              "query": "SELECT sum(\"activesessions\") FROM \"citrixstatus\" WHERE $timeFilter GROUP BY time(1h) fill(null)",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "activesessions"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "sum"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Disconnected",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "1h"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "citrixstatus",
              "policy": "default",
              "query": "SELECT sum(\"inactivesessions\") FROM \"citrixstatus\" WHERE $timeFilter GROUP BY time(1h) fill(null)",
              "refId": "B",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "inactivesessions"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "sum"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Active Users",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "1h"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "citrixstatus",
              "policy": "default",
              "query": "SELECT sum(\"citrixlicenses\") FROM \"citrixstatus\" WHERE $timeFilter GROUP BY time(1h) fill(null)",
              "rawQuery": true,
              "refId": "C",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "citrixlicenses"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "sum"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Nordex Active Users",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "1h"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "citrixstatus",
              "policy": "default",
              "refId": "D",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "nordexlicenses"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "sum"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "thresholds": [],
          "timeFrom": "2w",
          "timeShift": null,
          "title": "ICA Sessions History",
          "tooltip": {
            "msResolution": false,
            "shared": false,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "aliasColors": {
            "11": "#890F02",
            "12": "#BF1B00",
            "13": "#447EBC",
            "14": "#508642",
            "n/a": "#DEDAF7",
            "others": "#DEDAF7",
            "unknown": "#DEDAF7"
          },
          "cacheTimeout": null,
          "combine": {
            "label": "Others",
            "threshold": ""
          },
          "datasource": "${DS_MONITORING_DATASOURCE}",
          "editable": true,
          "error": false,
          "fontSize": "80%",
          "format": "short",
          "height": "",
          "hideTimeOverride": true,
          "id": 10,
          "interval": ">1h",
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": false,
            "total": false,
            "values": false
          },
          "legendType": "rightSide",
          "links": [],
          "maxDataPoints": 3,
          "nullPointMode": "connected",
          "nullText": null,
          "pieType": "donut",
          "span": 2,
          "strokeWidth": "0",
          "targets": [
            {
              "alias": "$tag_app",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "app"
                  ],
                  "type": "tag"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "citrixappsnordex",
              "policy": "default",
              "query": "SELECT mean(\"count\") FROM \"citrixappsnordex\" WHERE $timeFilter GROUP BY time($interval), \"app\" fill(null)",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "count"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "timeFrom": "1h",
          "title": "NX Application Usage",
          "type": "grafana-piechart-panel",
          "valueName": "current"
        },
        {
          "aliasColors": {
            "11": "#890F02",
            "12": "#BF1B00",
            "13": "#447EBC",
            "14": "#508642",
            "n/a": "#DEDAF7",
            "others": "#DEDAF7",
            "unknown": "#DEDAF7"
          },
          "cacheTimeout": null,
          "combine": {
            "label": "Others",
            "threshold": "0.02"
          },
          "datasource": "${DS_MONITORING_DATASOURCE}",
          "editable": true,
          "error": false,
          "fontSize": "80%",
          "format": "short",
          "height": "",
          "hideTimeOverride": true,
          "id": 8,
          "interval": ">1h",
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": false,
            "total": false,
            "values": false
          },
          "legendType": "rightSide",
          "links": [],
          "maxDataPoints": 3,
          "nullPointMode": "connected",
          "nullText": null,
          "pieType": "donut",
          "span": 2,
          "strokeWidth": "0",
          "targets": [
            {
              "alias": "$tag_app",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "app"
                  ],
                  "type": "tag"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "citrixapps",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "count"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "timeFrom": "1h",
          "title": "Application Usage",
          "type": "grafana-piechart-panel",
          "valueName": "current"
        },
        {
          "aliasColors": {
            "11": "#890F02",
            "12": "#BF1B00",
            "13": "#447EBC",
            "14": "#508642",
            "LAN": "#890F02",
            "n/a": "#DEDAF7",
            "others": "#DEDAF7",
            "unknown": "#DEDAF7"
          },
          "cacheTimeout": null,
          "combine": {
            "label": "Others",
            "threshold": 0
          },
          "datasource": "${DS_MONITORING_DATASOURCE}",
          "editable": true,
          "error": false,
          "fontSize": "80%",
          "format": "short",
          "hideTimeOverride": true,
          "id": 9,
          "interval": ">1h",
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "legendType": "rightSide",
          "links": [],
          "maxDataPoints": 3,
          "nullPointMode": "connected",
          "nullText": null,
          "pieType": "donut",
          "span": 2,
          "strokeWidth": "0",
          "targets": [
            {
              "alias": "$col",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "citrixsubnets",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "lan"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  },
                  {
                    "params": [
                      "LAN"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "vpn"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  },
                  {
                    "params": [
                      "VPN"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "wan"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  },
                  {
                    "params": [
                      "WAN"
                    ],
                    "type": "alias"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "timeFrom": null,
          "title": "User Locations",
          "type": "grafana-piechart-panel",
          "valueName": "avg"
        },
        {
          "aliasColors": {
            "11": "#890F02",
            "12": "#BF1B00",
            "13": "#447EBC",
            "14": "#508642",
            "n/a": "#DEDAF7",
            "unknown": "#DEDAF7"
          },
          "cacheTimeout": null,
          "combine": {
            "label": "Others",
            "threshold": 0
          },
          "datasource": "${DS_REPORTING_DATASOURCE}",
          "editable": true,
          "error": false,
          "fontSize": "80%",
          "format": "none",
          "height": "",
          "id": 7,
          "interval": ">1d",
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "legendType": "Under graph",
          "links": [],
          "maxDataPoints": 3,
          "nullPointMode": "connected",
          "nullText": null,
          "pieType": "donut",
          "span": 2,
          "strokeWidth": "0",
          "targets": [
            {
              "alias": "$tag_version",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "version"
                  ],
                  "type": "tag"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "citrixversions",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "count"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "timeFrom": null,
          "title": "ICA Client Versions",
          "type": "grafana-piechart-panel",
          "valueName": "avg"
        }
      ],
      "showTitle": true,
      "titleSize": "h6",
      "height": "250px",
      "repeat": null,
      "repeatRowId": null,
      "repeatIteration": null,
      "collapse": false
    }
  ],
  "description": "Citrix Xenapp sessions monitoring, application usage and farm status"
}