Grafana dashboard: Zabbix - IIS
Description: Monitor IIS servers in your environment. Panels are dynamically created per host.

Uses basic Windows template and IIS template (https://share.zabbix.com/cat-app/web-servers/microsoft-iis). 

Adjust templates to match your environment!

{
  "__inputs": [
    {
      "name": "DS_ZABBIX",
      "label": "Zabbix",
      "description": "Tested with Zabbix 3.2",
      "type": "datasource",
      "pluginId": "alexanderzobnin-zabbix-datasource",
      "pluginName": "Zabbix"
    }
  ],
  "__requires": [
    {
      "type": "datasource",
      "id": "alexanderzobnin-zabbix-datasource",
      "name": "Zabbix",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "alexanderzobnin-zabbix-triggers-panel",
      "name": "Zabbix Triggers",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "4.4.1"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "panel",
      "id": "singlestat",
      "name": "Singlestat",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "application": "CPU",
        "datasource": "${DS_ZABBIX}",
        "enable": true,
        "group": "$group",
        "hide": true,
        "hideAcknowledged": true,
        "host": "$host",
        "iconColor": "rgba(255, 96, 96, 1)",
        "limit": 100,
        "minseverity": 2,
        "name": "CPU Alerts",
        "showHostname": true,
        "showIn": 0,
        "trigger": "",
        "type": "alert"
      },
      {
        "application": "CPU",
        "datasource": "${DS_ZABBIX}",
        "enable": true,
        "group": "$group",
        "hide": true,
        "hideAcknowledged": true,
        "host": "$host",
        "iconColor": "rgb(255, 193, 0)",
        "limit": 100,
        "minseverity": 2,
        "name": "Memory Alerts",
        "showHostname": true,
        "showIn": 0,
        "type": "alert"
      }
    ]
  },
  "editable": true,
  "gnetId": 2614,
  "graphTooltip": 1,
  "hideControls": false,
  "id": null,
  "links": [],
  "refresh": "30s",
  "rows": [
    {
      "collapse": false,
      "height": -202,
      "panels": [
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": true,
          "colors": [
            "rgba(50, 172, 45, 0.97)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(245, 54, 54, 0.9)"
          ],
          "datasource": "${DS_ZABBIX}",
          "decimals": 0,
          "format": "short",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "id": 1,
          "interval": null,
          "links": [],
          "mappingType": 2,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "0",
              "text": "$host",
              "to": "100"
            }
          ],
          "repeat": "host",
          "span": 4,
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": false
          },
          "tableColumn": "",
          "targets": [
            {
              "application": {
                "filter": "Web Scenarios"
              },
              "functions": [],
              "group": {
                "filter": "$group"
              },
              "host": {
                "filter": "$host"
              },
              "item": {
                "filter": "Failed step of scenario \"Homepage\"."
              },
              "mode": 0,
              "options": {
                "showDisabledItems": false
              },
              "refId": "A"
            }
          ],
          "thresholds": "1,2",
          "title": "Status",
          "transparent": true,
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "$host",
              "value": "0"
            }
          ],
          "valueName": "current"
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    },
    {
      "collapse": false,
      "height": 250,
      "panels": [
        {
          "aliasColors": {
            "Response time for step \"Homepage\" of scenario \"Homepage\".": "#CFFAFF"
          },
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_ZABBIX}",
          "fill": 1,
          "id": 16,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": false,
            "total": false,
            "values": false
          },
          "lines": false,
          "linewidth": 1,
          "links": [],
          "maxDataPoints": "40",
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 4,
          "points": true,
          "renderer": "flot",
          "repeat": "host",
          "seriesOverrides": [
            {
              "alias": "Response time for step \"Homepage\" of scenario \"Homepage\".",
              "color": "#F2C96D"
            }
          ],
          "spaceLength": 10,
          "span": 4,
          "stack": false,
          "steppedLine": true,
          "targets": [
            {
              "application": {
                "filter": "Web Scenarios"
              },
              "functions": [
                {
                  "def": {
                    "category": "Transform",
                    "defaultParams": [
                      "1m",
                      "avg"
                    ],
                    "name": "groupBy",
                    "params": [
                      {
                        "name": "interval",
                        "type": "string"
                      },
                      {
                        "name": "function",
                        "options": [
                          "avg",
                          "min",
                          "max",
                          "sum",
                          "count",
                          "median"
                        ],
                        "type": "string"
                      }
                    ]
                  },
                  "params": [
                    "5m",
                    "avg"
                  ],
                  "text": "groupBy(5m, avg)"
                }
              ],
              "group": {
                "filter": "$group"
              },
              "host": {
                "filter": "$host"
              },
              "item": {
                "filter": "Response time for step \"Homepage\" of scenario \"Homepage\"."
              },
              "mode": 0,
              "options": {
                "showDisabledItems": false
              },
              "refId": "A"
            }
          ],
          "thresholds": [
            {
              "colorMode": "critical",
              "fill": true,
              "line": true,
              "op": "gt",
              "value": 2
            },
            {
              "colorMode": "warning",
              "fill": false,
              "line": true,
              "op": "gt",
              "value": 1
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Response Time",
          "tooltip": {
            "shared": true,
            "sort": 2,
            "value_type": "individual"
          },
          "transparent": true,
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "ms",
              "label": null,
              "logBase": 1,
              "max": "10",
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    },
    {
      "collapse": false,
      "height": 250,
      "panels": [
        {
          "aliasColors": {
            "Connection Attempts": "#1F78C1",
            "Logon Attempts": "#70DBED",
            "Logon Attempts/sec": "#EAB839"
          },
          "bars": true,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_ZABBIX}",
          "fill": 1,
          "id": 13,
          "legend": {
            "alignAsTable": false,
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "rightSide": false,
            "show": true,
            "total": true,
            "values": true
          },
          "lines": false,
          "linewidth": 1,
          "links": [],
          "maxDataPoints": "40",
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 3,
          "points": false,
          "renderer": "flot",
          "repeat": "host",
          "seriesOverrides": [
            {
              "alias": "Locked Errors",
              "bars": false,
              "color": "#890F02",
              "fill": 4,
              "lines": true,
              "pointradius": 1,
              "points": true,
              "stack": false
            },
            {
              "alias": "Not Found Errors",
              "bars": false,
              "color": "#BF1B00",
              "fill": 4,
              "lines": true,
              "pointradius": 1,
              "points": true,
              "stack": false
            }
          ],
          "spaceLength": 10,
          "span": 4,
          "stack": true,
          "steppedLine": false,
          "targets": [
            {
              "application": {
                "filter": "IIS Connections"
              },
              "functions": [
                {
                  "def": {
                    "category": "Alias",
                    "defaultParams": [],
                    "name": "setAlias",
                    "params": [
                      {
                        "name": "alias",
                        "type": "string"
                      }
                    ]
                  },
                  "params": [
                    "Connection Attempts"
                  ],
                  "text": "setAlias(Connection Attempts)"
                }
              ],
              "group": {
                "filter": "$group"
              },
              "host": {
                "filter": "$host"
              },
              "item": {
                "filter": "Connection Attempts/sec"
              },
              "mode": 0,
              "options": {
                "showDisabledItems": false
              },
              "refId": "A"
            },
            {
              "application": {
                "filter": "IIS Connections"
              },
              "functions": [
                {
                  "def": {
                    "category": "Alias",
                    "defaultParams": [],
                    "name": "setAlias",
                    "params": [
                      {
                        "name": "alias",
                        "type": "string"
                      }
                    ]
                  },
                  "params": [
                    "Logon Attempts"
                  ],
                  "text": "setAlias(Logon Attempts)"
                }
              ],
              "group": {
                "filter": "$group"
              },
              "host": {
                "filter": "$host"
              },
              "item": {
                "filter": "Logon Attempts/sec"
              },
              "mode": 0,
              "options": {
                "showDisabledItems": false
              },
              "refId": "B"
            },
            {
              "application": {
                "filter": "IIS Errors"
              },
              "functions": [
                {
                  "def": {
                    "category": "Alias",
                    "defaultParams": [],
                    "name": "setAlias",
                    "params": [
                      {
                        "name": "alias",
                        "type": "string"
                      }
                    ]
                  },
                  "params": [
                    "Not Found Errors"
                  ],
                  "text": "setAlias(Not Found Errors)"
                }
              ],
              "group": {
                "filter": "$group"
              },
              "host": {
                "filter": "$host"
              },
              "item": {
                "filter": "Not Found Errors/sec"
              },
              "mode": 0,
              "options": {
                "showDisabledItems": false
              },
              "refId": "D"
            }
          ],
          "thresholds": [
            {
              "colorMode": "warning",
              "fill": false,
              "line": true,
              "op": "gt",
              "value": 20
            },
            {
              "colorMode": "critical",
              "fill": true,
              "line": true,
              "op": "gt",
              "value": 25
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "IIS Connections & Errors/Sec",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "transparent": true,
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    },
    {
      "collapse": false,
      "height": 238,
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_ZABBIX}",
          "fill": 0,
          "id": 8,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": false,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "application": {
                "filter": "CPU"
              },
              "functions": [
                {
                  "def": {
                    "category": "Transform",
                    "defaultParams": [
                      "1m",
                      "avg"
                    ],
                    "name": "groupBy",
                    "params": [
                      {
                        "name": "interval",
                        "type": "string"
                      },
                      {
                        "name": "function",
                        "options": [
                          "avg",
                          "min",
                          "max",
                          "sum",
                          "count",
                          "median"
                        ],
                        "type": "string"
                      }
                    ]
                  },
                  "params": [
                    "5m",
                    "avg"
                  ],
                  "text": "groupBy(5m, avg)"
                }
              ],
              "group": {
                "filter": "$group"
              },
              "host": {
                "filter": "$host"
              },
              "item": {
                "filter": "CPU Usage %"
              },
              "mode": 0,
              "options": {
                "showDisabledItems": false
              },
              "refId": "A"
            }
          ],
          "thresholds": [
            {
              "colorMode": "warning",
              "fill": false,
              "line": true,
              "op": "gt",
              "value": 80
            },
            {
              "colorMode": "critical",
              "fill": true,
              "line": true,
              "op": "gt",
              "value": 90
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "CPU Usage",
          "tooltip": {
            "shared": true,
            "sort": 2,
            "value_type": "individual"
          },
          "transparent": true,
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "percent",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": false
            }
          ]
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_ZABBIX}",
          "fill": 0,
          "id": 9,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": false,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "application": {
                "filter": "Memory"
              },
              "functions": [
                {
                  "def": {
                    "category": "Transform",
                    "defaultParams": [
                      "1m",
                      "avg"
                    ],
                    "name": "groupBy",
                    "params": [
                      {
                        "name": "interval",
                        "type": "string"
                      },
                      {
                        "name": "function",
                        "options": [
                          "avg",
                          "min",
                          "max",
                          "sum",
                          "count",
                          "median"
                        ],
                        "type": "string"
                      }
                    ]
                  },
                  "params": [
                    "5m",
                    "avg"
                  ],
                  "text": "groupBy(5m, avg)"
                }
              ],
              "group": {
                "filter": "$group"
              },
              "host": {
                "filter": "$host"
              },
              "item": {
                "filter": "Used memory %"
              },
              "mode": 0,
              "options": {
                "showDisabledItems": false
              },
              "refId": "A"
            }
          ],
          "thresholds": [
            {
              "colorMode": "warning",
              "fill": true,
              "line": true,
              "op": "gt",
              "value": 80
            },
            {
              "colorMode": "critical",
              "fill": true,
              "line": true,
              "op": "gt",
              "value": 90
            },
            {
              "colorMode": "custom",
              "fill": false,
              "line": true,
              "lineColor": "rgb(255, 0, 0)",
              "op": "gt",
              "source": "zabbix",
              "value": 95
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Memory Usage",
          "tooltip": {
            "shared": true,
            "sort": 2,
            "value_type": "individual"
          },
          "transparent": true,
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "percent",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    },
    {
      "collapse": false,
      "height": 185,
      "panels": [
        {
          "ackEventColor": "rgba(0, 0, 0, 0)",
          "ageField": true,
          "datasource": "${DS_ZABBIX}",
          "fontSize": "100%",
          "hideHostsInMaintenance": false,
          "hostField": true,
          "id": 7,
          "infoField": true,
          "lastChangeField": true,
          "limit": 10,
          "links": [],
          "okEventColor": "rgba(0, 245, 153, 0.45)",
          "pageSize": 10,
          "scroll": true,
          "severityField": false,
          "showEvents": {
            "text": "Problems",
            "value": "1"
          },
          "showTriggers": "all triggers",
          "sortTriggersBy": {
            "text": "last change",
            "value": "lastchange"
          },
          "span": 12,
          "statusField": false,
          "title": "Current Issues",
          "transparent": true,
          "triggerSeverity": [
            {
              "color": "#B7DBAB",
              "priority": 0,
              "severity": "Not classified",
              "show": true
            },
            {
              "color": "#82B5D8",
              "priority": 1,
              "severity": "Information",
              "show": true
            },
            {
              "color": "#E5AC0E",
              "priority": 2,
              "severity": "Warning",
              "show": true
            },
            {
              "color": "#C15C17",
              "priority": 3,
              "severity": "Average",
              "show": true
            },
            {
              "color": "#BF1B00",
              "priority": 4,
              "severity": "High",
              "show": true
            },
            {
              "color": "#890F02",
              "priority": 5,
              "severity": "Disaster",
              "show": true
            }
          ],
          "triggers": {
            "application": {
              "filter": ""
            },
            "group": {
              "filter": "$group"
            },
            "host": {
              "filter": ""
            },
            "trigger": {
              "filter": ""
            }
          },
          "type": "alexanderzobnin-zabbix-triggers-panel"
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    }
  ],
  "schemaVersion": 14,
  "style": "dark",
  "tags": [
    "IIS",
    "Casinoclub"
  ],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_ZABBIX}",
        "hide": 0,
        "includeAll": true,
        "label": "Group",
        "multi": true,
        "name": "group",
        "options": [],
        "query": "*",
        "refresh": 1,
        "regex": "/IIS/",
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_ZABBIX}",
        "hide": 0,
        "includeAll": true,
        "label": "Host",
        "multi": true,
        "name": "host",
        "options": [],
        "query": "$group.*",
        "refresh": 1,
        "regex": "",
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_ZABBIX}",
        "hide": 2,
        "includeAll": false,
        "label": "Application",
        "multi": false,
        "name": "application",
        "options": [],
        "query": "$group.$host.*",
        "refresh": 1,
        "regex": "",
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_ZABBIX}",
        "hide": 2,
        "includeAll": false,
        "label": "Item",
        "multi": false,
        "name": "item",
        "options": [],
        "query": "$group.$host.$application.*",
        "refresh": 1,
        "regex": "",
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {
    "nowDelay": "1m",
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "browser",
  "title": "Zabbix - IIS",
  "version": 3,
  "description": "Monitor IIS servers in your environment. Panels are dynamically created per host."
}