status-render.json.in 68 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956
  1. {
  2. "annotations" : {
  3. "list" : [
  4. ]
  5. },
  6. "editable" : true,
  7. "gnetId" : null,
  8. "graphTooltip" : 0,
  9. "hideControls" : false,
  10. "id" : null,
  11. "links" : [
  12. {
  13. "icon" : "dashboard",
  14. "keepTime" : true,
  15. "tags" : [
  16. ],
  17. "title" : "[[neighbor_name]]",
  18. "type" : "link",
  19. "url" : "%%DASHBOARD_PATH%%%%DASHBOARD_PREFIX%%status-render.json?var-hostname=[[neighbor_name]]&var-node_id=[[neighbor_id]]"
  20. },
  21. {
  22. "icon" : "dashboard",
  23. "keepTime" : true,
  24. "tags" : [
  25. ],
  26. "title" : "Mesh",
  27. "type" : "link",
  28. "url" : "%%DASHBOARD_PATH%%%%DASHBOARD_PREFIX%%status-mesh-render.json?var-mesh_name=[[mesh_name]]"
  29. }
  30. ],
  31. "rows" : [
  32. {
  33. "collapse" : true,
  34. "height" : 250,
  35. "panels" : [
  36. {
  37. "content" : "Es folgen Hinweise zur Bedienung dieser Seite. Ganz unten gibt's auch weiterf\u00FChrende links.\n\n### \u00DCbersicht\n%%DASHBOARD_PREFIX%%status liefert Informationen \u00FCber einen %%COMMUNITY_BRIEF%%-Router (auch 'Knoten' oder 'node' genannt). Diese Seite (ein sog. Dashboard) ist zeilenweise aufgebaut. Ab der 3. Zeile k\u00F6nnen die Zeilen auf- und zugeklappt werden.\n\n- 1. Zeile: Hier kannst du dich zB anmelden, andere Grafana-Seiten (Dashboards) ausw\u00E4hlen oder den dargestellten Zeitraum \u00E4ndern.\n- 2. Zeile: Router und ggf. einen Nachbarn des Routers ausw\u00E4hlen.\n- 3. Zeile: Dieser Text \"Das was keiner liest\".\n- 4. Zeile: Die Anzeige der aktuellen Nutzerzahl (clients) des Routers, seine uptime, Firmware, etc.\n- 5. Zeile: Die Infos aus der 4. Zeile (und einige mehr) als Text.\n- 6. Zeile: Hier geht es mit den Diagrammen los.\n\n#### Auf- und zuklappen\nJede aufklappbare Zeile hat eine \u00DCberschrift, die mit dem Zeichen **>** beginnt.\n- Um eine Zeile aufzuklappen, auf die \u00DCberschrift klicken.\n- Um eine Zeile zuzuklappen, in der H\u00F6he der \u00DCberschrift den Mauszeiger zum linken Seitenrand bewegen. Dort erscheint **Collapse**. Da drauf klicken. Anschlie\u00DFend ist nur noch die \u00DCberschrift zu sehen.\n\n### Router ausw\u00E4hlen\nIn der 2. Zeile w\u00E4hlst du den Router und ggf. einen Nachbarrouter. Daf\u00FCr gibt es vier Auswahlfelder.\n\n**Router ausw\u00E4hlen**\n- In das Feld 'Router ausw\u00E4hlen' klicken. Die Routerliste poppt auf. \n- Routername direkt eingeben oder aus der Liste ausw\u00E4hlen.\n\nIst ein Routername doppelt vorhanden, kann im Feld daneben \u00FCber die node_id (eindeutige Routerkennung) der gesuchte Router ausgew\u00E4hlt werden.\n\n**Nachbar ausw\u00E4hlen**\n\nNachdem du einen Router ausgew\u00E4hlt hast, kannst du \u00FCber das Feld \"Nachbar ausw\u00E4hlen\" einen benachbarten Router ausw\u00E4hlen (sofern es Nachbarn gibt). In der Liste \"Nachbar ausw\u00E4hlen\" stehen alle Router, die der ausgew\u00E4hlte Router direkt erreichen kann. Erst wenn du hier einen Nachbarn ausgew\u00E4hlt hast, kann im TQ-Diagramm die Verbindungsqualit\u00E4t zwischen diesen zwei Routern dargestellt werden.\n\nF\u00FCr den Fall, dass ein Routername doppelt vergeben wurde, gibt es daneben ebenfalls ein Feld, in dem der Nachbar \u00FCber die node_id ausgew\u00E4hlt werden kann.\n\n#### Zur Status-Seite des Nachbarrouters und zur Mesh-\u00DCbersicht wechseln\nAm Ende der 2. Zeile (ganz rechts) gibt es zwei Schaltfl\u00E4chen: eine mit dem Namen des ausgew\u00E4hlten Nachbarrouters und eine namens **Mesh**. Dar\u00FCber kannst du die Status-Seite des Nachbarrouters aufrufen bzw. die \u00DCbersichtsseite f\u00FCr das Mesh, zu dem der Router geh\u00F6rt. (Zum Mesh geh\u00F6ren nicht nur die die direkten Nachbarn eines Routers, sondern auch die Nachbarn der Nachbarn usw.)\n\nDie beiden Schaltfl\u00E4chen sind immer vorhanden, auch wenn der ausgew\u00E4hlte Router gar keinen Nachbarrouter hat, dann allerdings ohne einen Routernamen. Klickst du trotzdem darauf, erh\u00E4ltst du eine Fehlermeldung.\n\n### Die Darstellung der Diagramme \u00E4ndern\n\nAuch ohne dich im Grafana anzumelden, kannst du einige Anzeige-Optionen \u00E4ndern.\n\n#### Zeitraum ausw\u00E4hlen\n- Oben rechts auf der Seite wird der aktuell dargestellte Zeitraum angezeigt. Da drauf klicken.\n- Einen anderen Zeitraum ausw\u00E4hlen.\n- Oder: links bzw. rechts auf die Pfeile neben 'Zoom Out' klicken.\n\n#### Kurven im Diagramm ein- und ausblenden\nNeben oder unter einem Diagramm ist eine Legende.\n- Um nur eine Kurve im Diagramm zu sehen, in der Legende auf den Namen dieser Kurve klicken.\n- Um wieder alle Kurven zu sehen, noch einmal auf den Namen klicken.\n- Um eine Kurve auszublenden, 'Shift' oder 'Strg' gedr\u00FCckt halten und auf den Namen klicken.\n- Um mehrere Kurven auszuw\u00E4hlen, beim Klicken 'Shift' oder 'Strg' gedr\u00FCckt halten.\n\n#### Farben der Kurven \u00E4ndern\n- In der Legende auf die farbige Linie klicken und gew\u00FCnschte Farbe ausw\u00E4hlen.\n\n#### Legende ein- und ausblenden\n- Auf den Diagrammtitel klicken.\n- Die 3 kleinen Balken anklicken.\n- 'Toggle Legend' anklicken.\n\n### Diagramm in andere Webseite einbinden\n- Auf den Diagrammtitel klicken.\n- 'Share' anklicken.\nAus den dort beschriebenen M\u00F6glichkeiten das Passende aussuchen.\n\n### Weiterf\u00FChrende links\n- [%%COMMUNITY_FULL%%](%%COMMUNITY_URL%%),\n- Weitere [Dokumentation](%%N2G_COMMUNITY_URL%%) der %%COMMUNITY_BRIEF%%-Community zu dieser Visualisierung,\n- [Repository](%%N2G_SRC_URL%%) der hier verwendeten Software (zum Selbermachen:).\n\n",
  38. "id" : 22,
  39. "links" : [
  40. ],
  41. "mode" : "markdown",
  42. "span" : 12,
  43. "title" : "Das was keiner liest",
  44. "type" : "text"
  45. }
  46. ],
  47. "repeat" : null,
  48. "repeatIteration" : null,
  49. "repeatRowId" : null,
  50. "showTitle" : false,
  51. "title" : "Das was keiner liest",
  52. "titleSize" : "h6"
  53. },
  54. {
  55. "collapse" : false,
  56. "height" : -1020,
  57. "panels" : [
  58. {
  59. "cacheTimeout" : null,
  60. "colorBackground" : false,
  61. "colorValue" : false,
  62. "colors" : [
  63. "rgba(50, 172, 45, 0.97)",
  64. "rgba(237, 129, 40, 0.89)",
  65. "rgba(245, 54, 54, 0.9)"
  66. ],
  67. "datasource" : null,
  68. "format" : "none",
  69. "gauge" : {
  70. "maxValue" : 50,
  71. "minValue" : 0,
  72. "show" : true,
  73. "thresholdLabels" : true,
  74. "thresholdMarkers" : true
  75. },
  76. "height" : "200px",
  77. "id" : 21,
  78. "interval" : null,
  79. "links" : [
  80. ],
  81. "mappingType" : 1,
  82. "mappingTypes" : [
  83. {
  84. "name" : "value to text",
  85. "value" : 1
  86. },
  87. {
  88. "name" : "range to text",
  89. "value" : 2
  90. }
  91. ],
  92. "maxDataPoints" : 100,
  93. "nullPointMode" : "connected",
  94. "nullText" : null,
  95. "postfix" : "",
  96. "postfixFontSize" : "50%",
  97. "prefix" : "",
  98. "prefixFontSize" : "50%",
  99. "rangeMaps" : [
  100. {
  101. "from" : "null",
  102. "text" : "N\/A",
  103. "to" : "null"
  104. }
  105. ],
  106. "span" : 3,
  107. "sparkline" : {
  108. "fillColor" : "rgba(31, 118, 189, 0.18)",
  109. "full" : false,
  110. "lineColor" : "rgb(31, 120, 193)",
  111. "show" : false
  112. },
  113. "tableColumn" : "",
  114. "targets" : [
  115. {
  116. "expr" : "vector([[clients]])",
  117. "format" : "time_series",
  118. "intervalFactor" : 2,
  119. "refId" : "A",
  120. "step" : 1800
  121. }
  122. ],
  123. "thresholds" : "10,30",
  124. "title" : "clients",
  125. "type" : "singlestat",
  126. "valueFontSize" : "100%",
  127. "valueMaps" : [
  128. {
  129. "op" : "=",
  130. "text" : "N\/A",
  131. "value" : "null"
  132. },
  133. {
  134. "op" : "=",
  135. "text" : "offline",
  136. "value" : "-1"
  137. }
  138. ],
  139. "valueName" : "current"
  140. },
  141. {
  142. "cacheTimeout" : null,
  143. "colorBackground" : false,
  144. "colorValue" : true,
  145. "colors" : [
  146. "rgba(221, 68, 28, 0.9)",
  147. "rgba(65, 197, 31, 0.89)",
  148. "rgba(35, 184, 29, 0.83)"
  149. ],
  150. "datasource" : null,
  151. "decimals" : null,
  152. "format" : "s",
  153. "gauge" : {
  154. "maxValue" : 100,
  155. "minValue" : 0,
  156. "show" : false,
  157. "thresholdLabels" : false,
  158. "thresholdMarkers" : true
  159. },
  160. "height" : "30px",
  161. "id" : 9,
  162. "interval" : null,
  163. "links" : [
  164. ],
  165. "mappingType" : 1,
  166. "mappingTypes" : [
  167. {
  168. "name" : "value to text",
  169. "value" : 1
  170. },
  171. {
  172. "name" : "range to text",
  173. "value" : 2
  174. }
  175. ],
  176. "maxDataPoints" : 100,
  177. "nullPointMode" : "connected",
  178. "nullText" : null,
  179. "postfix" : "",
  180. "postfixFontSize" : "30%",
  181. "prefix" : "",
  182. "prefixFontSize" : "30%",
  183. "rangeMaps" : [
  184. {
  185. "from" : "null",
  186. "text" : "N\/A",
  187. "to" : "null"
  188. }
  189. ],
  190. "repeat" : null,
  191. "span" : 2,
  192. "sparkline" : {
  193. "fillColor" : "rgba(31, 118, 189, 0.18)",
  194. "full" : true,
  195. "lineColor" : "rgb(31, 120, 193)",
  196. "show" : false
  197. },
  198. "tableColumn" : "Value",
  199. "targets" : [
  200. {
  201. "expr" : "vector([[uptime_seconds]])",
  202. "format" : "table",
  203. "intervalFactor" : 2,
  204. "legendFormat" : "",
  205. "refId" : "A",
  206. "step" : 1800
  207. }
  208. ],
  209. "thresholds" : "0",
  210. "title" : "uptime",
  211. "transparent" : false,
  212. "type" : "singlestat",
  213. "valueFontSize" : "50%",
  214. "valueMaps" : [
  215. {
  216. "op" : "=",
  217. "text" : "N\/A",
  218. "value" : "null"
  219. }
  220. ],
  221. "valueName" : "avg"
  222. },
  223. {
  224. "cacheTimeout" : null,
  225. "colorBackground" : false,
  226. "colorValue" : true,
  227. "colors" : [
  228. "rgba(223, 61, 28, 0.83)",
  229. "rgba(182, 145, 3, 0.99)",
  230. "rgba(27, 190, 27, 0.9)"
  231. ],
  232. "datasource" : null,
  233. "decimals" : null,
  234. "format" : "none",
  235. "gauge" : {
  236. "maxValue" : 100,
  237. "minValue" : 0,
  238. "show" : false,
  239. "thresholdLabels" : false,
  240. "thresholdMarkers" : true
  241. },
  242. "height" : "50px",
  243. "id" : 16,
  244. "interval" : null,
  245. "links" : [
  246. ],
  247. "mappingType" : 1,
  248. "mappingTypes" : [
  249. {
  250. "name" : "value to text",
  251. "value" : 1
  252. },
  253. {
  254. "name" : "range to text",
  255. "value" : 2
  256. }
  257. ],
  258. "maxDataPoints" : 100,
  259. "nullPointMode" : "connected",
  260. "nullText" : null,
  261. "postfix" : "",
  262. "postfixFontSize" : "50%",
  263. "prefix" : "",
  264. "prefixFontSize" : "30%",
  265. "rangeMaps" : [
  266. {
  267. "from" : "null",
  268. "text" : "N\/A",
  269. "to" : "null"
  270. }
  271. ],
  272. "span" : 1,
  273. "sparkline" : {
  274. "fillColor" : "rgba(31, 118, 189, 0.18)",
  275. "full" : true,
  276. "lineColor" : "rgb(31, 120, 193)",
  277. "show" : false
  278. },
  279. "tableColumn" : "Value",
  280. "targets" : [
  281. {
  282. "expr" : "([[uplink_known]] + 1) * (2 * [[updown]] - 1)",
  283. "format" : "table",
  284. "hide" : false,
  285. "intervalFactor" : 2,
  286. "legendFormat" : "",
  287. "refId" : "A",
  288. "step" : 1800
  289. }
  290. ],
  291. "thresholds" : "-0.5,1.5",
  292. "title" : "uplink",
  293. "transparent" : false,
  294. "type" : "singlestat",
  295. "valueFontSize" : "50%",
  296. "valueMaps" : [
  297. {
  298. "op" : "=",
  299. "text" : "false",
  300. "value" : "-1"
  301. },
  302. {
  303. "op" : "=",
  304. "text" : "error",
  305. "value" : "0"
  306. },
  307. {
  308. "op" : "=",
  309. "text" : "false",
  310. "value" : "1"
  311. },
  312. {
  313. "op" : "=",
  314. "text" : "true",
  315. "value" : "2"
  316. },
  317. {
  318. "op" : "=",
  319. "text" : "true",
  320. "value" : "-2"
  321. },
  322. {
  323. "op" : "=",
  324. "text" : "unknown",
  325. "value" : "3"
  326. },
  327. {
  328. "op" : "=",
  329. "text" : "unknown",
  330. "value" : "-3"
  331. }
  332. ],
  333. "valueName" : "current"
  334. },
  335. {
  336. "cacheTimeout" : null,
  337. "colorBackground" : false,
  338. "colorValue" : true,
  339. "colors" : [
  340. "rgba(190, 27, 27, 0.9)",
  341. "rgba(205, 186, 89, 0.95)",
  342. "rgba(41, 197, 33, 0.83)"
  343. ],
  344. "datasource" : null,
  345. "decimals" : null,
  346. "format" : "none",
  347. "gauge" : {
  348. "maxValue" : 100,
  349. "minValue" : 0,
  350. "show" : false,
  351. "thresholdLabels" : false,
  352. "thresholdMarkers" : true
  353. },
  354. "height" : "50px",
  355. "id" : 10,
  356. "interval" : null,
  357. "links" : [
  358. ],
  359. "mappingType" : 1,
  360. "mappingTypes" : [
  361. {
  362. "name" : "value to text",
  363. "value" : 1
  364. },
  365. {
  366. "name" : "range to text",
  367. "value" : 2
  368. }
  369. ],
  370. "maxDataPoints" : 100,
  371. "nullPointMode" : "connected",
  372. "nullText" : null,
  373. "postfix" : "",
  374. "postfixFontSize" : "30%",
  375. "prefix" : "",
  376. "prefixFontSize" : "30%",
  377. "rangeMaps" : [
  378. {
  379. "from" : "null",
  380. "text" : "N\/A",
  381. "to" : "null"
  382. }
  383. ],
  384. "span" : 1,
  385. "sparkline" : {
  386. "fillColor" : "rgba(31, 118, 189, 0.18)",
  387. "full" : true,
  388. "lineColor" : "rgb(31, 120, 193)",
  389. "show" : false
  390. },
  391. "tableColumn" : "Value",
  392. "targets" : [
  393. {
  394. "expr" : "[[firmware]]",
  395. "format" : "table",
  396. "intervalFactor" : 2,
  397. "legendFormat" : "",
  398. "refId" : "A",
  399. "step" : 1800
  400. }
  401. ],
  402. "thresholds" : "1000,1002",
  403. "title" : "firmware",
  404. "transparent" : false,
  405. "type" : "singlestat",
  406. "valueFontSize" : "50%",
  407. "valueMaps" : [
  408. {
  409. "op" : "=",
  410. "text" : "0.11.3",
  411. "value" : "1103"
  412. },
  413. {
  414. "op" : "=",
  415. "text" : "0.11.2",
  416. "value" : "1102"
  417. },
  418. {
  419. "op" : "=",
  420. "text" : "0.10.3",
  421. "value" : "1003"
  422. },
  423. {
  424. "op" : "=",
  425. "text" : "0.10.2",
  426. "value" : "1002"
  427. },
  428. {
  429. "op" : "=",
  430. "text" : "0.10.0",
  431. "value" : "1000"
  432. },
  433. {
  434. "op" : "=",
  435. "text" : "0.9.2",
  436. "value" : "902"
  437. },
  438. {
  439. "op" : "=",
  440. "text" : "0.9.1",
  441. "value" : "901"
  442. },
  443. {
  444. "op" : "=",
  445. "text" : "0.7.2",
  446. "value" : "702"
  447. }
  448. ],
  449. "valueName" : "avg"
  450. },
  451. {
  452. "cacheTimeout" : null,
  453. "colorBackground" : false,
  454. "colorValue" : true,
  455. "colors" : [
  456. "rgba(190, 27, 27, 0.9)",
  457. "rgba(67, 191, 35, 0.89)",
  458. "rgba(40, 181, 33, 0.83)"
  459. ],
  460. "datasource" : null,
  461. "decimals" : null,
  462. "format" : "none",
  463. "gauge" : {
  464. "maxValue" : 100,
  465. "minValue" : 0,
  466. "show" : false,
  467. "thresholdLabels" : false,
  468. "thresholdMarkers" : true
  469. },
  470. "height" : "50px",
  471. "id" : 12,
  472. "interval" : null,
  473. "links" : [
  474. ],
  475. "mappingType" : 1,
  476. "mappingTypes" : [
  477. {
  478. "name" : "value to text",
  479. "value" : 1
  480. },
  481. {
  482. "name" : "range to text",
  483. "value" : 2
  484. }
  485. ],
  486. "maxDataPoints" : 100,
  487. "nullPointMode" : "connected",
  488. "nullText" : null,
  489. "postfix" : "",
  490. "postfixFontSize" : "50%",
  491. "prefix" : "",
  492. "prefixFontSize" : "30%",
  493. "rangeMaps" : [
  494. {
  495. "from" : "null",
  496. "text" : "N\/A",
  497. "to" : "null"
  498. }
  499. ],
  500. "span" : 2,
  501. "sparkline" : {
  502. "fillColor" : "rgba(31, 118, 189, 0.18)",
  503. "full" : true,
  504. "lineColor" : "rgb(31, 120, 193)",
  505. "show" : false
  506. },
  507. "tableColumn" : "Value",
  508. "targets" : [
  509. {
  510. "expr" : "[[autoupdater_int]]",
  511. "format" : "table",
  512. "intervalFactor" : 2,
  513. "legendFormat" : "",
  514. "refId" : "A",
  515. "step" : 1800
  516. }
  517. ],
  518. "thresholds" : "0.5",
  519. "title" : "autoupdater",
  520. "transparent" : false,
  521. "type" : "singlestat",
  522. "valueFontSize" : "50%",
  523. "valueMaps" : [
  524. {
  525. "op" : "=",
  526. "text" : "N\/A",
  527. "value" : "null"
  528. },
  529. {
  530. "op" : "=",
  531. "text" : "false",
  532. "value" : "0"
  533. },
  534. {
  535. "op" : "=",
  536. "text" : "true",
  537. "value" : "1"
  538. }
  539. ],
  540. "valueName" : "avg"
  541. },
  542. {
  543. "cacheTimeout" : null,
  544. "colorBackground" : false,
  545. "colorValue" : true,
  546. "colors" : [
  547. "rgba(44, 182, 38, 0.83)",
  548. "rgba(66, 197, 40, 0.89)",
  549. "rgba(190, 27, 27, 0.9)"
  550. ],
  551. "datasource" : null,
  552. "decimals" : null,
  553. "format" : "none",
  554. "gauge" : {
  555. "maxValue" : 100,
  556. "minValue" : 0,
  557. "show" : false,
  558. "thresholdLabels" : false,
  559. "thresholdMarkers" : true
  560. },
  561. "height" : "50px",
  562. "id" : 13,
  563. "interval" : null,
  564. "links" : [
  565. ],
  566. "mappingType" : 1,
  567. "mappingTypes" : [
  568. {
  569. "name" : "value to text",
  570. "value" : 1
  571. },
  572. {
  573. "name" : "range to text",
  574. "value" : 2
  575. }
  576. ],
  577. "maxDataPoints" : 100,
  578. "nullPointMode" : "connected",
  579. "nullText" : null,
  580. "postfix" : "",
  581. "postfixFontSize" : "30%",
  582. "prefix" : "",
  583. "prefixFontSize" : "30%",
  584. "rangeMaps" : [
  585. {
  586. "from" : "null",
  587. "text" : "N\/A",
  588. "to" : "null"
  589. }
  590. ],
  591. "span" : 3,
  592. "sparkline" : {
  593. "fillColor" : "rgba(31, 118, 189, 0.18)",
  594. "full" : true,
  595. "lineColor" : "rgb(31, 120, 193)",
  596. "show" : false
  597. },
  598. "tableColumn" : "model",
  599. "targets" : [
  600. {
  601. "expr" : "%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"}",
  602. "format" : "table",
  603. "intervalFactor" : 2,
  604. "legendFormat" : "",
  605. "refId" : "A",
  606. "step" : 1800
  607. }
  608. ],
  609. "thresholds" : "",
  610. "title" : "hardware",
  611. "transparent" : false,
  612. "type" : "singlestat",
  613. "valueFontSize" : "30%",
  614. "valueMaps" : [
  615. {
  616. "op" : "=",
  617. "text" : "N\/A",
  618. "value" : "null"
  619. }
  620. ],
  621. "valueName" : "avg"
  622. },
  623. {
  624. "cacheTimeout" : null,
  625. "colorBackground" : false,
  626. "colorValue" : true,
  627. "colors" : [
  628. "rgba(245, 54, 54, 0.9)",
  629. "rgba(237, 129, 40, 0.89)",
  630. "rgba(50, 172, 45, 0.97)"
  631. ],
  632. "datasource" : null,
  633. "decimals" : 1,
  634. "format" : "dtdurations",
  635. "gauge" : {
  636. "maxValue" : 100,
  637. "minValue" : 0,
  638. "show" : false,
  639. "thresholdLabels" : false,
  640. "thresholdMarkers" : true
  641. },
  642. "height" : "50px",
  643. "id" : 19,
  644. "interval" : null,
  645. "links" : [
  646. ],
  647. "mappingType" : 1,
  648. "mappingTypes" : [
  649. {
  650. "name" : "value to text",
  651. "value" : 1
  652. },
  653. {
  654. "name" : "range to text",
  655. "value" : 2
  656. }
  657. ],
  658. "maxDataPoints" : 100,
  659. "minSpan" : null,
  660. "nullPointMode" : "connected",
  661. "nullText" : null,
  662. "postfix" : "",
  663. "postfixFontSize" : "20%",
  664. "prefix" : "",
  665. "prefixFontSize" : "20%",
  666. "rangeMaps" : [
  667. {
  668. "from" : "null",
  669. "text" : "N\/A",
  670. "to" : "null"
  671. }
  672. ],
  673. "span" : 4,
  674. "sparkline" : {
  675. "fillColor" : "rgba(31, 118, 189, 0.18)",
  676. "full" : false,
  677. "lineColor" : "rgb(31, 120, 193)",
  678. "show" : false
  679. },
  680. "tableColumn" : "",
  681. "targets" : [
  682. {
  683. "expr" : "[[lastseen]] - time()",
  684. "format" : "time_series",
  685. "intervalFactor" : 2,
  686. "refId" : "A",
  687. "step" : 1800
  688. }
  689. ],
  690. "thresholds" : "-900,-450",
  691. "title" : "lastseen",
  692. "type" : "singlestat",
  693. "valueFontSize" : "30%",
  694. "valueMaps" : [
  695. {
  696. "op" : "=",
  697. "text" : "N\/A",
  698. "value" : "null"
  699. }
  700. ],
  701. "valueName" : "current"
  702. },
  703. {
  704. "cacheTimeout" : null,
  705. "colorBackground" : false,
  706. "colorValue" : true,
  707. "colors" : [
  708. "rgba(38, 126, 191, 0.97)",
  709. "rgba(25, 195, 36, 0.89)",
  710. "rgba(54, 124, 245, 0.9)"
  711. ],
  712. "datasource" : null,
  713. "decimals" : 3,
  714. "format" : "dtdurations",
  715. "gauge" : {
  716. "maxValue" : 100,
  717. "minValue" : 0,
  718. "show" : false,
  719. "thresholdLabels" : false,
  720. "thresholdMarkers" : true
  721. },
  722. "height" : "50px",
  723. "id" : 17,
  724. "interval" : null,
  725. "links" : [
  726. ],
  727. "mappingType" : 1,
  728. "mappingTypes" : [
  729. {
  730. "name" : "value to text",
  731. "value" : 1
  732. },
  733. {
  734. "name" : "range to text",
  735. "value" : 2
  736. }
  737. ],
  738. "maxDataPoints" : 100,
  739. "minSpan" : null,
  740. "nullPointMode" : "connected",
  741. "nullText" : null,
  742. "postfix" : "",
  743. "postfixFontSize" : "20%",
  744. "prefix" : "",
  745. "prefixFontSize" : "20%",
  746. "rangeMaps" : [
  747. {
  748. "from" : "null",
  749. "text" : "N\/A",
  750. "to" : "null"
  751. }
  752. ],
  753. "span" : 4,
  754. "sparkline" : {
  755. "fillColor" : "rgba(31, 118, 189, 0.18)",
  756. "full" : false,
  757. "lineColor" : "rgb(31, 120, 193)",
  758. "show" : false
  759. },
  760. "tableColumn" : "",
  761. "targets" : [
  762. {
  763. "expr" : "[[firstseen]] - time()",
  764. "format" : "time_series",
  765. "intervalFactor" : 2,
  766. "refId" : "A",
  767. "step" : 1800
  768. }
  769. ],
  770. "thresholds" : "-31536000,-604800",
  771. "title" : "firstseen",
  772. "type" : "singlestat",
  773. "valueFontSize" : "30%",
  774. "valueMaps" : [
  775. {
  776. "op" : "=",
  777. "text" : "N\/A",
  778. "value" : "null"
  779. }
  780. ],
  781. "valueName" : "current"
  782. }
  783. ],
  784. "repeat" : null,
  785. "repeatIteration" : null,
  786. "repeatRowId" : null,
  787. "showTitle" : false,
  788. "title" : "Routerinfos \u00DCberblick [[hostname]]",
  789. "titleSize" : "h6"
  790. },
  791. {
  792. "collapse" : true,
  793. "height" : 250,
  794. "panels" : [
  795. {
  796. "content" : "<h5>[[hostname]], Node ID <code>[[node_id]]<\/code><\/h5>\n<p>Im Netz seit: <code>[[firstseen_year]]-[[firstseen_month]]-[[firstseen_day]]<\/code><\/p>\n<p>Zuletzt gesehen: <code>[[lastseen_year]]-[[lastseen_month]]-[[lastseen_day]] [[lastseen_hour]]:[[lastseen_minute]] UTC<\/code><\/p>\n<p>Aktuelle Zeit: <code>[[now_year]]-[[now_month]]-[[now_day]] [[now_hour]]:[[now_minute]] UTC<\/code><\/p>\n<p>up\/down: <code>[[updown]]<\/code> (1 = up, 0 = down), seit: <code>[[uptime_month]] M + [[uptime_day]] d + [[uptime_hour]] h + [[uptime_minute]] m<\/code><\/p>\n<p>clients: <code>[[clients]]<\/code> (max. clients zZ: <code>[[clients_max]]<\/code>)<\/p>\n<p>hardware: <code>[[hardware]]<\/code><\/p>\n<p>firmware: <code>[[firmware]]<\/code>, base: <code>[[base]]<\/code><\/p>\n<p>autoupdater: <code>[[autoupdater]]<\/code>, branch: <code>[[branch]]<\/code><\/p>\n<p>uplink: <code>[[uplink]]<\/code>, fastd: <code>[[fastd]]<\/code>, gateway: <code>[[gateway]]<\/code><\/p>\n<p>uplink_now: <code>[[uplink_now]]<\/code>, uplink_known: <code>[[uplink_known]]<\/code><\/p>\n<p>mesh-interfaces: LAN <code>[[interfaces_lan]]-1<\/code>, WLAN <code>[[interfaces_wlan]]<\/code>, VPN <code>[[interfaces_vpn]]<\/code><\/p>\n<p>Router <a href=\"%%MAP_NODE_URL%%[[node_id]]\">auf der map<\/a> (nur wenn Koordinaten angegeben sind -> <code>[[latitude]]<\/code> \/ <code>[[longitude]]<\/code>)<\/p>\n<p>Verbindung zum Nachbarrouter <a href=\"%%MAP_LINK_URL%%[[link_source_id]]-[[link_target_id]]\">auf der map<\/a> (nur wenn Nachbarrouter angegeben ist -> <code>[[neighbor_id]]<\/code>)<\/p>",
  797. "id" : 20,
  798. "links" : [
  799. ],
  800. "mode" : "html",
  801. "span" : 12,
  802. "title" : "Routerinfos komplett (als Text) [[hostname]]",
  803. "type" : "text"
  804. }
  805. ],
  806. "repeat" : null,
  807. "repeatIteration" : null,
  808. "repeatRowId" : null,
  809. "showTitle" : false,
  810. "title" : "Routerinfos komplett (als Text) [[hostname]]",
  811. "titleSize" : "h6"
  812. },
  813. {
  814. "collapse" : false,
  815. "height" : 250,
  816. "panels" : [
  817. {
  818. "aliasColors" : {
  819. "RX" : "#E24D42",
  820. "clients " : "#447EBC",
  821. "uplink" : "#052B51"
  822. },
  823. "bars" : false,
  824. "dashLength" : 10,
  825. "dashes" : false,
  826. "datasource" : null,
  827. "fill" : 0,
  828. "id" : 5,
  829. "legend" : {
  830. "alignAsTable" : true,
  831. "avg" : true,
  832. "current" : true,
  833. "hideEmpty" : true,
  834. "hideZero" : true,
  835. "max" : true,
  836. "min" : true,
  837. "rightSide" : false,
  838. "show" : true,
  839. "sortDesc" : true,
  840. "total" : false,
  841. "values" : true
  842. },
  843. "lines" : true,
  844. "linewidth" : 2,
  845. "links" : [
  846. ],
  847. "nullPointMode" : "null",
  848. "percentage" : false,
  849. "pointradius" : 5,
  850. "points" : false,
  851. "renderer" : "flot",
  852. "seriesOverrides" : [
  853. {
  854. "alias" : "clients ",
  855. "yaxis" : 1
  856. },
  857. {
  858. "alias" : "RX",
  859. "yaxis" : 2
  860. },
  861. {
  862. "alias" : "TX",
  863. "yaxis" : 2
  864. }
  865. ],
  866. "spaceLength" : 10,
  867. "span" : 12,
  868. "stack" : false,
  869. "steppedLine" : false,
  870. "targets" : [
  871. {
  872. "expr" : "8*rate(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%rx{hostname=\"[[hostname]]\"}[2m])",
  873. "format" : "time_series",
  874. "hide" : false,
  875. "intervalFactor" : 2,
  876. "legendFormat" : "RX",
  877. "refId" : "A",
  878. "step" : 120
  879. },
  880. {
  881. "expr" : "8*rate(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%tx{hostname=\"[[hostname]]\"}[2m])",
  882. "format" : "time_series",
  883. "intervalFactor" : 2,
  884. "legendFormat" : "TX",
  885. "refId" : "B",
  886. "step" : 120
  887. },
  888. {
  889. "expr" : "%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{hostname=\"[[hostname]]\"}",
  890. "format" : "time_series",
  891. "intervalFactor" : 2,
  892. "legendFormat" : "clients",
  893. "refId" : "C",
  894. "step" : 120
  895. },
  896. {
  897. "expr" : "%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%uplink{hostname=\"[[hostname]]\"}",
  898. "format" : "time_series",
  899. "hide" : true,
  900. "intervalFactor" : 2,
  901. "legendFormat" : "uplink",
  902. "refId" : "D",
  903. "step" : 120
  904. }
  905. ],
  906. "thresholds" : [
  907. ],
  908. "timeFrom" : null,
  909. "timeShift" : null,
  910. "title" : "clients (zZ [[clients]]) und traffic [[hostname]]",
  911. "tooltip" : {
  912. "shared" : true,
  913. "sort" : 0,
  914. "value_type" : "individual"
  915. },
  916. "transparent" : true,
  917. "type" : "graph",
  918. "xaxis" : {
  919. "buckets" : null,
  920. "mode" : "time",
  921. "name" : null,
  922. "show" : true,
  923. "values" : [
  924. ]
  925. },
  926. "yaxes" : [
  927. {
  928. "decimals" : 0,
  929. "format" : "none",
  930. "label" : "",
  931. "logBase" : 1,
  932. "max" : null,
  933. "min" : "0",
  934. "show" : true
  935. },
  936. {
  937. "format" : "bps",
  938. "label" : "",
  939. "logBase" : 1,
  940. "max" : null,
  941. "min" : null,
  942. "show" : true
  943. }
  944. ]
  945. }
  946. ],
  947. "repeat" : null,
  948. "repeatIteration" : null,
  949. "repeatRowId" : null,
  950. "showTitle" : false,
  951. "title" : "clients (zZ [[clients]]) und traffic [[hostname]]",
  952. "titleSize" : "h6"
  953. },
  954. {
  955. "collapse" : true,
  956. "height" : "250",
  957. "panels" : [
  958. {
  959. "aliasColors" : {
  960. "clients " : "#967302",
  961. "forward" : "#1F78C1",
  962. "mgmt-RX" : "#BF1B00",
  963. "uplink" : "#052B51"
  964. },
  965. "bars" : false,
  966. "dashLength" : 10,
  967. "dashes" : false,
  968. "datasource" : null,
  969. "fill" : 0,
  970. "id" : 6,
  971. "legend" : {
  972. "alignAsTable" : true,
  973. "avg" : true,
  974. "current" : true,
  975. "hideEmpty" : true,
  976. "hideZero" : true,
  977. "max" : true,
  978. "min" : true,
  979. "rightSide" : false,
  980. "show" : true,
  981. "sortDesc" : true,
  982. "total" : false,
  983. "values" : true
  984. },
  985. "lines" : true,
  986. "linewidth" : 1,
  987. "links" : [
  988. ],
  989. "nullPointMode" : "null",
  990. "percentage" : false,
  991. "pointradius" : 5,
  992. "points" : false,
  993. "renderer" : "flot",
  994. "seriesOverrides" : [
  995. {
  996. "alias" : "clients ",
  997. "yaxis" : 1
  998. },
  999. {
  1000. "alias" : "RX",
  1001. "yaxis" : 2
  1002. },
  1003. {
  1004. "alias" : "TX",
  1005. "yaxis" : 2
  1006. },
  1007. {
  1008. "alias" : "uplink",
  1009. "yaxis" : 2
  1010. }
  1011. ],
  1012. "spaceLength" : 10,
  1013. "span" : 12,
  1014. "stack" : false,
  1015. "steppedLine" : false,
  1016. "targets" : [
  1017. {
  1018. "expr" : "8*rate(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%mgmt_rx{hostname=\"[[hostname]]\"}[2m])",
  1019. "format" : "time_series",
  1020. "hide" : false,
  1021. "intervalFactor" : 2,
  1022. "legendFormat" : "mgmt-RX",
  1023. "refId" : "A",
  1024. "step" : 60
  1025. },
  1026. {
  1027. "expr" : "8*rate(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%mgmt_tx{hostname=\"[[hostname]]\"}[2m])",
  1028. "format" : "time_series",
  1029. "intervalFactor" : 2,
  1030. "legendFormat" : "mgmt-TX",
  1031. "refId" : "B",
  1032. "step" : 60
  1033. },
  1034. {
  1035. "expr" : "8*rate(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%forward{hostname=\"[[hostname]]\"}[2m])",
  1036. "format" : "time_series",
  1037. "hide" : false,
  1038. "intervalFactor" : 2,
  1039. "legendFormat" : "forward",
  1040. "refId" : "C",
  1041. "step" : 60
  1042. },
  1043. {
  1044. "expr" : "%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%uplink{hostname=\"[[hostname]]\"}",
  1045. "format" : "time_series",
  1046. "hide" : true,
  1047. "intervalFactor" : 2,
  1048. "legendFormat" : "uplink",
  1049. "refId" : "D",
  1050. "step" : 120
  1051. }
  1052. ],
  1053. "timeFrom" : null,
  1054. "timeShift" : null,
  1055. "title" : "mgmt und forwarded traffic [[hostname]]",
  1056. "tooltip" : {
  1057. "shared" : true,
  1058. "sort" : 0,
  1059. "value_type" : "individual"
  1060. },
  1061. "type" : "graph",
  1062. "xaxis" : {
  1063. "buckets" : null,
  1064. "mode" : "time",
  1065. "name" : null,
  1066. "show" : true,
  1067. "values" : [
  1068. ]
  1069. },
  1070. "yaxes" : [
  1071. {
  1072. "decimals" : 0,
  1073. "format" : "bps",
  1074. "label" : "",
  1075. "logBase" : 1,
  1076. "max" : null,
  1077. "min" : "0",
  1078. "show" : true
  1079. },
  1080. {
  1081. "format" : "none",
  1082. "label" : "",
  1083. "logBase" : 1,
  1084. "max" : null,
  1085. "min" : null,
  1086. "show" : false
  1087. }
  1088. ]
  1089. }
  1090. ],
  1091. "repeat" : null,
  1092. "repeatIteration" : null,
  1093. "repeatRowId" : null,
  1094. "showTitle" : false,
  1095. "title" : "mgmt und forwarded traffic [[hostname]]",
  1096. "titleSize" : "h6"
  1097. },
  1098. {
  1099. "collapse" : true,
  1100. "height" : "250",
  1101. "panels" : [
  1102. {
  1103. "aliasColors" : {
  1104. },
  1105. "bars" : false,
  1106. "dashLength" : 10,
  1107. "dashes" : false,
  1108. "datasource" : null,
  1109. "fill" : 0,
  1110. "id" : 4,
  1111. "legend" : {
  1112. "alignAsTable" : true,
  1113. "avg" : true,
  1114. "current" : true,
  1115. "hideEmpty" : true,
  1116. "max" : true,
  1117. "min" : true,
  1118. "rightSide" : false,
  1119. "show" : true,
  1120. "sort" : null,
  1121. "sortDesc" : null,
  1122. "total" : false,
  1123. "values" : true
  1124. },
  1125. "lines" : true,
  1126. "linewidth" : 2,
  1127. "links" : [
  1128. ],
  1129. "nullPointMode" : "null",
  1130. "percentage" : false,
  1131. "pointradius" : 5,
  1132. "points" : false,
  1133. "renderer" : "flot",
  1134. "seriesOverrides" : [
  1135. {
  1136. "alias" : "loadavg",
  1137. "yaxis" : 1
  1138. },
  1139. {
  1140. "alias" : "memory usage",
  1141. "yaxis" : 2
  1142. },
  1143. {
  1144. },
  1145. {
  1146. "alias" : "rootfs usage",
  1147. "yaxis" : 2
  1148. }
  1149. ],
  1150. "spaceLength" : 10,
  1151. "span" : 12,
  1152. "stack" : false,
  1153. "steppedLine" : false,
  1154. "targets" : [
  1155. {
  1156. "expr" : "%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%loadavg{hostname=\"[[hostname]]\"}",
  1157. "format" : "time_series",
  1158. "hide" : false,
  1159. "interval" : "",
  1160. "intervalFactor" : 2,
  1161. "legendFormat" : "loadavg",
  1162. "refId" : "A",
  1163. "step" : 120
  1164. },
  1165. {
  1166. "expr" : "%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%memory_usage{hostname=\"[[hostname]]\"}",
  1167. "format" : "time_series",
  1168. "hide" : false,
  1169. "interval" : "",
  1170. "intervalFactor" : 2,
  1171. "legendFormat" : "memory usage",
  1172. "refId" : "B",
  1173. "step" : 120
  1174. },
  1175. {
  1176. "expr" : "%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%rootfs_usage{hostname=\"[[hostname]]\"}",
  1177. "format" : "time_series",
  1178. "hide" : false,
  1179. "intervalFactor" : 2,
  1180. "legendFormat" : "rootfs usage",
  1181. "refId" : "C",
  1182. "step" : 120
  1183. }
  1184. ],
  1185. "thresholds" : [
  1186. ],
  1187. "timeFrom" : null,
  1188. "timeShift" : null,
  1189. "title" : "Last und Speicherverbrauch [[hostname]]",
  1190. "tooltip" : {
  1191. "shared" : true,
  1192. "sort" : 1,
  1193. "value_type" : "individual"
  1194. },
  1195. "type" : "graph",
  1196. "xaxis" : {
  1197. "buckets" : null,
  1198. "mode" : "time",
  1199. "name" : null,
  1200. "show" : true,
  1201. "values" : [
  1202. ]
  1203. },
  1204. "yaxes" : [
  1205. {
  1206. "decimals" : 2,
  1207. "format" : "none",
  1208. "label" : "Last",
  1209. "logBase" : 1,
  1210. "max" : null,
  1211. "min" : "0",
  1212. "show" : true
  1213. },
  1214. {
  1215. "decimals" : 2,
  1216. "format" : "none",
  1217. "label" : "Speicher",
  1218. "logBase" : 1,
  1219. "max" : "1",
  1220. "min" : "0",
  1221. "show" : true
  1222. }
  1223. ]
  1224. }
  1225. ],
  1226. "repeat" : null,
  1227. "repeatIteration" : null,
  1228. "repeatRowId" : null,
  1229. "showTitle" : false,
  1230. "title" : "Last und Speicherverbrauch [[hostname]]",
  1231. "titleSize" : "h6"
  1232. },
  1233. {
  1234. "collapse" : true,
  1235. "height" : 250,
  1236. "panels" : [
  1237. {
  1238. "aliasColors" : {
  1239. "Betriebszeit" : "#cca300"
  1240. },
  1241. "bars" : false,
  1242. "dashLength" : 10,
  1243. "dashes" : false,
  1244. "datasource" : null,
  1245. "fill" : 1,
  1246. "id" : 24,
  1247. "legend" : {
  1248. "alignAsTable" : true,
  1249. "avg" : true,
  1250. "current" : true,
  1251. "hideEmpty" : false,
  1252. "hideZero" : false,
  1253. "max" : false,
  1254. "min" : false,
  1255. "rightSide" : true,
  1256. "show" : true,
  1257. "total" : false,
  1258. "values" : true
  1259. },
  1260. "lines" : true,
  1261. "linewidth" : 1,
  1262. "links" : [
  1263. ],
  1264. "nullPointMode" : "null",
  1265. "percentage" : false,
  1266. "pointradius" : 5,
  1267. "points" : false,
  1268. "renderer" : "flot",
  1269. "seriesOverrides" : [
  1270. ],
  1271. "spaceLength" : 10,
  1272. "span" : 12,
  1273. "stack" : false,
  1274. "steppedLine" : false,
  1275. "targets" : [
  1276. {
  1277. "expr" : "%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%uptime{hostname=\"[[hostname]]\"}",
  1278. "format" : "time_series",
  1279. "hide" : false,
  1280. "intervalFactor" : 2,
  1281. "legendFormat" : "Betriebszeit",
  1282. "refId" : "A"
  1283. }
  1284. ],
  1285. "thresholds" : [
  1286. ],
  1287. "timeFrom" : null,
  1288. "timeShift" : null,
  1289. "title" : "Betriebszeit (uptime) [[hostname]]",
  1290. "tooltip" : {
  1291. "shared" : true,
  1292. "sort" : 0,
  1293. "value_type" : "individual"
  1294. },
  1295. "type" : "graph",
  1296. "xaxis" : {
  1297. "buckets" : null,
  1298. "mode" : "time",
  1299. "name" : null,
  1300. "show" : true,
  1301. "values" : [
  1302. ]
  1303. },
  1304. "yaxes" : [
  1305. {
  1306. "format" : "s",
  1307. "label" : null,
  1308. "logBase" : 1,
  1309. "max" : null,
  1310. "min" : "0",
  1311. "show" : true
  1312. },
  1313. {
  1314. "format" : "short",
  1315. "label" : null,
  1316. "logBase" : 1,
  1317. "max" : null,
  1318. "min" : null,
  1319. "show" : false
  1320. }
  1321. ]
  1322. }
  1323. ],
  1324. "repeat" : null,
  1325. "repeatIteration" : null,
  1326. "repeatRowId" : null,
  1327. "showTitle" : false,
  1328. "title" : "Betriebszeit (uptime) [[hostname]]",
  1329. "titleSize" : "h6"
  1330. },
  1331. {
  1332. "collapse" : true,
  1333. "height" : 250,
  1334. "panels" : [
  1335. {
  1336. "aliasColors" : {
  1337. },
  1338. "bars" : false,
  1339. "dashLength" : 10,
  1340. "dashes" : false,
  1341. "datasource" : null,
  1342. "fill" : 0,
  1343. "id" : 23,
  1344. "legend" : {
  1345. "alignAsTable" : true,
  1346. "avg" : true,
  1347. "current" : true,
  1348. "hideEmpty" : true,
  1349. "max" : true,
  1350. "min" : true,
  1351. "rightSide" : false,
  1352. "show" : true,
  1353. "total" : false,
  1354. "values" : true
  1355. },
  1356. "lines" : true,
  1357. "linewidth" : 1,
  1358. "links" : [
  1359. ],
  1360. "nullPointMode" : "null",
  1361. "percentage" : false,
  1362. "pointradius" : 5,
  1363. "points" : false,
  1364. "renderer" : "flot",
  1365. "seriesOverrides" : [
  1366. ],
  1367. "spaceLength" : 10,
  1368. "span" : 12,
  1369. "stack" : false,
  1370. "steppedLine" : false,
  1371. "targets" : [
  1372. {
  1373. "expr" : "100 \/ (%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%link{source=\"[[node_id]]\",target=\"[[neighbor_id]]\"} or %%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%link{source=\"[[neighbor_id]]\",target=\"[[node_id]]\"})",
  1374. "format" : "time_series",
  1375. "intervalFactor" : 2,
  1376. "legendFormat" : "TQ",
  1377. "refId" : "A",
  1378. "step" : 120
  1379. }
  1380. ],
  1381. "thresholds" : [
  1382. ],
  1383. "timeFrom" : null,
  1384. "timeShift" : null,
  1385. "title" : "TQ [[hostname]] - [[neighbor_name]]",
  1386. "tooltip" : {
  1387. "shared" : true,
  1388. "sort" : 0,
  1389. "value_type" : "individual"
  1390. },
  1391. "type" : "graph",
  1392. "xaxis" : {
  1393. "buckets" : null,
  1394. "mode" : "time",
  1395. "name" : null,
  1396. "show" : true,
  1397. "values" : [
  1398. ]
  1399. },
  1400. "yaxes" : [
  1401. {
  1402. "format" : "percent",
  1403. "label" : "",
  1404. "logBase" : 1,
  1405. "max" : "100",
  1406. "min" : "0",
  1407. "show" : true
  1408. },
  1409. {
  1410. "format" : "short",
  1411. "label" : null,
  1412. "logBase" : 1,
  1413. "max" : null,
  1414. "min" : null,
  1415. "show" : true
  1416. }
  1417. ]
  1418. }
  1419. ],
  1420. "repeat" : null,
  1421. "repeatIteration" : null,
  1422. "repeatRowId" : null,
  1423. "showTitle" : false,
  1424. "title" : "TransmitQuality (TQ) zu [[neighbor_name]]",
  1425. "titleSize" : "h6"
  1426. },
  1427. {
  1428. "collapse" : false,
  1429. "height" : 250,
  1430. "panels" : [
  1431. {
  1432. "aliasColors" : {
  1433. "NutzerInnen" : "#EAB839",
  1434. "Router - online" : "#1F78C1"
  1435. },
  1436. "bars" : false,
  1437. "dashLength" : 10,
  1438. "dashes" : false,
  1439. "datasource" : null,
  1440. "decimals" : null,
  1441. "fill" : 0,
  1442. "hideTimeOverride" : false,
  1443. "id" : 1,
  1444. "legend" : {
  1445. "alignAsTable" : true,
  1446. "avg" : true,
  1447. "current" : true,
  1448. "max" : true,
  1449. "min" : true,
  1450. "rightSide" : false,
  1451. "show" : true,
  1452. "sideWidth" : null,
  1453. "total" : false,
  1454. "values" : true
  1455. },
  1456. "lines" : true,
  1457. "linewidth" : 2,
  1458. "links" : [
  1459. ],
  1460. "nullPointMode" : "null",
  1461. "percentage" : false,
  1462. "pointradius" : 5,
  1463. "points" : false,
  1464. "renderer" : "flot",
  1465. "seriesOverrides" : [
  1466. ],
  1467. "spaceLength" : 10,
  1468. "span" : 12,
  1469. "stack" : false,
  1470. "steppedLine" : false,
  1471. "targets" : [
  1472. {
  1473. "expr" : "%%PROM_SUMMARY_PREFIX%%{count=\"clients\"}",
  1474. "format" : "time_series",
  1475. "hide" : false,
  1476. "intervalFactor" : 2,
  1477. "legendFormat" : "NutzerInnen",
  1478. "refId" : "A",
  1479. "step" : 120
  1480. },
  1481. {
  1482. "expr" : "%%PROM_SUMMARY_PREFIX%%{count=\"online\"}",
  1483. "format" : "time_series",
  1484. "intervalFactor" : 2,
  1485. "legendFormat" : "Router - online",
  1486. "refId" : "B",
  1487. "step" : 120
  1488. }
  1489. ],
  1490. "thresholds" : [
  1491. ],
  1492. "timeFrom" : null,
  1493. "timeShift" : null,
  1494. "title" : "%%COMMUNITY_FULL%% gesamt: Router online und NutzerInnen",
  1495. "tooltip" : {
  1496. "shared" : false,
  1497. "sort" : 0,
  1498. "value_type" : "individual"
  1499. },
  1500. "transparent" : true,
  1501. "type" : "graph",
  1502. "xaxis" : {
  1503. "buckets" : null,
  1504. "mode" : "time",
  1505. "name" : null,
  1506. "show" : true,
  1507. "values" : [
  1508. ]
  1509. },
  1510. "yaxes" : [
  1511. {
  1512. "decimals" : null,
  1513. "format" : "none",
  1514. "label" : "",
  1515. "logBase" : 1,
  1516. "max" : null,
  1517. "min" : "0",
  1518. "show" : true
  1519. },
  1520. {
  1521. "decimals" : null,
  1522. "format" : "h",
  1523. "label" : "nodes",
  1524. "logBase" : 1,
  1525. "max" : null,
  1526. "min" : null,
  1527. "show" : false
  1528. }
  1529. ]
  1530. }
  1531. ],
  1532. "repeat" : null,
  1533. "repeatIteration" : null,
  1534. "repeatRowId" : null,
  1535. "showTitle" : false,
  1536. "title" : "%%COMMUNITY_FULL%% gesamt: Router online und NutzerInnen",
  1537. "titleSize" : "h6"
  1538. },
  1539. {
  1540. "collapse" : true,
  1541. "height" : 250,
  1542. "panels" : [
  1543. {
  1544. "aliasColors" : {
  1545. "Router insgesamt" : "#BF1B00",
  1546. "Router mit uplink" : "#7EB26D",
  1547. "Router online" : "#1F78C1"
  1548. },
  1549. "bars" : false,
  1550. "dashLength" : 10,
  1551. "dashes" : false,
  1552. "datasource" : null,
  1553. "decimals" : null,
  1554. "fill" : 0,
  1555. "hideTimeOverride" : false,
  1556. "id" : 2,
  1557. "legend" : {
  1558. "alignAsTable" : true,
  1559. "avg" : true,
  1560. "current" : true,
  1561. "max" : true,
  1562. "min" : true,
  1563. "rightSide" : false,
  1564. "show" : true,
  1565. "sideWidth" : null,
  1566. "total" : false,
  1567. "values" : true
  1568. },
  1569. "lines" : true,
  1570. "linewidth" : 2,
  1571. "links" : [
  1572. ],
  1573. "nullPointMode" : "null",
  1574. "percentage" : false,
  1575. "pointradius" : 5,
  1576. "points" : false,
  1577. "renderer" : "flot",
  1578. "seriesOverrides" : [
  1579. ],
  1580. "spaceLength" : 10,
  1581. "span" : 12,
  1582. "stack" : false,
  1583. "steppedLine" : false,
  1584. "targets" : [
  1585. {
  1586. "expr" : "%%PROM_SUMMARY_PREFIX%%{count=\"nodes\"}",
  1587. "format" : "time_series",
  1588. "intervalFactor" : 2,
  1589. "legendFormat" : "Router insgesamt",
  1590. "refId" : "C",
  1591. "step" : 120
  1592. },
  1593. {
  1594. "expr" : "%%PROM_SUMMARY_PREFIX%%{count=\"online\"}",
  1595. "format" : "time_series",
  1596. "intervalFactor" : 2,
  1597. "legendFormat" : "Router online",
  1598. "refId" : "B",
  1599. "step" : 120
  1600. },
  1601. {
  1602. "expr" : "%%PROM_SUMMARY_PREFIX%%{count=\"uplink\"}",
  1603. "format" : "time_series",
  1604. "hide" : false,
  1605. "intervalFactor" : 2,
  1606. "legendFormat" : "Router mit uplink",
  1607. "refId" : "A",
  1608. "step" : 120
  1609. }
  1610. ],
  1611. "thresholds" : [
  1612. ],
  1613. "timeFrom" : null,
  1614. "timeShift" : null,
  1615. "title" : "%%COMMUNITY_BRIEF%% gesamt: Router",
  1616. "tooltip" : {
  1617. "shared" : false,
  1618. "sort" : 0,
  1619. "value_type" : "individual"
  1620. },
  1621. "transparent" : true,
  1622. "type" : "graph",
  1623. "xaxis" : {
  1624. "buckets" : null,
  1625. "mode" : "time",
  1626. "name" : null,
  1627. "show" : true,
  1628. "values" : [
  1629. ]
  1630. },
  1631. "yaxes" : [
  1632. {
  1633. "decimals" : null,
  1634. "format" : "none",
  1635. "label" : "",
  1636. "logBase" : 1,
  1637. "max" : null,
  1638. "min" : "0",
  1639. "show" : true
  1640. },
  1641. {
  1642. "decimals" : null,
  1643. "format" : "h",
  1644. "label" : "nodes",
  1645. "logBase" : 1,
  1646. "max" : null,
  1647. "min" : null,
  1648. "show" : false
  1649. }
  1650. ]
  1651. }
  1652. ],
  1653. "repeat" : null,
  1654. "repeatIteration" : null,
  1655. "repeatRowId" : null,
  1656. "showTitle" : false,
  1657. "title" : "%%COMMUNITY_FULL%% gesamt: Router insgesamt\/online\/uplink",
  1658. "titleSize" : "h6"
  1659. }
  1660. ],
  1661. "schemaVersion" : 14,
  1662. "style" : "dark",
  1663. "tags" : [
  1664. ],
  1665. "templating" : {
  1666. "list" : [
  1667. {
  1668. "allValue" : null,
  1669. "current" : {
  1670. "text" : " - noch keine Auswahl -",
  1671. "value" : ""
  1672. },
  1673. "datasource" : null,
  1674. "hide" : 0,
  1675. "includeAll" : false,
  1676. "label" : "Router ausw\u00E4hlen:",
  1677. "multi" : false,
  1678. "name" : "hostname",
  1679. "options" : [
  1680. ],
  1681. "query" : "label_values(%%PROM_INFO_PREFIX%%,hostname)",
  1682. "refresh" : 2,
  1683. "regex" : "",
  1684. "sort" : 1,
  1685. "tagValuesQuery" : "",
  1686. "tags" : [
  1687. ],
  1688. "tagsQuery" : "",
  1689. "type" : "query",
  1690. "useTags" : false
  1691. },
  1692. {
  1693. "allValue" : null,
  1694. "current" : {
  1695. "isNone" : true,
  1696. "text" : "",
  1697. "value" : ""
  1698. },
  1699. "datasource" : null,
  1700. "hide" : 1,
  1701. "includeAll" : false,
  1702. "label" : null,
  1703. "multi" : false,
  1704. "name" : "node_id",
  1705. "options" : [
  1706. ],
  1707. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},node_id)",
  1708. "refresh" : 2,
  1709. "regex" : "",
  1710. "sort" : 0,
  1711. "tagValuesQuery" : "",
  1712. "tags" : [
  1713. ],
  1714. "tagsQuery" : "",
  1715. "type" : "query",
  1716. "useTags" : false
  1717. },
  1718. {
  1719. "allValue" : null,
  1720. "current" : {
  1721. "isNone" : true,
  1722. "text" : "",
  1723. "value" : ""
  1724. },
  1725. "datasource" : null,
  1726. "hide" : 2,
  1727. "includeAll" : false,
  1728. "label" : null,
  1729. "multi" : false,
  1730. "name" : "interfaces",
  1731. "options" : [
  1732. ],
  1733. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},interfaces)",
  1734. "refresh" : 2,
  1735. "regex" : "",
  1736. "sort" : 0,
  1737. "tagValuesQuery" : "",
  1738. "tags" : [
  1739. ],
  1740. "tagsQuery" : "",
  1741. "type" : "query",
  1742. "useTags" : false
  1743. },
  1744. {
  1745. "allValue" : null,
  1746. "current" : {
  1747. "isNone" : true,
  1748. "text" : "",
  1749. "value" : ""
  1750. },
  1751. "datasource" : null,
  1752. "hide" : 2,
  1753. "includeAll" : false,
  1754. "label" : null,
  1755. "multi" : false,
  1756. "name" : "interfaces_lan",
  1757. "options" : [
  1758. ],
  1759. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},interfaces)",
  1760. "refresh" : 2,
  1761. "regex" : "\/.*other:([0-9]+).*\/",
  1762. "sort" : 0,
  1763. "tagValuesQuery" : "",
  1764. "tags" : [
  1765. ],
  1766. "tagsQuery" : "",
  1767. "type" : "query",
  1768. "useTags" : false
  1769. },
  1770. {
  1771. "allValue" : null,
  1772. "current" : {
  1773. "isNone" : true,
  1774. "text" : "",
  1775. "value" : ""
  1776. },
  1777. "datasource" : null,
  1778. "hide" : 2,
  1779. "includeAll" : false,
  1780. "label" : null,
  1781. "multi" : false,
  1782. "name" : "interfaces_wlan",
  1783. "options" : [
  1784. ],
  1785. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},interfaces)",
  1786. "refresh" : 2,
  1787. "regex" : "\/.*wireless:([0-9]+).*\/",
  1788. "sort" : 0,
  1789. "tagValuesQuery" : "",
  1790. "tags" : [
  1791. ],
  1792. "tagsQuery" : "",
  1793. "type" : "query",
  1794. "useTags" : false
  1795. },
  1796. {
  1797. "allValue" : null,
  1798. "current" : {
  1799. "isNone" : true,
  1800. "text" : "",
  1801. "value" : ""
  1802. },
  1803. "datasource" : null,
  1804. "hide" : 2,
  1805. "includeAll" : false,
  1806. "label" : null,
  1807. "multi" : false,
  1808. "name" : "interfaces_vpn",
  1809. "options" : [
  1810. ],
  1811. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},interfaces)",
  1812. "refresh" : 2,
  1813. "regex" : "\/.*tunnel:([0-9]+).*\/",
  1814. "sort" : 0,
  1815. "tagValuesQuery" : "",
  1816. "tags" : [
  1817. ],
  1818. "tagsQuery" : "",
  1819. "type" : "query",
  1820. "useTags" : false
  1821. },
  1822. {
  1823. "allValue" : null,
  1824. "current" : {
  1825. "isNone" : true,
  1826. "text" : "",
  1827. "value" : ""
  1828. },
  1829. "datasource" : null,
  1830. "hide" : 2,
  1831. "includeAll" : false,
  1832. "label" : null,
  1833. "multi" : false,
  1834. "name" : "firstseen",
  1835. "options" : [
  1836. ],
  1837. "query" : "%%PROM_INFO_PREFIX%%%%PROM_SEPERATOR%%firstseen{hostname=\"[[hostname]]\"}",
  1838. "refresh" : 2,
  1839. "regex" : "",
  1840. "sort" : 0,
  1841. "tagValuesQuery" : "",
  1842. "tags" : [
  1843. ],
  1844. "tagsQuery" : "",
  1845. "type" : "query",
  1846. "useTags" : false
  1847. },
  1848. {
  1849. "allValue" : null,
  1850. "current" : {
  1851. "isNone" : true,
  1852. "text" : "",
  1853. "value" : ""
  1854. },
  1855. "datasource" : null,
  1856. "hide" : 2,
  1857. "includeAll" : false,
  1858. "label" : null,
  1859. "multi" : false,
  1860. "name" : "firstseen_year",
  1861. "options" : [
  1862. ],
  1863. "query" : "query_result(year([[firstseen]]))",
  1864. "refresh" : 2,
  1865. "regex" : "\/.*} (.+) .*\/",
  1866. "sort" : 0,
  1867. "tagValuesQuery" : "",
  1868. "tags" : [
  1869. ],
  1870. "tagsQuery" : "",
  1871. "type" : "query",
  1872. "useTags" : false
  1873. },
  1874. {
  1875. "allValue" : null,
  1876. "current" : {
  1877. "isNone" : true,
  1878. "text" : "",
  1879. "value" : ""
  1880. },
  1881. "datasource" : null,
  1882. "hide" : 2,
  1883. "includeAll" : false,
  1884. "label" : null,
  1885. "multi" : false,
  1886. "name" : "firstseen_month",
  1887. "options" : [
  1888. ],
  1889. "query" : "query_result(month([[firstseen]]))",
  1890. "refresh" : 2,
  1891. "regex" : "\/.*} (.+) .*\/",
  1892. "sort" : 0,
  1893. "tagValuesQuery" : "",
  1894. "tags" : [
  1895. ],
  1896. "tagsQuery" : "",
  1897. "type" : "query",
  1898. "useTags" : false
  1899. },
  1900. {
  1901. "allValue" : null,
  1902. "current" : {
  1903. "isNone" : true,
  1904. "text" : "",
  1905. "value" : ""
  1906. },
  1907. "datasource" : null,
  1908. "hide" : 2,
  1909. "includeAll" : false,
  1910. "label" : null,
  1911. "multi" : false,
  1912. "name" : "firstseen_day",
  1913. "options" : [
  1914. ],
  1915. "query" : "query_result(day_of_month([[firstseen]]))",
  1916. "refresh" : 2,
  1917. "regex" : "\/.*} (.+) .*\/",
  1918. "sort" : 0,
  1919. "tagValuesQuery" : "",
  1920. "tags" : [
  1921. ],
  1922. "tagsQuery" : "",
  1923. "type" : "query",
  1924. "useTags" : false
  1925. },
  1926. {
  1927. "allValue" : null,
  1928. "current" : {
  1929. "isNone" : true,
  1930. "text" : "",
  1931. "value" : ""
  1932. },
  1933. "datasource" : null,
  1934. "hide" : 2,
  1935. "includeAll" : false,
  1936. "label" : null,
  1937. "multi" : false,
  1938. "name" : "lastseen",
  1939. "options" : [
  1940. ],
  1941. "query" : "%%PROM_INFO_PREFIX%%%%PROM_SEPERATOR%%lastseen{hostname=\"[[hostname]]\"}",
  1942. "refresh" : 2,
  1943. "regex" : "",
  1944. "sort" : 0,
  1945. "tagValuesQuery" : "",
  1946. "tags" : [
  1947. ],
  1948. "tagsQuery" : "",
  1949. "type" : "query",
  1950. "useTags" : false
  1951. },
  1952. {
  1953. "allValue" : null,
  1954. "current" : {
  1955. "isNone" : true,
  1956. "text" : "",
  1957. "value" : ""
  1958. },
  1959. "datasource" : null,
  1960. "hide" : 2,
  1961. "includeAll" : false,
  1962. "label" : null,
  1963. "multi" : false,
  1964. "name" : "lastseen_year",
  1965. "options" : [
  1966. ],
  1967. "query" : "query_result(year([[lastseen]]))",
  1968. "refresh" : 2,
  1969. "regex" : "\/.*} (.+) .*\/",
  1970. "sort" : 0,
  1971. "tagValuesQuery" : "",
  1972. "tags" : [
  1973. ],
  1974. "tagsQuery" : "",
  1975. "type" : "query",
  1976. "useTags" : false
  1977. },
  1978. {
  1979. "allValue" : null,
  1980. "current" : {
  1981. "isNone" : true,
  1982. "text" : "",
  1983. "value" : ""
  1984. },
  1985. "datasource" : null,
  1986. "hide" : 2,
  1987. "includeAll" : false,
  1988. "label" : null,
  1989. "multi" : false,
  1990. "name" : "lastseen_month",
  1991. "options" : [
  1992. ],
  1993. "query" : "query_result(month([[lastseen]]))",
  1994. "refresh" : 2,
  1995. "regex" : "\/.*} (.+) .*\/",
  1996. "sort" : 0,
  1997. "tagValuesQuery" : "",
  1998. "tags" : [
  1999. ],
  2000. "tagsQuery" : "",
  2001. "type" : "query",
  2002. "useTags" : false
  2003. },
  2004. {
  2005. "allValue" : null,
  2006. "current" : {
  2007. "isNone" : true,
  2008. "text" : "",
  2009. "value" : ""
  2010. },
  2011. "datasource" : null,
  2012. "hide" : 2,
  2013. "includeAll" : false,
  2014. "label" : null,
  2015. "multi" : false,
  2016. "name" : "lastseen_day",
  2017. "options" : [
  2018. ],
  2019. "query" : "query_result(day_of_month([[lastseen]]))",
  2020. "refresh" : 2,
  2021. "regex" : "\/.*} (.+) .*\/",
  2022. "sort" : 0,
  2023. "tagValuesQuery" : "",
  2024. "tags" : [
  2025. ],
  2026. "tagsQuery" : "",
  2027. "type" : "query",
  2028. "useTags" : false
  2029. },
  2030. {
  2031. "allValue" : null,
  2032. "current" : {
  2033. "isNone" : true,
  2034. "text" : "",
  2035. "value" : ""
  2036. },
  2037. "datasource" : null,
  2038. "hide" : 2,
  2039. "includeAll" : false,
  2040. "label" : null,
  2041. "multi" : false,
  2042. "name" : "lastseen_hour",
  2043. "options" : [
  2044. ],
  2045. "query" : "query_result(hour([[lastseen]]))",
  2046. "refresh" : 2,
  2047. "regex" : "\/.*} (.+) .*\/",
  2048. "sort" : 0,
  2049. "tagValuesQuery" : "",
  2050. "tags" : [
  2051. ],
  2052. "tagsQuery" : "",
  2053. "type" : "query",
  2054. "useTags" : false
  2055. },
  2056. {
  2057. "allValue" : null,
  2058. "current" : {
  2059. "isNone" : true,
  2060. "text" : "",
  2061. "value" : ""
  2062. },
  2063. "datasource" : null,
  2064. "hide" : 2,
  2065. "includeAll" : false,
  2066. "label" : null,
  2067. "multi" : false,
  2068. "name" : "lastseen_minute",
  2069. "options" : [
  2070. ],
  2071. "query" : "query_result(minute([[lastseen]]))",
  2072. "refresh" : 2,
  2073. "regex" : "\/.*} (.+) .*\/",
  2074. "sort" : 0,
  2075. "tagValuesQuery" : "",
  2076. "tags" : [
  2077. ],
  2078. "tagsQuery" : "",
  2079. "type" : "query",
  2080. "useTags" : false
  2081. },
  2082. {
  2083. "allValue" : null,
  2084. "current" : {
  2085. "isNone" : true,
  2086. "text" : "",
  2087. "value" : ""
  2088. },
  2089. "datasource" : null,
  2090. "hide" : 2,
  2091. "includeAll" : false,
  2092. "label" : null,
  2093. "multi" : false,
  2094. "name" : "updown",
  2095. "options" : [
  2096. ],
  2097. "query" : "query_result(absent(max_over_time(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%uptime{hostname=\"[[hostname]]\"}[5m])) - 1 or vector(1))",
  2098. "refresh" : 2,
  2099. "regex" : "\/.*} (.+) .*\/",
  2100. "sort" : 0,
  2101. "tagValuesQuery" : "",
  2102. "tags" : [
  2103. ],
  2104. "tagsQuery" : "",
  2105. "type" : "query",
  2106. "useTags" : false
  2107. },
  2108. {
  2109. "allValue" : null,
  2110. "current" : {
  2111. "isNone" : true,
  2112. "text" : "",
  2113. "value" : ""
  2114. },
  2115. "datasource" : null,
  2116. "hide" : 2,
  2117. "includeAll" : false,
  2118. "label" : null,
  2119. "multi" : false,
  2120. "name" : "uptime_seconds",
  2121. "options" : [
  2122. ],
  2123. "query" : "query_result(max(max_over_time(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%uptime{hostname=\"[[hostname]]\"}[5m]) or ([[lastseen]] - time())))",
  2124. "refresh" : 2,
  2125. "regex" : "\/.*} (.+) .*\/",
  2126. "sort" : 0,
  2127. "tagValuesQuery" : "",
  2128. "tags" : [
  2129. ],
  2130. "tagsQuery" : "",
  2131. "type" : "query",
  2132. "useTags" : false
  2133. },
  2134. {
  2135. "allValue" : null,
  2136. "current" : {
  2137. "isNone" : true,
  2138. "text" : "",
  2139. "value" : ""
  2140. },
  2141. "datasource" : null,
  2142. "hide" : 2,
  2143. "includeAll" : false,
  2144. "label" : null,
  2145. "multi" : false,
  2146. "name" : "uptime_minute",
  2147. "options" : [
  2148. ],
  2149. "query" : "query_result(minute(max_over_time(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%uptime{hostname=\"[[hostname]]\"}[5m]) or (time() - [[lastseen]])))",
  2150. "refresh" : 2,
  2151. "regex" : "\/.*} (.+) .*\/",
  2152. "sort" : 0,
  2153. "tagValuesQuery" : "",
  2154. "tags" : [
  2155. ],
  2156. "tagsQuery" : "",
  2157. "type" : "query",
  2158. "useTags" : false
  2159. },
  2160. {
  2161. "allValue" : null,
  2162. "current" : {
  2163. "isNone" : true,
  2164. "text" : "",
  2165. "value" : ""
  2166. },
  2167. "datasource" : null,
  2168. "hide" : 2,
  2169. "includeAll" : false,
  2170. "label" : null,
  2171. "multi" : false,
  2172. "name" : "uptime_hour",
  2173. "options" : [
  2174. ],
  2175. "query" : "query_result(hour(max_over_time(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%uptime{hostname=\"[[hostname]]\"}[5m]) or (time() - [[lastseen]])))",
  2176. "refresh" : 2,
  2177. "regex" : "\/.*} (.+) .*\/",
  2178. "sort" : 0,
  2179. "tagValuesQuery" : "",
  2180. "tags" : [
  2181. ],
  2182. "tagsQuery" : "",
  2183. "type" : "query",
  2184. "useTags" : false
  2185. },
  2186. {
  2187. "allValue" : null,
  2188. "current" : {
  2189. "isNone" : true,
  2190. "text" : "",
  2191. "value" : ""
  2192. },
  2193. "datasource" : null,
  2194. "hide" : 2,
  2195. "includeAll" : false,
  2196. "label" : null,
  2197. "multi" : false,
  2198. "name" : "uptime_day",
  2199. "options" : [
  2200. ],
  2201. "query" : "query_result(day_of_month(max_over_time(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%uptime{hostname=\"[[hostname]]\"}[5m]) or (time() - [[lastseen]])) - 1)",
  2202. "refresh" : 2,
  2203. "regex" : "\/.*} (.+) .*\/",
  2204. "sort" : 0,
  2205. "tagValuesQuery" : "",
  2206. "tags" : [
  2207. ],
  2208. "tagsQuery" : "",
  2209. "type" : "query",
  2210. "useTags" : false
  2211. },
  2212. {
  2213. "allValue" : null,
  2214. "current" : {
  2215. "isNone" : true,
  2216. "text" : "",
  2217. "value" : ""
  2218. },
  2219. "datasource" : null,
  2220. "hide" : 2,
  2221. "includeAll" : false,
  2222. "label" : null,
  2223. "multi" : false,
  2224. "name" : "uptime_month",
  2225. "options" : [
  2226. ],
  2227. "query" : "query_result(month(max_over_time(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%uptime{hostname=\"[[hostname]]\"}[5m]) or (time() - [[lastseen]])) - 1)",
  2228. "refresh" : 2,
  2229. "regex" : "\/.*} (.+) .*\/",
  2230. "sort" : 0,
  2231. "tagValuesQuery" : "",
  2232. "tags" : [
  2233. ],
  2234. "tagsQuery" : "",
  2235. "type" : "query",
  2236. "useTags" : false
  2237. },
  2238. {
  2239. "allValue" : null,
  2240. "current" : {
  2241. "isNone" : true,
  2242. "text" : "",
  2243. "value" : ""
  2244. },
  2245. "datasource" : null,
  2246. "hide" : 2,
  2247. "includeAll" : false,
  2248. "label" : null,
  2249. "multi" : false,
  2250. "name" : "hardware",
  2251. "options" : [
  2252. ],
  2253. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},model)",
  2254. "refresh" : 2,
  2255. "regex" : "",
  2256. "sort" : 0,
  2257. "tagValuesQuery" : "",
  2258. "tags" : [
  2259. ],
  2260. "tagsQuery" : "",
  2261. "type" : "query",
  2262. "useTags" : false
  2263. },
  2264. {
  2265. "allValue" : null,
  2266. "current" : {
  2267. "isNone" : true,
  2268. "text" : "",
  2269. "value" : ""
  2270. },
  2271. "datasource" : null,
  2272. "hide" : 2,
  2273. "includeAll" : false,
  2274. "label" : null,
  2275. "multi" : false,
  2276. "name" : "firmware",
  2277. "options" : [
  2278. ],
  2279. "query" : "query_result(max(max_over_time(%%PROM_INFO_PREFIX%%%%PROM_SEPERATOR%%fw_version{hostname=\"[[hostname]]\"}[7d])))",
  2280. "refresh" : 2,
  2281. "regex" : "\/.*} (.+) .*\/",
  2282. "sort" : 0,
  2283. "tagValuesQuery" : "",
  2284. "tags" : [
  2285. ],
  2286. "tagsQuery" : "",
  2287. "type" : "query",
  2288. "useTags" : false
  2289. },
  2290. {
  2291. "allValue" : null,
  2292. "current" : {
  2293. "isNone" : true,
  2294. "text" : "",
  2295. "value" : ""
  2296. },
  2297. "datasource" : null,
  2298. "hide" : 2,
  2299. "includeAll" : false,
  2300. "label" : null,
  2301. "multi" : false,
  2302. "name" : "branch",
  2303. "options" : [
  2304. ],
  2305. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},branch)",
  2306. "refresh" : 2,
  2307. "regex" : "",
  2308. "sort" : 0,
  2309. "tagValuesQuery" : "",
  2310. "tags" : [
  2311. ],
  2312. "tagsQuery" : "",
  2313. "type" : "query",
  2314. "useTags" : false
  2315. },
  2316. {
  2317. "allValue" : null,
  2318. "current" : {
  2319. "isNone" : true,
  2320. "text" : "",
  2321. "value" : ""
  2322. },
  2323. "datasource" : null,
  2324. "hide" : 2,
  2325. "includeAll" : false,
  2326. "label" : null,
  2327. "multi" : false,
  2328. "name" : "base",
  2329. "options" : [
  2330. ],
  2331. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},base)",
  2332. "refresh" : 2,
  2333. "regex" : "",
  2334. "sort" : 0,
  2335. "tagValuesQuery" : "",
  2336. "tags" : [
  2337. ],
  2338. "tagsQuery" : "",
  2339. "type" : "query",
  2340. "useTags" : false
  2341. },
  2342. {
  2343. "allValue" : null,
  2344. "current" : {
  2345. "isNone" : true,
  2346. "text" : "",
  2347. "value" : ""
  2348. },
  2349. "datasource" : null,
  2350. "hide" : 2,
  2351. "includeAll" : false,
  2352. "label" : null,
  2353. "multi" : false,
  2354. "name" : "autoupdater",
  2355. "options" : [
  2356. ],
  2357. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},autoupdater)",
  2358. "refresh" : 2,
  2359. "regex" : "",
  2360. "sort" : 0,
  2361. "tagValuesQuery" : "",
  2362. "tags" : [
  2363. ],
  2364. "tagsQuery" : "",
  2365. "type" : "query",
  2366. "useTags" : false
  2367. },
  2368. {
  2369. "allValue" : null,
  2370. "current" : {
  2371. "isNone" : true,
  2372. "text" : "",
  2373. "value" : ""
  2374. },
  2375. "datasource" : null,
  2376. "hide" : 2,
  2377. "includeAll" : false,
  2378. "label" : null,
  2379. "multi" : false,
  2380. "name" : "uplink",
  2381. "options" : [
  2382. ],
  2383. "query" : "query_result(max(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%uplink{hostname=\"[[hostname]]\"} or vector(-1)))",
  2384. "refresh" : 2,
  2385. "regex" : "\/.*} (.+) .*\/",
  2386. "sort" : 0,
  2387. "tagValuesQuery" : "",
  2388. "tags" : [
  2389. ],
  2390. "tagsQuery" : "",
  2391. "type" : "query",
  2392. "useTags" : false
  2393. },
  2394. {
  2395. "allValue" : null,
  2396. "current" : {
  2397. "isNone" : true,
  2398. "text" : "",
  2399. "value" : ""
  2400. },
  2401. "datasource" : null,
  2402. "hide" : 2,
  2403. "includeAll" : false,
  2404. "label" : null,
  2405. "multi" : false,
  2406. "name" : "fastd",
  2407. "options" : [
  2408. ],
  2409. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},fastd)",
  2410. "refresh" : 2,
  2411. "regex" : "",
  2412. "sort" : 0,
  2413. "tagValuesQuery" : "",
  2414. "tags" : [
  2415. ],
  2416. "tagsQuery" : "",
  2417. "type" : "query",
  2418. "useTags" : false
  2419. },
  2420. {
  2421. "allValue" : null,
  2422. "current" : {
  2423. "isNone" : true,
  2424. "text" : "",
  2425. "value" : ""
  2426. },
  2427. "datasource" : null,
  2428. "hide" : 2,
  2429. "includeAll" : false,
  2430. "label" : null,
  2431. "multi" : false,
  2432. "name" : "gateway",
  2433. "options" : [
  2434. ],
  2435. "query" : "%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"}",
  2436. "refresh" : 2,
  2437. "regex" : "\/.*gateway=\"([^\"]*)\".*\/",
  2438. "sort" : 0,
  2439. "tagValuesQuery" : "",
  2440. "tags" : [
  2441. ],
  2442. "tagsQuery" : "",
  2443. "type" : "query",
  2444. "useTags" : false
  2445. },
  2446. {
  2447. "allValue" : null,
  2448. "current" : {
  2449. "isNone" : true,
  2450. "text" : "",
  2451. "value" : ""
  2452. },
  2453. "datasource" : null,
  2454. "hide" : 2,
  2455. "includeAll" : false,
  2456. "label" : null,
  2457. "multi" : false,
  2458. "name" : "latitude",
  2459. "options" : [
  2460. ],
  2461. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"}, latitude)",
  2462. "refresh" : 2,
  2463. "regex" : "",
  2464. "sort" : 0,
  2465. "tagValuesQuery" : "",
  2466. "tags" : [
  2467. ],
  2468. "tagsQuery" : "",
  2469. "type" : "query",
  2470. "useTags" : false
  2471. },
  2472. {
  2473. "allValue" : null,
  2474. "current" : {
  2475. "isNone" : true,
  2476. "text" : "",
  2477. "value" : ""
  2478. },
  2479. "datasource" : null,
  2480. "hide" : 2,
  2481. "includeAll" : false,
  2482. "label" : null,
  2483. "multi" : false,
  2484. "name" : "longitude",
  2485. "options" : [
  2486. ],
  2487. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"}, longitude)",
  2488. "refresh" : 2,
  2489. "regex" : "",
  2490. "sort" : 0,
  2491. "tagValuesQuery" : "",
  2492. "tags" : [
  2493. ],
  2494. "tagsQuery" : "",
  2495. "type" : "query",
  2496. "useTags" : false
  2497. },
  2498. {
  2499. "allValue" : null,
  2500. "current" : {
  2501. "isNone" : true,
  2502. "text" : "",
  2503. "value" : ""
  2504. },
  2505. "datasource" : null,
  2506. "hide" : 2,
  2507. "includeAll" : false,
  2508. "label" : null,
  2509. "multi" : false,
  2510. "name" : "clients",
  2511. "options" : [
  2512. ],
  2513. "query" : "query_result(max(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{hostname=\"[[hostname]]\"} or vector(-1)))",
  2514. "refresh" : 2,
  2515. "regex" : "\/.*} (.+) .*\/",
  2516. "sort" : 0,
  2517. "tagValuesQuery" : "",
  2518. "tags" : [
  2519. ],
  2520. "tagsQuery" : "",
  2521. "type" : "query",
  2522. "useTags" : false
  2523. },
  2524. {
  2525. "allValue" : null,
  2526. "current" : {
  2527. "isNone" : true,
  2528. "text" : "",
  2529. "value" : ""
  2530. },
  2531. "datasource" : null,
  2532. "hide" : 2,
  2533. "includeAll" : false,
  2534. "label" : null,
  2535. "multi" : false,
  2536. "name" : "clients_max",
  2537. "options" : [
  2538. ],
  2539. "query" : "query_result(max(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients))",
  2540. "refresh" : 2,
  2541. "regex" : "\/.*} (.+) .*\/",
  2542. "sort" : 0,
  2543. "tagValuesQuery" : "",
  2544. "tags" : [
  2545. ],
  2546. "tagsQuery" : "",
  2547. "type" : "query",
  2548. "useTags" : false
  2549. },
  2550. {
  2551. "allValue" : null,
  2552. "current" : {
  2553. "isNone" : true,
  2554. "text" : "",
  2555. "value" : ""
  2556. },
  2557. "datasource" : null,
  2558. "hide" : 2,
  2559. "includeAll" : false,
  2560. "label" : null,
  2561. "multi" : false,
  2562. "name" : "now",
  2563. "options" : [
  2564. ],
  2565. "query" : "query_result(vector(time()))",
  2566. "refresh" : 2,
  2567. "regex" : "\/.* (.+) .*\/",
  2568. "sort" : 0,
  2569. "tagValuesQuery" : "",
  2570. "tags" : [
  2571. ],
  2572. "tagsQuery" : "",
  2573. "type" : "query",
  2574. "useTags" : false
  2575. },
  2576. {
  2577. "allValue" : null,
  2578. "current" : {
  2579. "isNone" : true,
  2580. "text" : "",
  2581. "value" : ""
  2582. },
  2583. "datasource" : null,
  2584. "hide" : 2,
  2585. "includeAll" : false,
  2586. "label" : null,
  2587. "multi" : false,
  2588. "name" : "now_year",
  2589. "options" : [
  2590. ],
  2591. "query" : "query_result(year(vector(time())))",
  2592. "refresh" : 2,
  2593. "regex" : "\/.* (.+) .*\/",
  2594. "sort" : 0,
  2595. "tagValuesQuery" : "",
  2596. "tags" : [
  2597. ],
  2598. "tagsQuery" : "",
  2599. "type" : "query",
  2600. "useTags" : false
  2601. },
  2602. {
  2603. "allValue" : null,
  2604. "current" : {
  2605. "isNone" : true,
  2606. "text" : "",
  2607. "value" : ""
  2608. },
  2609. "datasource" : null,
  2610. "hide" : 2,
  2611. "includeAll" : false,
  2612. "label" : null,
  2613. "multi" : false,
  2614. "name" : "now_month",
  2615. "options" : [
  2616. ],
  2617. "query" : "query_result(month(vector(time())))",
  2618. "refresh" : 2,
  2619. "regex" : "\/.* (.+) .*\/",
  2620. "sort" : 0,
  2621. "tagValuesQuery" : "",
  2622. "tags" : [
  2623. ],
  2624. "tagsQuery" : "",
  2625. "type" : "query",
  2626. "useTags" : false
  2627. },
  2628. {
  2629. "allValue" : null,
  2630. "current" : {
  2631. "isNone" : true,
  2632. "text" : "",
  2633. "value" : ""
  2634. },
  2635. "datasource" : null,
  2636. "hide" : 2,
  2637. "includeAll" : false,
  2638. "label" : null,
  2639. "multi" : false,
  2640. "name" : "now_day",
  2641. "options" : [
  2642. ],
  2643. "query" : "query_result(day_of_month(vector(time())))",
  2644. "refresh" : 2,
  2645. "regex" : "\/.* (.+) .*\/",
  2646. "sort" : 0,
  2647. "tagValuesQuery" : "",
  2648. "tags" : [
  2649. ],
  2650. "tagsQuery" : "",
  2651. "type" : "query",
  2652. "useTags" : false
  2653. },
  2654. {
  2655. "allValue" : null,
  2656. "current" : {
  2657. "isNone" : true,
  2658. "text" : "",
  2659. "value" : ""
  2660. },
  2661. "datasource" : null,
  2662. "hide" : 2,
  2663. "includeAll" : false,
  2664. "label" : null,
  2665. "multi" : false,
  2666. "name" : "now_hour",
  2667. "options" : [
  2668. ],
  2669. "query" : "query_result(hour(vector(time())))",
  2670. "refresh" : 2,
  2671. "regex" : "\/.* (.+) .*\/",
  2672. "sort" : 0,
  2673. "tagValuesQuery" : "",
  2674. "tags" : [
  2675. ],
  2676. "tagsQuery" : "",
  2677. "type" : "query",
  2678. "useTags" : false
  2679. },
  2680. {
  2681. "allValue" : null,
  2682. "current" : {
  2683. "isNone" : true,
  2684. "text" : "",
  2685. "value" : ""
  2686. },
  2687. "datasource" : null,
  2688. "hide" : 2,
  2689. "includeAll" : false,
  2690. "label" : null,
  2691. "multi" : false,
  2692. "name" : "now_minute",
  2693. "options" : [
  2694. ],
  2695. "query" : "query_result(minute(vector(time())))",
  2696. "refresh" : 2,
  2697. "regex" : "\/.* (.+) .*\/",
  2698. "sort" : 0,
  2699. "tagValuesQuery" : "",
  2700. "tags" : [
  2701. ],
  2702. "tagsQuery" : "",
  2703. "type" : "query",
  2704. "useTags" : false
  2705. },
  2706. {
  2707. "allValue" : null,
  2708. "current" : {
  2709. "isNone" : true,
  2710. "text" : "",
  2711. "value" : ""
  2712. },
  2713. "datasource" : null,
  2714. "hide" : 2,
  2715. "includeAll" : false,
  2716. "label" : null,
  2717. "multi" : false,
  2718. "name" : "autoupdater_int",
  2719. "options" : [
  2720. ],
  2721. "query" : "query_result(vector(count_scalar(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\",autoupdater=\"true\"})))",
  2722. "refresh" : 2,
  2723. "regex" : "\/.* (.+) .*\/",
  2724. "sort" : 0,
  2725. "tagValuesQuery" : "",
  2726. "tags" : [
  2727. ],
  2728. "tagsQuery" : "",
  2729. "type" : "query",
  2730. "useTags" : false
  2731. },
  2732. {
  2733. "allValue" : null,
  2734. "current" : {
  2735. "isNone" : true,
  2736. "text" : "",
  2737. "value" : ""
  2738. },
  2739. "datasource" : null,
  2740. "hide" : 2,
  2741. "includeAll" : false,
  2742. "label" : null,
  2743. "multi" : false,
  2744. "name" : "uplink_now",
  2745. "options" : [
  2746. ],
  2747. "query" : "query_result(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%uplink{hostname=\"[[hostname]]\"})",
  2748. "refresh" : 2,
  2749. "regex" : "\/.*} (.+) .*\/",
  2750. "sort" : 0,
  2751. "tagValuesQuery" : "",
  2752. "tags" : [
  2753. ],
  2754. "tagsQuery" : "",
  2755. "type" : "query",
  2756. "useTags" : false
  2757. },
  2758. {
  2759. "allValue" : null,
  2760. "current" : {
  2761. "isNone" : true,
  2762. "text" : "",
  2763. "value" : ""
  2764. },
  2765. "datasource" : null,
  2766. "hide" : 2,
  2767. "includeAll" : false,
  2768. "label" : null,
  2769. "multi" : false,
  2770. "name" : "uplink_known",
  2771. "options" : [
  2772. ],
  2773. "query" : "query_result(min(round(avg_over_time(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%uplink{hostname=\"[[hostname]]\"}[7d])) or vector(2)))",
  2774. "refresh" : 2,
  2775. "regex" : "\/.*} (.+) .*\/",
  2776. "sort" : 0,
  2777. "tagValuesQuery" : "",
  2778. "tags" : [
  2779. ],
  2780. "tagsQuery" : "",
  2781. "type" : "query",
  2782. "useTags" : false
  2783. },
  2784. {
  2785. "allValue" : null,
  2786. "current" : {
  2787. },
  2788. "datasource" : null,
  2789. "hide" : 0,
  2790. "includeAll" : false,
  2791. "label" : "Nachbar ausw\u00E4hlen:",
  2792. "multi" : false,
  2793. "name" : "neighbor_name",
  2794. "options" : [
  2795. ],
  2796. "query" : "query_result(%%PROM_INFO_PREFIX%% and on (node_id) (label_replace(min_over_time(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%link{source=\"[[node_id]]\"}[1d]),\"node_id\",\"$1\",\"target\",\"(.*)\") or label_replace(min_over_time(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%link{target=\"[[node_id]]\"}[1d]),\"node_id\",\"$1\",\"source\",\"(.*)\")))",
  2797. "refresh" : 2,
  2798. "regex" : "\/.*hostname=\"([^\"]+)\".*\/",
  2799. "sort" : 1,
  2800. "tagValuesQuery" : "",
  2801. "tags" : [
  2802. ],
  2803. "tagsQuery" : "",
  2804. "type" : "query",
  2805. "useTags" : false
  2806. },
  2807. {
  2808. "allValue" : null,
  2809. "current" : {
  2810. },
  2811. "datasource" : null,
  2812. "hide" : 1,
  2813. "includeAll" : false,
  2814. "label" : null,
  2815. "multi" : false,
  2816. "name" : "neighbor_id",
  2817. "options" : [
  2818. ],
  2819. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[neighbor_name]]\"},node_id)",
  2820. "refresh" : 2,
  2821. "regex" : "",
  2822. "sort" : 0,
  2823. "tagValuesQuery" : "",
  2824. "tags" : [
  2825. ],
  2826. "tagsQuery" : "",
  2827. "type" : "query",
  2828. "useTags" : false
  2829. },
  2830. {
  2831. "allValue" : null,
  2832. "current" : {
  2833. },
  2834. "datasource" : null,
  2835. "hide" : 2,
  2836. "includeAll" : false,
  2837. "label" : null,
  2838. "multi" : false,
  2839. "name" : "link_source_id",
  2840. "options" : [
  2841. ],
  2842. "query" : "query_result(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%link{source=\"[[node_id]]\",target=\"[[neighbor_id]]\"} or %%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%link{source=\"[[neighbor_id]]\",target=\"[[node_id]]\"})",
  2843. "refresh" : 2,
  2844. "regex" : "\/.*source=\"([^\"]+)\".*\/",
  2845. "sort" : 0,
  2846. "tagValuesQuery" : "",
  2847. "tags" : [
  2848. ],
  2849. "tagsQuery" : "",
  2850. "type" : "query",
  2851. "useTags" : false
  2852. },
  2853. {
  2854. "allValue" : null,
  2855. "current" : {
  2856. },
  2857. "datasource" : null,
  2858. "hide" : 2,
  2859. "includeAll" : false,
  2860. "label" : null,
  2861. "multi" : false,
  2862. "name" : "link_target_id",
  2863. "options" : [
  2864. ],
  2865. "query" : "query_result(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%link{source=\"[[node_id]]\",target=\"[[neighbor_id]]\"} or %%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%link{source=\"[[neighbor_id]]\",target=\"[[node_id]]\"})",
  2866. "refresh" : 2,
  2867. "regex" : "\/.*target=\"([^\"]+)\".*\/",
  2868. "sort" : 0,
  2869. "tagValuesQuery" : "",
  2870. "tags" : [
  2871. ],
  2872. "tagsQuery" : "",
  2873. "type" : "query",
  2874. "useTags" : false
  2875. },
  2876. {
  2877. "allValue" : null,
  2878. "current" : {
  2879. },
  2880. "datasource" : null,
  2881. "hide" : 2,
  2882. "includeAll" : false,
  2883. "label" : null,
  2884. "multi" : false,
  2885. "name" : "mesh_id",
  2886. "options" : [
  2887. ],
  2888. "query" : "query_result(max(max_over_time(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh{members=~\".*[[node_id]].*\"}[1d])) by (node_id) == scalar(max(max_over_time(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh{members=~\".*[[node_id]].*\"}[1d]))))",
  2889. "refresh" : 2,
  2890. "regex" : "\/.*node_id=\"([^\\\"]+)\".*\/",
  2891. "sort" : 1,
  2892. "tagValuesQuery" : "",
  2893. "tags" : [
  2894. ],
  2895. "tagsQuery" : "",
  2896. "type" : "query",
  2897. "useTags" : false
  2898. },
  2899. {
  2900. "allValue" : null,
  2901. "current" : {
  2902. },
  2903. "datasource" : null,
  2904. "hide" : 2,
  2905. "includeAll" : false,
  2906. "label" : null,
  2907. "multi" : false,
  2908. "name" : "mesh_name",
  2909. "options" : [
  2910. ],
  2911. "query" : "label_values(%%PROM_INFO_PREFIX%%{node_id=\"[[mesh_id]]\"},hostname)",
  2912. "refresh" : 2,
  2913. "regex" : "",
  2914. "sort" : 0,
  2915. "tagValuesQuery" : "",
  2916. "tags" : [
  2917. ],
  2918. "tagsQuery" : "",
  2919. "type" : "query",
  2920. "useTags" : false
  2921. }
  2922. ]
  2923. },
  2924. "time" : {
  2925. "from" : "now-24h",
  2926. "to" : "now"
  2927. },
  2928. "timepicker" : {
  2929. "refresh_intervals" : [
  2930. "5s",
  2931. "10s",
  2932. "30s",
  2933. "1m",
  2934. "5m",
  2935. "15m",
  2936. "30m",
  2937. "1h",
  2938. "2h",
  2939. "1d"
  2940. ],
  2941. "time_options" : [
  2942. "5m",
  2943. "15m",
  2944. "1h",
  2945. "6h",
  2946. "12h",
  2947. "24h",
  2948. "2d",
  2949. "7d",
  2950. "30d"
  2951. ]
  2952. },
  2953. "timezone" : "",
  2954. "title" : "%%DASHBOARD_PREFIX%%status-render",
  2955. "version" : 19
  2956. }