Grafana dashboard: LDAP DB monitor
Description: Monitor your db suffixes!

You want to monitor the 389 Directory Server DBs activity and load. Please download and compile the ds389 input plugin, now in beta version at [Github](https://github.com/influxdata/telegraf/pull/6117).

   - Create your telegraf config file, with many LDAP instances tags as your need.
   - Test the plugin to ensure you are collecting the data as explained in the plugin README
   - Then install this dashboard and enjoy!

PS: the alert section still has to improve.

The plugin is still waiting to be added to Telegraf. Meanwhile you can add it as external [here](https://github.com/falon/CSI-telegraf-plugins).

{
  "__inputs": [
    {
      "name": "DS_TELEGRAF_POSTA",
      "label": "Telegraf_Posta",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "7.5.5"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "text",
      "name": "Text",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 10590,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1623741065122,
  "links": [],
  "panels": [
    {
      "collapsed": false,
      "datasource": null,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 30,
      "panels": [],
      "title": "Statistics for ${db}",
      "type": "row"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": null,
      "description": "- entryCacheHits\n-- The total number of successful entry cache lookups. That is, the total number of times the server could process a search request by obtaining data from the cache rather than by going to disk. \n- entryCacheTries\n-- The total number of entry cache lookups since the directory was last started. That is, the total number of search operations performed against the server in the last 5m. ",
      "fieldConfig": {
        "defaults": {
          "links": []
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 12,
        "x": 0,
        "y": 1
      },
      "hiddenSeries": false,
      "id": 12,
      "interval": "1m",
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "7.5.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "repeat": null,
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "server"
              ],
              "type": "tag"
            },
            {
              "params": [
                "instance"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "ds389",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT non_negative_derivative(max(\"${db}_entrycachehits\"), 5m) AS \"entryCacheHits\", non_negative_derivative(max(\"${db}_entrycachetries\"), 5m) AS \"entryCacheTries\" FROM \"ds389\" WHERE (\"server\" =~ /^$server$/ AND \"instance\" =~ /^$Instance$/) AND $timeFilter GROUP BY time($__interval), \"server\", \"instance\" fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "user"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "AnonymousBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "simpleauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "SimpleAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "strongauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "StrongAuthBinds "
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "unauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "UnAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "bindsecurityerrors"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "BindSecurityErrors"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "server",
              "operator": "=~",
              "value": "/^$server$/"
            },
            {
              "condition": "AND",
              "key": "instance",
              "operator": "=~",
              "value": "/^$Instance$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Entries Cache Hits & Try -- ${db}",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "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
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": null,
      "description": "- currentEntryCacheSize\n-- The total size, in bytes, of directory entries currently present in the entry cache. \n- maxEntryCacheSize\n--  The maximum size, in bytes, of directory entries that can be maintained in the entry cache.\nThe size of the entry cache is set in the nsslapd-cachememsize attribute in the cn=database_name,cn=ldbm database,cn=plugins,cn=config entry. For optimized performance, enable entry cache auto-tuning. ",
      "fieldConfig": {
        "defaults": {
          "links": []
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 12,
        "x": 12,
        "y": 1
      },
      "hiddenSeries": false,
      "id": 27,
      "interval": "1m",
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "7.5.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "server"
              ],
              "type": "tag"
            },
            {
              "params": [
                "instance"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "ds389",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(\"${db}_currententrycachesize\") AS \"currentEntryCacheSize\",max(\"${db}_maxentrycachesize\") AS \"maxEntryCacheSize\" FROM \"ds389\" WHERE (\"server\" =~ /^$server$/ AND \"instance\" =~ /^$Instance$/) AND $timeFilter GROUP BY time($__interval), \"server\", \"instance\" fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "user"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "AnonymousBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "simpleauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "SimpleAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "strongauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "StrongAuthBinds "
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "unauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "UnAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "bindsecurityerrors"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "BindSecurityErrors"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "server",
              "operator": "=~",
              "value": "/^$server$/"
            },
            {
              "condition": "AND",
              "key": "instance",
              "operator": "=~",
              "value": "/^$Instance$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Cache Size -- ${db}",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "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": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": null,
      "description": "- entryCacheHitsRatio\n--  Ratio that indicates the number of entry cache tries to successful entry cache lookups. This number is based on the total lookups and hits since the directory was last started. The closer this value is to 100%, the better. Whenever a search operation attempts to find an entry that is not present in the entry cache, the directory has to perform a disk access to obtain the entry. Thus, as this ratio drops towards zero, the number of disk accesses increases, and directory search performance drops.\nTo improve the ratio, enable the entry cache auto-tuning. ",
      "fieldConfig": {
        "defaults": {
          "links": []
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 12,
        "x": 0,
        "y": 11
      },
      "hiddenSeries": false,
      "id": 26,
      "interval": "1m",
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "7.5.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "server"
              ],
              "type": "tag"
            },
            {
              "params": [
                "instance"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "ds389",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(\"${db}_entrycachehitratio\") AS \"entryCacheHitRatio\" FROM \"ds389\" WHERE (\"server\" =~ /^$server$/ AND \"instance\" =~ /^$Instance$/) AND $timeFilter GROUP BY time($__interval), \"server\", \"instance\" fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "user"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "AnonymousBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "simpleauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "SimpleAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "strongauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "StrongAuthBinds "
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "unauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "UnAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "bindsecurityerrors"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "BindSecurityErrors"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "server",
              "operator": "=~",
              "value": "/^$server$/"
            },
            {
              "condition": "AND",
              "key": "instance",
              "operator": "=~",
              "value": "/^$Instance$/"
            }
          ]
        }
      ],
      "thresholds": [
        {
          "colorMode": "warning",
          "fill": true,
          "line": false,
          "op": "lt",
          "value": 90,
          "yaxis": "left"
        },
        {
          "colorMode": "critical",
          "fill": true,
          "line": false,
          "op": "gt",
          "value": 50,
          "yaxis": "left"
        }
      ],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Cache Hits Ratio -- ${db}",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": "100",
          "min": "0",
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": null,
      "description": "ReadOnly indicates whether the database is in read-only mode\n- 0 means that the server is not in read-only mode\n- 1 means that it is in read-only mode. ",
      "fieldConfig": {
        "defaults": {
          "links": []
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 12,
        "x": 12,
        "y": 11
      },
      "hiddenSeries": false,
      "id": 25,
      "interval": "1m",
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "7.5.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "server"
              ],
              "type": "tag"
            },
            {
              "params": [
                "instance"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "ds389",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(\"${db}_readonly\") AS \"ReadOnly\" FROM \"ds389\" WHERE (\"server\" =~ /^$server$/ AND \"instance\" =~ /^$Instance$/) AND $timeFilter GROUP BY time($__interval), \"server\", \"instance\" fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "user"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "AnonymousBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "simpleauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "SimpleAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "strongauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "StrongAuthBinds "
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "unauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "UnAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "bindsecurityerrors"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "BindSecurityErrors"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "server",
              "operator": "=~",
              "value": "/^$server$/"
            },
            {
              "condition": "AND",
              "key": "instance",
              "operator": "=~",
              "value": "/^$Instance$/"
            }
          ]
        }
      ],
      "thresholds": [
        {
          "colorMode": "critical",
          "fill": true,
          "line": false,
          "op": "gt",
          "value": 0,
          "yaxis": "left"
        }
      ],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Read / Write Status -- ${db}",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": "1",
          "min": "0",
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": null,
      "description": "The number of entries currently present in the cache. ",
      "fieldConfig": {
        "defaults": {
          "links": []
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 12,
        "x": 0,
        "y": 21
      },
      "hiddenSeries": false,
      "id": 28,
      "interval": "1m",
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "7.5.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "server"
              ],
              "type": "tag"
            },
            {
              "params": [
                "instance"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "ds389",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(\"${db}_currententrycachecount\") AS \"currentEntryCacheCount\" FROM \"ds389\" WHERE (\"server\" =~ /^$server$/ AND \"instance\" =~ /^$Instance$/) AND $timeFilter GROUP BY time($__interval), \"server\", \"instance\" fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "user"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "AnonymousBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "simpleauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "SimpleAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "strongauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "StrongAuthBinds "
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "unauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "UnAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "bindsecurityerrors"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "BindSecurityErrors"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "server",
              "operator": "=~",
              "value": "/^$server$/"
            },
            {
              "condition": "AND",
              "key": "instance",
              "operator": "=~",
              "value": "/^$Instance$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Cache count -- ${db}",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "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
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": null,
      "fieldConfig": {
        "defaults": {},
        "overrides": []
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 31
      },
      "id": 33,
      "links": [],
      "options": {
        "content": "\n\n\n\n",
        "mode": "markdown"
      },
      "pluginVersion": "7.5.5",
      "timeFrom": null,
      "timeShift": null,
      "title": "DN Cache",
      "type": "text"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": null,
      "description": "- dnCacheHits\n-- The total number of successful DN cache lookups. That is, the total number of times the server could process a search request by obtaining data from the cache rather than by going to disk. \n- dnCacheTries\n-- The total number of DN cache lookups in the last 5m.",
      "fieldConfig": {
        "defaults": {
          "links": []
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 12,
        "x": 0,
        "y": 32
      },
      "hiddenSeries": false,
      "id": 31,
      "interval": "1m",
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "7.5.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "server"
              ],
              "type": "tag"
            },
            {
              "params": [
                "instance"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "ds389",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT non_negative_derivative(max(\"${db}_dncachehits\"), 5m) AS \"dnCacheHits\", non_negative_derivative(max(\"${db}_dncachetries\"), 5m) AS \"dnCacheTries\" FROM \"ds389\" WHERE (\"server\" =~ /^$server$/ AND \"instance\" =~ /^$Instance$/) AND $timeFilter GROUP BY time($__interval), \"server\", \"instance\" fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "user"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "AnonymousBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "simpleauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "SimpleAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "strongauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "StrongAuthBinds "
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "unauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "UnAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "bindsecurityerrors"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "BindSecurityErrors"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "server",
              "operator": "=~",
              "value": "/^$server$/"
            },
            {
              "condition": "AND",
              "key": "instance",
              "operator": "=~",
              "value": "/^$Instance$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "DN Cache Hits & Try -- ${db}",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "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
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": null,
      "description": "- dnCacheHitsRatio\n--  Ratio that indicates the number of DN cache tries to successful DN cache lookups. This number is based on the total lookups and hits since the directory was last started. The closer this value is to 100%, the better. Whenever a search operation attempts to find an entry that is not present in the entry cache, the directory has to perform a disk access to obtain the entry. Thus, as this ratio drops towards zero, the number of disk accesses increases, and directory search performance drops.\nTo improve the ratio, enable the DN cache auto-tuning. ",
      "fieldConfig": {
        "defaults": {
          "links": []
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 12,
        "x": 12,
        "y": 32
      },
      "hiddenSeries": false,
      "id": 34,
      "interval": "1m",
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "7.5.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "server"
              ],
              "type": "tag"
            },
            {
              "params": [
                "instance"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "ds389",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(\"${db}_dncachehitratio\") AS \"dnCacheHitRatio\" FROM \"ds389\" WHERE (\"server\" =~ /^$server$/ AND \"instance\" =~ /^$Instance$/) AND $timeFilter GROUP BY time($__interval), \"server\", \"instance\" fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "user"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "AnonymousBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "simpleauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "SimpleAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "strongauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "StrongAuthBinds "
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "unauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "UnAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "bindsecurityerrors"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "BindSecurityErrors"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "server",
              "operator": "=~",
              "value": "/^$server$/"
            },
            {
              "condition": "AND",
              "key": "instance",
              "operator": "=~",
              "value": "/^$Instance$/"
            }
          ]
        }
      ],
      "thresholds": [
        {
          "colorMode": "warning",
          "fill": true,
          "line": false,
          "op": "lt",
          "value": 90,
          "yaxis": "left"
        },
        {
          "colorMode": "critical",
          "fill": true,
          "line": false,
          "op": "lt",
          "value": 50,
          "yaxis": "left"
        }
      ],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "DN Cache Hits Ratio -- ${db}",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": "100",
          "min": "0",
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": null,
      "description": "- currentDNCacheSize\n--  The total size, in bytes, of DNs currently present in the DN cache.\nTo increase the size of the entries which can be present in the DN cache, increase the value of the nsslapd-dncachememsize attribute in the cn=database_name, cn=ldbm database,cn=plugins,cn=config entry for the database. \n- maxDNCacheSize\n--   The maximum size, in bytes, of DNs that can be maintained in the DN cache.\nTo increase the size of the entries which can be present in the cache, increase the value of the nsslapd-dncachememsize attribute in the cn=database_name, cn=ldbm database,cn=plugins,cn=config entry for the database. ",
      "fieldConfig": {
        "defaults": {},
        "overrides": []
      },
      "fill": 1,
      "gridPos": {
        "h": 10,
        "w": 12,
        "x": 0,
        "y": 42
      },
      "id": 35,
      "interval": "1m",
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pluginVersion": "7.5.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "server"
              ],
              "type": "tag"
            },
            {
              "params": [
                "instance"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "ds389",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(\"${db}_currentdncachesize\") AS \"currentDNCacheSize\",max(\"${db}_maxdncachesize\") AS \"maxDNCacheSize\" FROM \"ds389\" WHERE (\"server\" =~ /^$server$/ AND \"instance\" =~ /^$Instance$/) AND $timeFilter GROUP BY time($__interval), \"server\", \"instance\" fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "user"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "AnonymousBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "simpleauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "SimpleAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "strongauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "StrongAuthBinds "
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "unauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "UnAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "bindsecurityerrors"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "BindSecurityErrors"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "server",
              "operator": "=~",
              "value": "/^$server$/"
            },
            {
              "condition": "AND",
              "key": "instance",
              "operator": "=~",
              "value": "/^$Instance$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "DN Cache Size -- ${db}",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "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": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": null,
      "description": "The number of DNs currently present in the DN cache. ",
      "fieldConfig": {
        "defaults": {},
        "overrides": []
      },
      "fill": 1,
      "gridPos": {
        "h": 10,
        "w": 12,
        "x": 12,
        "y": 42
      },
      "id": 36,
      "interval": "1m",
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pluginVersion": "7.5.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "server"
              ],
              "type": "tag"
            },
            {
              "params": [
                "instance"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "ds389",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(\"${db}_currentdncachecount\") AS \"currentDNCacheCount\" FROM \"ds389\" WHERE (\"server\" =~ /^$server$/ AND \"instance\" =~ /^$Instance$/) AND $timeFilter GROUP BY time($__interval), \"server\", \"instance\" fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "user"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "AnonymousBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "simpleauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "SimpleAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "strongauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "StrongAuthBinds "
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "unauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "UnAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "bindsecurityerrors"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "BindSecurityErrors"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "server",
              "operator": "=~",
              "value": "/^$server$/"
            },
            {
              "condition": "AND",
              "key": "instance",
              "operator": "=~",
              "value": "/^$Instance$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "DN Cache count -- ${db}",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "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
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": null,
      "description": "See at\nhttps://www.port389.org/docs/389ds/design/normalized-dn-cache.html",
      "fieldConfig": {
        "defaults": {},
        "overrides": []
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 52
      },
      "id": 37,
      "links": [],
      "options": {
        "content": "\n\n\n\n",
        "mode": "markdown"
      },
      "pluginVersion": "7.5.5",
      "timeFrom": null,
      "timeShift": null,
      "title": "Normalized DN Cache",
      "type": "text"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": null,
      "description": "- normalizedDnCacheHits\n-- The total number of successful DN cache lookups. That is, the total number of times the server could process a search request by obtaining data from the cache rather than by going to disk. \n- normalizedDnCacheTries\n-- The total number of DN cache lookups in the last 5m. That is, the total number of search operations performed against the server in the last 5m. ",
      "fieldConfig": {
        "defaults": {},
        "overrides": []
      },
      "fill": 1,
      "gridPos": {
        "h": 10,
        "w": 12,
        "x": 0,
        "y": 53
      },
      "id": 38,
      "interval": "1m",
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pluginVersion": "7.5.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "server"
              ],
              "type": "tag"
            },
            {
              "params": [
                "instance"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "ds389",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT non_negative_derivative(max(\"${db}_normalizeddncachehits\"), 5m) AS \"normalizedDnCacheHits\", non_negative_derivative(max(\"${db}_normalizeddncachetries\"), 5m) AS \"normalizedDnCacheTries\",  non_negative_derivative(max(\"${db}_normalizeddncachemisses\"), 5m) AS \"normalizedDnCacheMisses\", non_negative_derivative(max(\"${db}_normalizeddncacheevictions\"), 5m) AS \"normalizedDnCacheEvictions\" FROM \"ds389\" WHERE (\"server\" =~ /^$server$/ AND \"instance\" =~ /^$Instance$/) AND $timeFilter GROUP BY time($__interval), \"server\", \"instance\" fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "user"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "AnonymousBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "simpleauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "SimpleAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "strongauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "StrongAuthBinds "
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "unauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "UnAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "bindsecurityerrors"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "BindSecurityErrors"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "server",
              "operator": "=~",
              "value": "/^$server$/"
            },
            {
              "condition": "AND",
              "key": "instance",
              "operator": "=~",
              "value": "/^$Instance$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Normalized DN Cache Hits & Try -- ${db}",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "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
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": null,
      "description": "- normalizedDnCacheHitsRatio\n--  Ratio that indicates the number of normalized DN cache tries to successful normalized DN cache lookups. This number is based on the total lookups and hits since the directory was last started. The closer this value is to 100%, the better. Whenever a search operation attempts to find an entry that is not present in the entry cache, the directory has to perform a disk access to obtain the entry. Thus, as this ratio drops towards zero, the number of disk accesses increases, and directory search performance drops.",
      "fieldConfig": {
        "defaults": {},
        "overrides": []
      },
      "fill": 1,
      "gridPos": {
        "h": 10,
        "w": 12,
        "x": 12,
        "y": 53
      },
      "id": 39,
      "interval": "1m",
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pluginVersion": "7.5.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "server"
              ],
              "type": "tag"
            },
            {
              "params": [
                "instance"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "ds389",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(\"${db}_normalizeddncachehitratio\") AS \"normalizedDnCacheHitRatio\" FROM \"ds389\" WHERE (\"server\" =~ /^$server$/ AND \"instance\" =~ /^$Instance$/) AND $timeFilter GROUP BY time($__interval), \"server\", \"instance\" fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "user"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "AnonymousBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "simpleauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "SimpleAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "strongauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "StrongAuthBinds "
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "unauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "UnAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "bindsecurityerrors"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "BindSecurityErrors"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "server",
              "operator": "=~",
              "value": "/^$server$/"
            },
            {
              "condition": "AND",
              "key": "instance",
              "operator": "=~",
              "value": "/^$Instance$/"
            }
          ]
        }
      ],
      "thresholds": [
        {
          "colorMode": "warning",
          "fill": true,
          "line": false,
          "op": "lt",
          "value": 90,
          "yaxis": "left"
        },
        {
          "colorMode": "critical",
          "fill": true,
          "line": false,
          "op": "lt",
          "value": 50,
          "yaxis": "left"
        }
      ],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Normalized DN Cache Hits Ratio -- ${db}",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": "100",
          "min": "0",
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": null,
      "description": "- currentNormalizedDNCacheSize\n--  The total size, in bytes, of DNs currently present in the normalized DN cache.\n- maxnormalizedDNCacheSize\n--   The maximum size, in bytes, of DNs that can be maintained in the normalized DN cache.",
      "fieldConfig": {
        "defaults": {},
        "overrides": []
      },
      "fill": 1,
      "gridPos": {
        "h": 10,
        "w": 12,
        "x": 0,
        "y": 63
      },
      "id": 40,
      "interval": "1m",
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pluginVersion": "7.5.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "server"
              ],
              "type": "tag"
            },
            {
              "params": [
                "instance"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "ds389",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(\"${db}_currentnormalizeddncachesize\") AS \"currentNormalizedDNCacheSize\",max(\"${db}_maxnormalizeddncachesize\") AS \"maxNormalizedDNCacheSize\", max(\"${db}_normalizeddncachethreadsize\") AS \"normalizedDnCacheThreadSize\" FROM \"ds389\" WHERE (\"server\" =~ /^$server$/ AND \"instance\" =~ /^$Instance$/) AND $timeFilter GROUP BY time($__interval), \"server\", \"instance\" fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "user"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "AnonymousBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "simpleauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "SimpleAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "strongauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "StrongAuthBinds "
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "unauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "UnAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "bindsecurityerrors"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "BindSecurityErrors"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "server",
              "operator": "=~",
              "value": "/^$server$/"
            },
            {
              "condition": "AND",
              "key": "instance",
              "operator": "=~",
              "value": "/^$Instance$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Normalized DN Cache Size -- ${db}",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "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": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": null,
      "description": "The number of DNs currently present in the normlized DN cache. ",
      "fieldConfig": {
        "defaults": {},
        "overrides": []
      },
      "fill": 1,
      "gridPos": {
        "h": 10,
        "w": 12,
        "x": 12,
        "y": 63
      },
      "id": 41,
      "interval": "1m",
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pluginVersion": "7.5.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "server"
              ],
              "type": "tag"
            },
            {
              "params": [
                "instance"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "ds389",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(\"${db}_currentnormalizeddncachecount\") AS \"currentNormalizedDNCacheCount\" FROM \"ds389\" WHERE (\"server\" =~ /^$server$/ AND \"instance\" =~ /^$Instance$/) AND $timeFilter GROUP BY time($__interval), \"server\", \"instance\" fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "user"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "AnonymousBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "simpleauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "SimpleAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "strongauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "StrongAuthBinds "
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "unauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "UnAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "bindsecurityerrors"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "BindSecurityErrors"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "server",
              "operator": "=~",
              "value": "/^$server$/"
            },
            {
              "condition": "AND",
              "key": "instance",
              "operator": "=~",
              "value": "/^$Instance$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Normalized DN Cache count -- ${db}",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "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
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": null,
      "description": "The number of normalized DN cache thread slots.",
      "fieldConfig": {
        "defaults": {},
        "overrides": []
      },
      "fill": 1,
      "gridPos": {
        "h": 10,
        "w": 12,
        "x": 0,
        "y": 73
      },
      "id": 42,
      "interval": "1m",
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pluginVersion": "7.5.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "server"
              ],
              "type": "tag"
            },
            {
              "params": [
                "instance"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "ds389",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(\"${db}_normalizeddncachethreadslots\") AS \"normalizedDnCacheThreadSlots\" FROM \"ds389\" WHERE (\"server\" =~ /^$server$/ AND \"instance\" =~ /^$Instance$/) AND $timeFilter GROUP BY time($__interval), \"server\", \"instance\" fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "user"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "AnonymousBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "simpleauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "SimpleAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "strongauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "StrongAuthBinds "
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "unauthbinds"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "UnAuthBinds"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "bindsecurityerrors"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "BindSecurityErrors"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "server",
              "operator": "=~",
              "value": "/^$server$/"
            },
            {
              "condition": "AND",
              "key": "instance",
              "operator": "=~",
              "value": "/^$Instance$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Normalized DN Cache Thread Slots -- ${db}",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "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
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "datasource": null,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 83
      },
      "id": 22,
      "panels": [],
      "title": "Summary for all DBs",
      "type": "row"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": null,
      "description": "The ratio of cache tries to successful cache hits. The closer this number is to 100%, the better. ",
      "fieldConfig": {
        "defaults": {},
        "overrides": []
      },
      "fill": 1,
      "gridPos": {
        "h": 10,
        "w": 12,
        "x": 0,
        "y": 84
      },
      "id": 2,
      "interval": "1m",
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pluginVersion": "7.5.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "hit $server $Instance",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "server"
              ],
              "type": "tag"
            },
            {
              "params": [
                "instance"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "ds389",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT min(\"dbcachehitratio\") FROM \"ds389\" WHERE (\"server\" =~ /^$server$/ AND \"instance\" =~ /^$Instance$/) AND $timeFilter GROUP BY time($__interval), \"server\", \"instance\" fill(null)",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "dbcachehitratio"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "min"
              }
            ]
          ],
          "tags": [
            {
              "key": "server",
              "operator": "=~",
              "value": "/^$server$/"
            },
            {
              "condition": "AND",
              "key": "instance",
              "operator": "=~",
              "value": "/^$Instance$/"
            }
          ]
        }
      ],
      "thresholds": [
        {
          "colorMode": "warning",
          "fill": true,
          "line": false,
          "op": "lt",
          "value": 95,
          "yaxis": "left"
        },
        {
          "colorMode": "critical",
          "fill": true,
          "line": false,
          "op": "lt",
          "value": 85,
          "yaxis": "left"
        }
      ],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Hit Ratio",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "decimals": null,
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": "100",
          "min": "0",
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": null,
      "description": "- dbCacheHits\nThe number of times the server could process a request by obtaining data from the cache rather than by going to the disk.\n- dbCacheTries\nThe total number of database accesses\n5m interval",
      "fieldConfig": {
        "defaults": {},
        "overrides": []
      },
      "fill": 1,
      "gridPos": {
        "h": 10,
        "w": 12,
        "x": 12,
        "y": 84
      },
      "id": 18,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pluginVersion": "7.5.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "instance"
              ],
              "type": "tag"
            },
            {
              "params": [
                "server"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "ds389",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "dbcachehits"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "dbCacheHits"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "dbcachetries"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "dbCacheTries"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "instance",
              "operator": "=~",
              "value": "/^$Instance$/"
            },
            {
              "condition": "AND",
              "key": "server",
              "operator": "=~",
              "value": "/^$server$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Caches - Hits & Try",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "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
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": null,
      "description": "- dbCachePageIn\n-- The number of pages read from disk into the cache. \n- dbCachePageOut\n-- The number of pages written from the cache back to disk. \n- dbCacheROEvict\n-- The number of read-only pages discarded from the cache to make room for new pages. Pages discarded from the cache have to be written to disk, possibly affecting server performance. The lower the number of page evicts the better.\n- dbCacheRWEvict\n-- The number of read-write pages discarded from the cache to make room for new pages. This value differs from Pages Written Out in that these are discarded read-write pages that have not been modified. Pages discarded from the cache have to be written to disk, possibly affecting server performance. The lower the number of page evicts the better. ",
      "fieldConfig": {
        "defaults": {},
        "overrides": []
      },
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 24,
        "x": 0,
        "y": 94
      },
      "id": 3,
      "interval": "1m",
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pluginVersion": "7.5.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "server"
              ],
              "type": "tag"
            },
            {
              "params": [
                "instance"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "ds389",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(\"currentconnectionsatmaxthreads\") FROM \"ds389\" WHERE $timeFilter GROUP BY time($__interval), \"server\", \"instance\" fill(null)",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "dbcachepagein"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "dbCachePageIn"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "dbcachepageout"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "dbCachePageOut"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "dbcacheroevict"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "dbCacheROEvict"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "dbcacherwevict"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "5m"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "dbCacheRWEvict"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "server",
              "operator": "=~",
              "value": "/^$server$/"
            },
            {
              "condition": "AND",
              "key": "instance",
              "operator": "=~",
              "value": "/^$Instance$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Cache Pages",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "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
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    }
  ],
  "refresh": "5m",
  "schemaVersion": 27,
  "style": "dark",
  "tags": [
    "ds389"
  ],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_TELEGRAF_POSTA}",
        "definition": "SHOW TAG VALUES FROM \"ds389\" WITH KEY = \"instance\"",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": false,
        "name": "Instance",
        "options": [],
        "query": "SHOW TAG VALUES FROM \"ds389\" WITH KEY = \"instance\"",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 5,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_TELEGRAF_POSTA}",
        "definition": "SHOW TAG VALUES FROM \"ds389\" WITH KEY = \"server\"",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "server",
        "options": [],
        "query": "SHOW TAG VALUES FROM \"ds389\" WITH KEY = \"server\"",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_TELEGRAF_POSTA}",
        "definition": "SHOW FIELD KEYS FROM \"ds389\"",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": false,
        "label": "DB Name",
        "multi": false,
        "name": "db",
        "options": [],
        "query": "SHOW FIELD KEYS FROM \"ds389\"",
        "refresh": 2,
        "regex": "/^(.*)_(.*)/",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "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": "LDAP DB monitor",
  "uid": "BVHsVoNWz",
  "version": 22,
  "description": "Monitor your db suffixes!"
}