123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837 |
- {
- "annotations" : {
- "list" : [
- ]
- },
- "editable" : true,
- "gnetId" : null,
- "graphTooltip" : 0,
- "hideControls" : false,
- "id" : null,
- "links" : [
- ],
- "rows" : [
- {
- "collapse" : true,
- "height" : 260,
- "panels" : [
- {
- "aliasColors" : {
- },
- "bars" : false,
- "dashLength" : 10,
- "dashes" : false,
- "datasource" : null,
- "fill" : 0,
- "id" : 5,
- "legend" : {
- "alignAsTable" : false,
- "avg" : true,
- "current" : false,
- "hideEmpty" : true,
- "max" : false,
- "min" : false,
- "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" : 9,
- "stack" : false,
- "steppedLine" : false,
- "targets" : [
- {
- "expr" : "count(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh)",
- "format" : "time_series",
- "intervalFactor" : 2,
- "legendFormat" : "Meshes",
- "refId" : "A",
- "step" : 240
- },
- {
- "expr" : "sum(floor(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh))",
- "format" : "time_series",
- "intervalFactor" : 2,
- "legendFormat" : "Router",
- "refId" : "B",
- "step" : 240
- },
- {
- "expr" : "round(1000 * sum(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh - floor(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh)))",
- "format" : "time_series",
- "intervalFactor" : 2,
- "legendFormat" : "Links",
- "refId" : "C",
- "step" : 240
- }
- ],
- "thresholds" : [
- ],
- "timeFrom" : null,
- "timeShift" : null,
- "title" : "Meshes, Router, Links - zZ [[mesh_count]], [[node_sum]], [[link_sum]]",
- "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" : "0",
- "show" : true
- },
- {
- "format" : "short",
- "label" : null,
- "logBase" : 1,
- "max" : null,
- "min" : null,
- "show" : true
- }
- ]
- },
- {
- "aliasColors" : {
- },
- "cacheTimeout" : null,
- "combine" : {
- "label" : "Others",
- "threshold" : 0
- },
- "datasource" : null,
- "fontSize" : "100%",
- "format" : "short",
- "id" : 6,
- "interval" : null,
- "legend" : {
- "percentage" : false,
- "show" : false,
- "values" : false
- },
- "legendType" : "Under graph",
- "links" : [
- ],
- "maxDataPoints" : 3,
- "nullPointMode" : "connected",
- "pieType" : "pie",
- "span" : 3,
- "strokeWidth" : "0",
- "targets" : [
- {
- "expr" : "count_values(\"size\",floor(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh))",
- "format" : "time_series",
- "intervalFactor" : 2,
- "legendFormat" : "{{size}}",
- "refId" : "A",
- "step" : 43200
- }
- ],
- "title" : "Meshgr\u00F6\u00DFenverteilung",
- "type" : "grafana-piechart-panel",
- "valueName" : "current"
- }
- ],
- "repeat" : null,
- "repeatIteration" : null,
- "repeatRowId" : null,
- "showTitle" : false,
- "title" : "[[mesh_count]] Meshes mit insgesamt [[node_sum]] Routern und [[link_sum]] Links",
- "titleSize" : "h6"
- },
- {
- "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" : false,
- "min" : false,
- "rightSide" : true,
- "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{node_id=~\"([[regex]])\"}",
- "format" : "time_series",
- "hide" : false,
- "interval" : "",
- "intervalFactor" : 2,
- "legendFormat" : "{{hostname}}",
- "refId" : "A",
- "step" : 120
- },
- {
- "expr" : "sum(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{node_id=~\"([[regex]])\"})",
- "format" : "time_series",
- "hide" : false,
- "interval" : "",
- "intervalFactor" : 2,
- "legendFormat" : "Summe",
- "refId" : "B",
- "step" : 120
- }
- ],
- "thresholds" : [
- ],
- "timeFrom" : null,
- "timeShift" : null,
- "title" : "clients im Mesh des Routers [[mesh_name]]",
- "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" : "clients im Mesh des Routers [[mesh_name]]",
- "titleSize" : "h6"
- },
- {
- "collapse" : false,
- "height" : "100",
- "panels" : [
- {
- "content" : "<p>Links zu Router [[hostname]], Node ID [[node_id]]: <a href=\"%%DASHBOARD_PATH%%%%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" : "Links zu [[hostname]], Node ID [[node_id]]",
- "titleSize" : "h6"
- },
- {
- "collapse" : true,
- "height" : 250,
- "panels" : [
- {
- "aliasColors" : {
- "Routeranzahl" : "#65c5db"
- },
- "bars" : false,
- "dashLength" : 10,
- "dashes" : false,
- "datasource" : null,
- "decimals" : 0,
- "fill" : 1,
- "id" : 5,
- "legend" : {
- "alignAsTable" : true,
- "avg" : true,
- "current" : true,
- "hideEmpty" : true,
- "hideZero" : false,
- "max" : false,
- "min" : false,
- "rightSide" : true,
- "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" : "count(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{node_id=~\"([[regex]])\"})",
- "format" : "time_series",
- "hide" : false,
- "instant" : false,
- "intervalFactor" : 2,
- "legendFormat" : "Routeranzahl",
- "refId" : "A"
- }
- ],
- "thresholds" : [
- ],
- "timeFrom" : null,
- "timeShift" : null,
- "title" : "Anzahl der Router im Mesh '[[mesh_name]]'",
- "tooltip" : {
- "shared" : true,
- "sort" : 0,
- "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" : "0",
- "show" : true
- },
- {
- "format" : "short",
- "label" : null,
- "logBase" : 1,
- "max" : null,
- "min" : null,
- "show" : false
- }
- ]
- }
- ],
- "repeat" : null,
- "repeatIteration" : null,
- "repeatRowId" : null,
- "showTitle" : false,
- "title" : "Anzahl der Router im Mesh '[[mesh_name]]'",
- "titleSize" : "h6"
- },
- {
- "collapse" : true,
- "height" : "500",
- "panels" : [
- {
- "columns" : [
- ],
- "datasource" : null,
- "fontSize" : "100%",
- "id" : 7,
- "links" : [
- ],
- "pageSize" : null,
- "scroll" : true,
- "showHeader" : true,
- "sort" : {
- "col" : 5,
- "desc" : false
- },
- "span" : 12,
- "styles" : [
- {
- "alias" : "Time",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "pattern" : "Time",
- "type" : "hidden"
- },
- {
- "alias" : "",
- "colorMode" : null,
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals" : 2,
- "pattern" : "\/__name__|Value\/",
- "thresholds" : [
- ],
- "type" : "hidden",
- "unit" : "short"
- },
- {
- "unit" : "short",
- "type" : "string",
- "alias" : "Autoupd.",
- "decimals" : 2,
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "colorMode" : null,
- "pattern" : "autoupdater",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "thresholds" : [
- ]
- },
- {
- "unit" : "short",
- "type" : "string",
- "alias" : "Branch",
- "decimals" : 2,
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "colorMode" : null,
- "pattern" : "branch",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "thresholds" : [
- ]
- },
- {
- "unit" : "short",
- "type" : "string",
- "alias" : "Firmware",
- "decimals" : 2,
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "colorMode" : null,
- "pattern" : "firmware",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "thresholds" : [
- ]
- },
- {
- "unit" : "short",
- "type" : "string",
- "alias" : "Hardware",
- "decimals" : 2,
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "colorMode" : null,
- "pattern" : "model",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "thresholds" : [
- ]
- },
- {
- "alias" : "Routername",
- "colorMode" : null,
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "decimals" : 2,
- "link" : true,
- "linkTargetBlank" : true,
- "linkTooltip" : "zur Statusseite f\u00FCr $__cell",
- "linkUrl" : "%%DASHBOARD_PATH%%%%DASHBOARD_PREFIX%%status.json?var-hostname=$__cell",
- "pattern" : "hostname",
- "thresholds" : [
- ],
- "type" : "string",
- "unit" : "short"
- },
- {
- "unit" : "short",
- "type" : "string",
- "alias" : "Node ID",
- "decimals" : 2,
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "colorMode" : null,
- "pattern" : "node_id",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "thresholds" : [
- ]
- },
- {
- "unit" : "short",
- "type" : "string",
- "alias" : "Meshinterfaces",
- "decimals" : 2,
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "colorMode" : null,
- "pattern" : "interfaces",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "thresholds" : [
- ]
- },
- {
- "unit" : "short",
- "type" : "string",
- "alias" : "Gateway",
- "decimals" : 2,
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "colorMode" : null,
- "pattern" : "gateway",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "thresholds" : [
- ]
- },
- {
- "alias" : "",
- "colorMode" : null,
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "decimals" : 2,
- "pattern" : "\/.*\/",
- "thresholds" : [
- ],
- "type" : "string",
- "unit" : "short"
- }
- ],
- "targets" : [
- {
- "expr" : "max(%%PROM_INFO_PREFIX%%{node_id=~\"[[regex]]\"}) by (autoupdater,branch,firmware,gateway,hostname,interfaces,model,node_id)",
- "format" : "table",
- "instant" : true,
- "intervalFactor" : 2,
- "refId" : "A"
- }
- ],
- "title" : "Liste der Router im Mesh '[[mesh_name]]'",
- "transform" : "table",
- "type" : "table"
- }
- ],
- "repeat" : null,
- "repeatIteration" : null,
- "repeatRowId" : null,
- "showTitle" : false,
- "title" : "Liste der Router im Mesh '[[mesh_name]]'",
- "titleSize" : "h6"
- }
- ],
- "schemaVersion" : 14,
- "style" : "dark",
- "tags" : [
- ],
- "templating" : {
- "list" : [
- {
- "allValue" : null,
- "current" : {
- },
- "datasource" : null,
- "hide" : 0,
- "includeAll" : false,
- "label" : "Mesh ausw\u00E4hlen:",
- "multi" : false,
- "name" : "mesh_name",
- "options" : [
- ],
- "query" : "query_result(%%PROM_INFO_PREFIX%% and on (node_id) max_over_time(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh[1d]))",
- "refresh" : 2,
- "regex" : "\/.*hostname=\"([^\\\"]+)\".*\/",
- "sort" : 1,
- "tagValuesQuery" : "",
- "tags" : [
- ],
- "tagsQuery" : "",
- "type" : "query",
- "useTags" : false
- },
- {
- "allValue" : null,
- "current" : {
- },
- "datasource" : null,
- "hide" : 1,
- "includeAll" : false,
- "label" : null,
- "multi" : false,
- "name" : "mesh_id",
- "options" : [
- ],
- "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[mesh_name]]\"},node_id)",
- "refresh" : 2,
- "regex" : "",
- "sort" : 1,
- "tagValuesQuery" : "",
- "tags" : [
- ],
- "tagsQuery" : "",
- "type" : "query",
- "useTags" : false
- },
- {
- "allValue" : null,
- "current" : {
- },
- "datasource" : null,
- "hide" : 2,
- "includeAll" : false,
- "label" : null,
- "multi" : false,
- "name" : "regex",
- "options" : [
- ],
- "query" : "query_result(max(max_over_time(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh{node_id=\"[[mesh_id]]\"}[1d])) by (members) == scalar(max(max_over_time(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh{node_id=\"[[mesh_id]]\"}[1d]))))",
- "refresh" : 2,
- "regex" : "\/.*members=\"([^\"]+)\".\/",
- "sort" : 0,
- "tagValuesQuery" : "",
- "tags" : [
- ],
- "tagsQuery" : "",
- "type" : "query",
- "useTags" : false
- },
- {
- "allValue" : null,
- "current" : {
- },
- "datasource" : null,
- "hide" : 0,
- "includeAll" : false,
- "label" : "Router ausw\u00E4hlen:",
- "multi" : false,
- "name" : "hostname",
- "options" : [
- ],
- "query" : "label_values(%%PROM_INFO_PREFIX%%{node_id=~\"[[regex]]\"},hostname)",
- "refresh" : 2,
- "regex" : "",
- "sort" : 1,
- "tagValuesQuery" : "",
- "tags" : [
- ],
- "tagsQuery" : "",
- "type" : "query",
- "useTags" : false
- },
- {
- "allValue" : null,
- "current" : {
- },
- "datasource" : null,
- "hide" : 1,
- "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
- },
- {
- "allValue" : null,
- "current" : {
- },
- "datasource" : null,
- "hide" : 2,
- "includeAll" : false,
- "label" : null,
- "multi" : false,
- "name" : "mesh_count",
- "options" : [
- ],
- "query" : "query_result(count(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh))",
- "refresh" : 2,
- "regex" : "\/.* ([0-9]+) .*\/",
- "sort" : 1,
- "tagValuesQuery" : "",
- "tags" : [
- ],
- "tagsQuery" : "",
- "type" : "query",
- "useTags" : false
- },
- {
- "allValue" : null,
- "current" : {
- },
- "datasource" : null,
- "hide" : 2,
- "includeAll" : false,
- "label" : null,
- "multi" : false,
- "name" : "node_sum",
- "options" : [
- ],
- "query" : "query_result(sum(floor(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh)))",
- "refresh" : 2,
- "regex" : "\/.* ([0-9]+) .*\/",
- "sort" : 1,
- "tagValuesQuery" : "",
- "tags" : [
- ],
- "tagsQuery" : "",
- "type" : "query",
- "useTags" : false
- },
- {
- "allValue" : null,
- "current" : {
- },
- "datasource" : null,
- "hide" : 2,
- "includeAll" : false,
- "label" : null,
- "multi" : false,
- "name" : "link_sum",
- "options" : [
- ],
- "query" : "query_result(round(1000 * (sum(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh) - sum(floor(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh)))))",
- "refresh" : 2,
- "regex" : "\/.* ([0-9]+) .*\/",
- "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-mesh",
- "version" : 12
- }
|