123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288 |
- {
- "annotations" : {
- "list" : [
- ]
- },
- "editable" : true,
- "gnetId" : null,
- "graphTooltip" : 0,
- "hideControls" : false,
- "id" : null,
- "links" : [
- ],
- "rows" : [
- {
- "collapse" : false,
- "height" : 278,
- "panels" : [
- {
- "aliasColors" : {
- },
- "bars" : false,
- "dashLength" : 10,
- "dashes" : false,
- "datasource" : null,
- "fill" : 0,
- "id" : 3,
- "legend" : {
- "alignAsTable" : true,
- "avg" : true,
- "current" : true,
- "hideEmpty" : true,
- "max" : true,
- "min" : true,
- "rightSide" : false,
- "show" : true,
- "total" : false,
- "values" : true
- },
- "lines" : true,
- "linewidth" : 1,
- "links" : [
- ],
- "nullPointMode" : "null",
- "percentage" : false,
- "pointradius" : 5,
- "points" : false,
- "renderer" : "flot",
- "seriesOverrides" : [
- ],
- "spaceLength" : 10,
- "span" : 12,
- "stack" : false,
- "steppedLine" : false,
- "targets" : [
- {
- "expr" : "%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{hostname=~\"([[regex]])\"}",
- "format" : "time_series",
- "hide" : false,
- "interval" : "",
- "intervalFactor" : 2,
- "legendFormat" : "{{hostname}}",
- "refId" : "A",
- "step" : 120
- },
- {
- "expr" : "sum(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{hostname=~\"([[regex]])\"})",
- "format" : "time_series",
- "hide" : false,
- "interval" : "",
- "intervalFactor" : 2,
- "legendFormat" : "Summe",
- "refId" : "B",
- "step" : 120
- }
- ],
- "thresholds" : [
- ],
- "timeFrom" : null,
- "timeShift" : null,
- "title" : "[[group]] (clients)",
- "tooltip" : {
- "shared" : true,
- "sort" : 1,
- "value_type" : "individual"
- },
- "type" : "graph",
- "xaxis" : {
- "buckets" : null,
- "mode" : "time",
- "name" : null,
- "show" : true,
- "values" : [
- ]
- },
- "yaxes" : [
- {
- "decimals" : 0,
- "format" : "short",
- "label" : "",
- "logBase" : 1,
- "max" : null,
- "min" : null,
- "show" : true
- },
- {
- "format" : "short",
- "label" : null,
- "logBase" : 1,
- "max" : null,
- "min" : null,
- "show" : true
- }
- ]
- }
- ],
- "repeat" : null,
- "repeatIteration" : null,
- "repeatRowId" : null,
- "showTitle" : false,
- "title" : "Dashboard Row",
- "titleSize" : "h6"
- },
- {
- "collapse" : false,
- "height" : "100",
- "panels" : [
- {
- "content" : "<p>Links zu Router [[hostname]], Node ID [[node_id]]: <a href=\"\/dashboard\/file\/%%DASHBOARD_PREFIX%%status.json?var-hostname=[[hostname]]&var-node_id=[[node_id]]\">Status Dashboard<\/a>, <a href=\"%%MAP_NODE_URL%%[[node_id]]\">Map<\/a>.<\/p>\n",
- "height" : "80px",
- "id" : 4,
- "links" : [
- ],
- "mode" : "html",
- "repeat" : null,
- "span" : 12,
- "title" : "Links zu [[hostname]], Node ID [[node_id]]",
- "type" : "text"
- }
- ],
- "repeat" : null,
- "repeatIteration" : null,
- "repeatRowId" : null,
- "showTitle" : false,
- "title" : "Dashboard Row",
- "titleSize" : "h6"
- }
- ],
- "schemaVersion" : 14,
- "style" : "dark",
- "tags" : [
- ],
- "templating" : {
- "list" : [
- {
- "allValue" : null,
- "current" : {
- "text" : " - noch keine Auswahl -",
- "value" : null
- },
- "datasource" : null,
- "hide" : 0,
- "includeAll" : false,
- "label" : "Routergruppe",
- "multi" : false,
- "name" : "group",
- "options" : [
- ],
- "query" : "label_values(%%PROM_GROUPS_PREFIX%%,group)",
- "refresh" : 2,
- "regex" : "",
- "sort" : 1,
- "tagValuesQuery" : "",
- "tags" : [
- ],
- "tagsQuery" : "",
- "type" : "query",
- "useTags" : false
- },
- {
- "allValue" : null,
- "current" : {
- "text" : null,
- "value" : null
- },
- "datasource" : null,
- "hide" : 2,
- "includeAll" : false,
- "label" : null,
- "multi" : false,
- "name" : "regex",
- "options" : [
- ],
- "query" : "query_result(max(%%PROM_GROUPS_PREFIX%%{group=\"[[group]]\"}) by (regex))",
- "refresh" : 2,
- "regex" : "\/.*regex=\"(.*)\".*\/",
- "sort" : 1,
- "tagValuesQuery" : "",
- "tags" : [
- ],
- "tagsQuery" : "",
- "type" : "query",
- "useTags" : false
- },
- {
- "allValue" : null,
- "current" : {
- "text" : " - noch keine Auswahl -",
- "value" : null
- },
- "datasource" : null,
- "hide" : 0,
- "includeAll" : false,
- "label" : null,
- "multi" : false,
- "name" : "hostname",
- "options" : [
- ],
- "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=~\"[[regex]]\"},hostname)",
- "refresh" : 2,
- "regex" : "",
- "sort" : 1,
- "tagValuesQuery" : "",
- "tags" : [
- ],
- "tagsQuery" : "",
- "type" : "query",
- "useTags" : false
- },
- {
- "allValue" : null,
- "current" : {
- "text" : null,
- "value" : null
- },
- "datasource" : null,
- "hide" : 0,
- "includeAll" : false,
- "label" : null,
- "multi" : false,
- "name" : "node_id",
- "options" : [
- ],
- "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},node_id)",
- "refresh" : 2,
- "regex" : "",
- "sort" : 1,
- "tagValuesQuery" : "",
- "tags" : [
- ],
- "tagsQuery" : "",
- "type" : "query",
- "useTags" : false
- }
- ]
- },
- "time" : {
- "from" : "now-24h",
- "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" : "%%DASHBOARD_PREFIX%%status-group",
- "version" : 9
- }
|