status.json.in 66 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858
  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.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.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ührende links.\n\n### Übersicht\n%%DASHBOARD_PREFIX%%status liefert Informationen über einen %%COMMUNITY_BRIEF%%-Knoten (Freifunk-Router). Diese Seite (ein sog. Dashboard) ist zeilenweise aufgebaut. Ab der 3. Zeile können die Zeilen auf- und zugeklappt werden.\n\n- 1. Zeile: Hier kannst du dich zB anmelden, andere Grafana-Seiten (Dashboards) auswählen oder den dargestellten Zeitraum ändern.\n- 2. Zeile: Knoten und ggf. einen Nachbarn des Knotens auswählen.\n- 3. Zeile: Dieser Text \"Das was keiner liest\".\n- 4. Zeile: Die Anzeige der aktuellen Nutzerzahl (clients) des Knotens, 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 Überschrift die mit dem Zeichen **>** beginnt.\n- Um eine Zeile aufzuklappen, auf die Überschrift klicken.\n- Um eine Zeile zuzuklappen, in der Höhe der Überschrift den Mauszeiger zum linken Seitenrand bewegen. Dort erscheint **Collapse**. Da drauf klicken. Anschließend ist nur noch die Überschrift zu sehen.\n\n### Knoten auswählen\nIn der 2. Zeile wählst du den Knoten und ggf. einen Nachbarknoten. Dafür gibt es vier Auswahlfelder.\n\n**Knoten auswählen**\n- In das Feld 'Knoten auswählen' klicken. Die Knotenliste poppt auf. \n- Knotenname direkt eingeben oder aus der Liste auswählen.\n\nIst ein Knotenname doppelt vorhanden, kann im Feld daneben über die node_id (eindeutige Knotenkennung) der gesuchte Knoten ausgewählt werden.\n\n**Nachbar auswählen**\n\nNachdem du einen Knoten ausgewählt hast, kannst du über das Feld \"Nachbar auswählen\" einen benachbarten Knoten auswählen (sofern es Nachbarn gibt). In der Liste \"Nachbar auswählen\" stehen alle Knoten, die der ausgewählte Knoten direkt erreichen kann. Erst wenn du hier einen Nachbarn ausgewählt hast, kann im TQ-Diagramm die Verbindungsqualität zwischen diesen zwei Knoten dargestellt werden.\n\nFür den Fall, dass ein Knotenname doppelt vergeben wurde, gibt es daneben ebenfalls ein Feld, in dem der Nachbar über die node_id ausgewählt werden kann.\n\n#### Zur Status-Seite des Nachbarknotens und zur Mesh-Übersicht wechseln\nAm Ende der 2. Zeile (ganz rechts) gibt es zwei Schaltflächen: eine mit dem Namen des ausgewählten Nachbarknotens und eine namens **Mesh**. Darüber kannst du die Status-Seite des Nachbarknotens aufrufen bzw. die Übersichtsseite für das Mesh, zu dem der Knoten gehört. (Zum Mesh gehören nicht nur die die direkten Nachbarn eines Knotens, sondern auch die Nachbarn der Nachbarn usw.)\n\nDie beiden Schaltflächen sind immer vorhanden, auch wenn der ausgewählte Knoten gar keinen Nachbarknoten hat, dann allerdings ohne einen Knotennamen. Klickst du trotzdem darauf, erhältst du eine Fehlermeldung.\n\n### Die Darstellung der Diagramme ändern\n\nAuch ohne dich im Grafana anzumelden, kannst du einige Anzeige-Optionen ändern.\n\n#### Zeitraum auswählen\n- Oben rechts auf der Seite wird der aktuell dargestellte Zeitraum angezeigt. Da drauf klicken.\n- Einen anderen Zeitraum auswählen.\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ückt halten und auf den Namen klicken.\n- Um mehrere Kurven auszuwählen, beim Klicken 'Shift' oder 'Strg' gedrückt halten.\n\n#### Farben der Kurven ändern\n- In der Legende auf die farbige Linie klicken und gewünschte Farbe auswählen.\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öglichkeiten das Passende aussuchen.\n\n### Weiterführende 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" : "Knoteninfos \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>Knoten <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 Nachbarknoten <a href=\"%%MAP_LINK_URL%%[[link_source_id]]-[[link_target_id]]\">auf der map<\/a> (nur wenn Nachbarknoten angegeben ist -> <code>[[neighbor_id]]<\/code>)<\/p>",
  797. "id" : 20,
  798. "links" : [
  799. ],
  800. "mode" : "html",
  801. "span" : 12,
  802. "title" : "Knoteninfos komplett (als Text) [[hostname]]",
  803. "type" : "text"
  804. }
  805. ],
  806. "repeat" : null,
  807. "repeatIteration" : null,
  808. "repeatRowId" : null,
  809. "showTitle" : false,
  810. "title" : "Knoteninfos komplett (als Text) [[hostname]]",
  811. "titleSize" : "h6"
  812. },
  813. {
  814. "collapse" : false,
  815. "height" : 266,
  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" : false,
  833. "hideEmpty" : true,
  834. "hideZero" : true,
  835. "max" : true,
  836. "min" : true,
  837. "rightSide" : true,
  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" : false,
  975. "hideEmpty" : true,
  976. "hideZero" : true,
  977. "max" : true,
  978. "min" : false,
  979. "rightSide" : true,
  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" : false,
  1115. "hideEmpty" : true,
  1116. "max" : true,
  1117. "min" : false,
  1118. "rightSide" : true,
  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. },
  1240. "bars" : false,
  1241. "dashLength" : 10,
  1242. "dashes" : false,
  1243. "datasource" : null,
  1244. "fill" : 0,
  1245. "id" : 23,
  1246. "legend" : {
  1247. "alignAsTable" : true,
  1248. "avg" : true,
  1249. "current" : true,
  1250. "hideEmpty" : true,
  1251. "max" : false,
  1252. "min" : false,
  1253. "rightSide" : true,
  1254. "show" : true,
  1255. "total" : false,
  1256. "values" : true
  1257. },
  1258. "lines" : true,
  1259. "linewidth" : 1,
  1260. "links" : [
  1261. ],
  1262. "nullPointMode" : "null",
  1263. "percentage" : false,
  1264. "pointradius" : 5,
  1265. "points" : false,
  1266. "renderer" : "flot",
  1267. "seriesOverrides" : [
  1268. ],
  1269. "spaceLength" : 10,
  1270. "span" : 12,
  1271. "stack" : false,
  1272. "steppedLine" : false,
  1273. "targets" : [
  1274. {
  1275. "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]]\"})",
  1276. "format" : "time_series",
  1277. "intervalFactor" : 2,
  1278. "legendFormat" : "TQ",
  1279. "refId" : "A",
  1280. "step" : 120
  1281. }
  1282. ],
  1283. "thresholds" : [
  1284. ],
  1285. "timeFrom" : null,
  1286. "timeShift" : null,
  1287. "title" : "TQ [[hostname]] - [[neighbor_name]]",
  1288. "tooltip" : {
  1289. "shared" : true,
  1290. "sort" : 0,
  1291. "value_type" : "individual"
  1292. },
  1293. "type" : "graph",
  1294. "xaxis" : {
  1295. "buckets" : null,
  1296. "mode" : "time",
  1297. "name" : null,
  1298. "show" : true,
  1299. "values" : [
  1300. ]
  1301. },
  1302. "yaxes" : [
  1303. {
  1304. "format" : "percent",
  1305. "label" : "",
  1306. "logBase" : 1,
  1307. "max" : "100",
  1308. "min" : "0",
  1309. "show" : true
  1310. },
  1311. {
  1312. "format" : "short",
  1313. "label" : null,
  1314. "logBase" : 1,
  1315. "max" : null,
  1316. "min" : null,
  1317. "show" : true
  1318. }
  1319. ]
  1320. }
  1321. ],
  1322. "repeat" : null,
  1323. "repeatIteration" : null,
  1324. "repeatRowId" : null,
  1325. "showTitle" : false,
  1326. "title" : "TransmitQuality (TQ) zu [[neighbor_name]]",
  1327. "titleSize" : "h6"
  1328. },
  1329. {
  1330. "collapse" : false,
  1331. "height" : 259,
  1332. "panels" : [
  1333. {
  1334. "aliasColors" : {
  1335. "%%COMMUNITY_BRIEF%%-Router - online" : "#1F78C1",
  1336. "NutzerInnen" : "#EAB839",
  1337. "Router - online" : "#1F78C1"
  1338. },
  1339. "bars" : false,
  1340. "dashLength" : 10,
  1341. "dashes" : false,
  1342. "datasource" : null,
  1343. "decimals" : null,
  1344. "fill" : 0,
  1345. "hideTimeOverride" : false,
  1346. "id" : 1,
  1347. "legend" : {
  1348. "alignAsTable" : true,
  1349. "avg" : true,
  1350. "current" : true,
  1351. "max" : false,
  1352. "min" : false,
  1353. "rightSide" : true,
  1354. "show" : true,
  1355. "sideWidth" : null,
  1356. "total" : false,
  1357. "values" : true
  1358. },
  1359. "lines" : true,
  1360. "linewidth" : 2,
  1361. "links" : [
  1362. ],
  1363. "nullPointMode" : "null",
  1364. "percentage" : false,
  1365. "pointradius" : 5,
  1366. "points" : false,
  1367. "renderer" : "flot",
  1368. "seriesOverrides" : [
  1369. ],
  1370. "spaceLength" : 10,
  1371. "span" : 12,
  1372. "stack" : false,
  1373. "steppedLine" : false,
  1374. "targets" : [
  1375. {
  1376. "expr" : "%%PROM_SUMMARY_PREFIX%%{count=\"clients\"}",
  1377. "format" : "time_series",
  1378. "hide" : false,
  1379. "intervalFactor" : 2,
  1380. "legendFormat" : "NutzerInnen",
  1381. "refId" : "A",
  1382. "step" : 120
  1383. },
  1384. {
  1385. "expr" : "%%PROM_SUMMARY_PREFIX%%{count=\"online\"}",
  1386. "format" : "time_series",
  1387. "intervalFactor" : 2,
  1388. "legendFormat" : "Router - online",
  1389. "refId" : "B",
  1390. "step" : 120
  1391. }
  1392. ],
  1393. "thresholds" : [
  1394. ],
  1395. "timeFrom" : null,
  1396. "timeShift" : null,
  1397. "title" : "%%COMMUNITY_FULL%% gesamt: Router online und NutzerInnen",
  1398. "tooltip" : {
  1399. "shared" : false,
  1400. "sort" : 0,
  1401. "value_type" : "individual"
  1402. },
  1403. "transparent" : true,
  1404. "type" : "graph",
  1405. "xaxis" : {
  1406. "buckets" : null,
  1407. "mode" : "time",
  1408. "name" : null,
  1409. "show" : true,
  1410. "values" : [
  1411. ]
  1412. },
  1413. "yaxes" : [
  1414. {
  1415. "decimals" : null,
  1416. "format" : "none",
  1417. "label" : "",
  1418. "logBase" : 1,
  1419. "max" : null,
  1420. "min" : "0",
  1421. "show" : true
  1422. },
  1423. {
  1424. "decimals" : null,
  1425. "format" : "h",
  1426. "label" : "nodes",
  1427. "logBase" : 1,
  1428. "max" : null,
  1429. "min" : null,
  1430. "show" : false
  1431. }
  1432. ]
  1433. }
  1434. ],
  1435. "repeat" : null,
  1436. "repeatIteration" : null,
  1437. "repeatRowId" : null,
  1438. "showTitle" : false,
  1439. "title" : "%%COMMUNITY_FULL%% gesamt: Router online und NutzerInnen",
  1440. "titleSize" : "h6"
  1441. },
  1442. {
  1443. "collapse" : true,
  1444. "height" : 232,
  1445. "panels" : [
  1446. {
  1447. "aliasColors" : {
  1448. "%%COMMUNITY_BRIEF%%-Router - online" : "#1F78C1",
  1449. "Knoten insgesamt" : "#E24D42",
  1450. "Knoten mit uplink" : "#508642",
  1451. "Knoten online" : "#1F78C1",
  1452. "NutzerInnen" : "#EAB839",
  1453. "Router insgesamt" : "#BF1B00",
  1454. "Router mit uplink" : "#7EB26D",
  1455. "Router online" : "#1F78C1"
  1456. },
  1457. "bars" : false,
  1458. "dashLength" : 10,
  1459. "dashes" : false,
  1460. "datasource" : null,
  1461. "decimals" : null,
  1462. "fill" : 0,
  1463. "hideTimeOverride" : false,
  1464. "id" : 2,
  1465. "legend" : {
  1466. "alignAsTable" : true,
  1467. "avg" : true,
  1468. "current" : true,
  1469. "max" : false,
  1470. "min" : false,
  1471. "rightSide" : true,
  1472. "show" : true,
  1473. "sideWidth" : null,
  1474. "total" : false,
  1475. "values" : true
  1476. },
  1477. "lines" : true,
  1478. "linewidth" : 2,
  1479. "links" : [
  1480. ],
  1481. "nullPointMode" : "null",
  1482. "percentage" : false,
  1483. "pointradius" : 5,
  1484. "points" : false,
  1485. "renderer" : "flot",
  1486. "seriesOverrides" : [
  1487. ],
  1488. "spaceLength" : 10,
  1489. "span" : 12,
  1490. "stack" : false,
  1491. "steppedLine" : false,
  1492. "targets" : [
  1493. {
  1494. "expr" : "%%PROM_SUMMARY_PREFIX%%{count=\"nodes\"}",
  1495. "format" : "time_series",
  1496. "intervalFactor" : 2,
  1497. "legendFormat" : "Router insgesamt",
  1498. "refId" : "C",
  1499. "step" : 120
  1500. },
  1501. {
  1502. "expr" : "%%PROM_SUMMARY_PREFIX%%{count=\"online\"}",
  1503. "format" : "time_series",
  1504. "intervalFactor" : 2,
  1505. "legendFormat" : "Router online",
  1506. "refId" : "B",
  1507. "step" : 120
  1508. },
  1509. {
  1510. "expr" : "%%PROM_SUMMARY_PREFIX%%{count=\"uplink\"}",
  1511. "format" : "time_series",
  1512. "hide" : false,
  1513. "intervalFactor" : 2,
  1514. "legendFormat" : "Router mit uplink",
  1515. "refId" : "A",
  1516. "step" : 120
  1517. }
  1518. ],
  1519. "thresholds" : [
  1520. ],
  1521. "timeFrom" : null,
  1522. "timeShift" : null,
  1523. "title" : "%%COMMUNITY_BRIEF%% gesamt: Router",
  1524. "tooltip" : {
  1525. "shared" : false,
  1526. "sort" : 0,
  1527. "value_type" : "individual"
  1528. },
  1529. "transparent" : true,
  1530. "type" : "graph",
  1531. "xaxis" : {
  1532. "buckets" : null,
  1533. "mode" : "time",
  1534. "name" : null,
  1535. "show" : true,
  1536. "values" : [
  1537. ]
  1538. },
  1539. "yaxes" : [
  1540. {
  1541. "decimals" : null,
  1542. "format" : "none",
  1543. "label" : "",
  1544. "logBase" : 1,
  1545. "max" : null,
  1546. "min" : "0",
  1547. "show" : true
  1548. },
  1549. {
  1550. "decimals" : null,
  1551. "format" : "h",
  1552. "label" : "nodes",
  1553. "logBase" : 1,
  1554. "max" : null,
  1555. "min" : null,
  1556. "show" : false
  1557. }
  1558. ]
  1559. }
  1560. ],
  1561. "repeat" : null,
  1562. "repeatIteration" : null,
  1563. "repeatRowId" : null,
  1564. "showTitle" : false,
  1565. "title" : "%%COMMUNITY_FULL%% gesamt: Router insgesamt\/online\/uplink",
  1566. "titleSize" : "h6"
  1567. }
  1568. ],
  1569. "schemaVersion" : 14,
  1570. "style" : "dark",
  1571. "tags" : [
  1572. ],
  1573. "templating" : {
  1574. "list" : [
  1575. {
  1576. "allValue" : null,
  1577. "current" : {
  1578. "text" : " - noch keine Auswahl -",
  1579. "value" : ""
  1580. },
  1581. "datasource" : null,
  1582. "hide" : 0,
  1583. "includeAll" : false,
  1584. "label" : "Knoten ausw\u00E4hlen:",
  1585. "multi" : false,
  1586. "name" : "hostname",
  1587. "options" : [
  1588. ],
  1589. "query" : "label_values(%%PROM_INFO_PREFIX%%,hostname)",
  1590. "refresh" : 2,
  1591. "regex" : "",
  1592. "sort" : 1,
  1593. "tagValuesQuery" : "",
  1594. "tags" : [
  1595. ],
  1596. "tagsQuery" : "",
  1597. "type" : "query",
  1598. "useTags" : false
  1599. },
  1600. {
  1601. "allValue" : null,
  1602. "current" : {
  1603. "isNone" : true,
  1604. "text" : "",
  1605. "value" : ""
  1606. },
  1607. "datasource" : null,
  1608. "hide" : 1,
  1609. "includeAll" : false,
  1610. "label" : null,
  1611. "multi" : false,
  1612. "name" : "node_id",
  1613. "options" : [
  1614. ],
  1615. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},node_id)",
  1616. "refresh" : 2,
  1617. "regex" : "",
  1618. "sort" : 0,
  1619. "tagValuesQuery" : "",
  1620. "tags" : [
  1621. ],
  1622. "tagsQuery" : "",
  1623. "type" : "query",
  1624. "useTags" : false
  1625. },
  1626. {
  1627. "allValue" : null,
  1628. "current" : {
  1629. "isNone" : true,
  1630. "text" : "",
  1631. "value" : ""
  1632. },
  1633. "datasource" : null,
  1634. "hide" : 2,
  1635. "includeAll" : false,
  1636. "label" : null,
  1637. "multi" : false,
  1638. "name" : "interfaces",
  1639. "options" : [
  1640. ],
  1641. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},interfaces)",
  1642. "refresh" : 2,
  1643. "regex" : "",
  1644. "sort" : 0,
  1645. "tagValuesQuery" : "",
  1646. "tags" : [
  1647. ],
  1648. "tagsQuery" : "",
  1649. "type" : "query",
  1650. "useTags" : false
  1651. },
  1652. {
  1653. "allValue" : null,
  1654. "current" : {
  1655. "isNone" : true,
  1656. "text" : "",
  1657. "value" : ""
  1658. },
  1659. "datasource" : null,
  1660. "hide" : 2,
  1661. "includeAll" : false,
  1662. "label" : null,
  1663. "multi" : false,
  1664. "name" : "interfaces_lan",
  1665. "options" : [
  1666. ],
  1667. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},interfaces)",
  1668. "refresh" : 2,
  1669. "regex" : "\/.*other:([0-9]+).*\/",
  1670. "sort" : 0,
  1671. "tagValuesQuery" : "",
  1672. "tags" : [
  1673. ],
  1674. "tagsQuery" : "",
  1675. "type" : "query",
  1676. "useTags" : false
  1677. },
  1678. {
  1679. "allValue" : null,
  1680. "current" : {
  1681. "isNone" : true,
  1682. "text" : "",
  1683. "value" : ""
  1684. },
  1685. "datasource" : null,
  1686. "hide" : 2,
  1687. "includeAll" : false,
  1688. "label" : null,
  1689. "multi" : false,
  1690. "name" : "interfaces_wlan",
  1691. "options" : [
  1692. ],
  1693. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},interfaces)",
  1694. "refresh" : 2,
  1695. "regex" : "\/.*wireless:([0-9]+).*\/",
  1696. "sort" : 0,
  1697. "tagValuesQuery" : "",
  1698. "tags" : [
  1699. ],
  1700. "tagsQuery" : "",
  1701. "type" : "query",
  1702. "useTags" : false
  1703. },
  1704. {
  1705. "allValue" : null,
  1706. "current" : {
  1707. "isNone" : true,
  1708. "text" : "",
  1709. "value" : ""
  1710. },
  1711. "datasource" : null,
  1712. "hide" : 2,
  1713. "includeAll" : false,
  1714. "label" : null,
  1715. "multi" : false,
  1716. "name" : "interfaces_vpn",
  1717. "options" : [
  1718. ],
  1719. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},interfaces)",
  1720. "refresh" : 2,
  1721. "regex" : "\/.*tunnel:([0-9]+).*\/",
  1722. "sort" : 0,
  1723. "tagValuesQuery" : "",
  1724. "tags" : [
  1725. ],
  1726. "tagsQuery" : "",
  1727. "type" : "query",
  1728. "useTags" : false
  1729. },
  1730. {
  1731. "allValue" : null,
  1732. "current" : {
  1733. "isNone" : true,
  1734. "text" : "",
  1735. "value" : ""
  1736. },
  1737. "datasource" : null,
  1738. "hide" : 2,
  1739. "includeAll" : false,
  1740. "label" : null,
  1741. "multi" : false,
  1742. "name" : "firstseen",
  1743. "options" : [
  1744. ],
  1745. "query" : "%%PROM_INFO_PREFIX%%%%PROM_SEPERATOR%%firstseen{hostname=\"[[hostname]]\"}",
  1746. "refresh" : 2,
  1747. "regex" : "",
  1748. "sort" : 0,
  1749. "tagValuesQuery" : "",
  1750. "tags" : [
  1751. ],
  1752. "tagsQuery" : "",
  1753. "type" : "query",
  1754. "useTags" : false
  1755. },
  1756. {
  1757. "allValue" : null,
  1758. "current" : {
  1759. "isNone" : true,
  1760. "text" : "",
  1761. "value" : ""
  1762. },
  1763. "datasource" : null,
  1764. "hide" : 2,
  1765. "includeAll" : false,
  1766. "label" : null,
  1767. "multi" : false,
  1768. "name" : "firstseen_year",
  1769. "options" : [
  1770. ],
  1771. "query" : "query_result(year([[firstseen]]))",
  1772. "refresh" : 2,
  1773. "regex" : "\/.*} (.+) .*\/",
  1774. "sort" : 0,
  1775. "tagValuesQuery" : "",
  1776. "tags" : [
  1777. ],
  1778. "tagsQuery" : "",
  1779. "type" : "query",
  1780. "useTags" : false
  1781. },
  1782. {
  1783. "allValue" : null,
  1784. "current" : {
  1785. "isNone" : true,
  1786. "text" : "",
  1787. "value" : ""
  1788. },
  1789. "datasource" : null,
  1790. "hide" : 2,
  1791. "includeAll" : false,
  1792. "label" : null,
  1793. "multi" : false,
  1794. "name" : "firstseen_month",
  1795. "options" : [
  1796. ],
  1797. "query" : "query_result(month([[firstseen]]))",
  1798. "refresh" : 2,
  1799. "regex" : "\/.*} (.+) .*\/",
  1800. "sort" : 0,
  1801. "tagValuesQuery" : "",
  1802. "tags" : [
  1803. ],
  1804. "tagsQuery" : "",
  1805. "type" : "query",
  1806. "useTags" : false
  1807. },
  1808. {
  1809. "allValue" : null,
  1810. "current" : {
  1811. "isNone" : true,
  1812. "text" : "",
  1813. "value" : ""
  1814. },
  1815. "datasource" : null,
  1816. "hide" : 2,
  1817. "includeAll" : false,
  1818. "label" : null,
  1819. "multi" : false,
  1820. "name" : "firstseen_day",
  1821. "options" : [
  1822. ],
  1823. "query" : "query_result(day_of_month([[firstseen]]))",
  1824. "refresh" : 2,
  1825. "regex" : "\/.*} (.+) .*\/",
  1826. "sort" : 0,
  1827. "tagValuesQuery" : "",
  1828. "tags" : [
  1829. ],
  1830. "tagsQuery" : "",
  1831. "type" : "query",
  1832. "useTags" : false
  1833. },
  1834. {
  1835. "allValue" : null,
  1836. "current" : {
  1837. "isNone" : true,
  1838. "text" : "",
  1839. "value" : ""
  1840. },
  1841. "datasource" : null,
  1842. "hide" : 2,
  1843. "includeAll" : false,
  1844. "label" : null,
  1845. "multi" : false,
  1846. "name" : "lastseen",
  1847. "options" : [
  1848. ],
  1849. "query" : "%%PROM_INFO_PREFIX%%%%PROM_SEPERATOR%%lastseen{hostname=\"[[hostname]]\"}",
  1850. "refresh" : 2,
  1851. "regex" : "",
  1852. "sort" : 0,
  1853. "tagValuesQuery" : "",
  1854. "tags" : [
  1855. ],
  1856. "tagsQuery" : "",
  1857. "type" : "query",
  1858. "useTags" : false
  1859. },
  1860. {
  1861. "allValue" : null,
  1862. "current" : {
  1863. "isNone" : true,
  1864. "text" : "",
  1865. "value" : ""
  1866. },
  1867. "datasource" : null,
  1868. "hide" : 2,
  1869. "includeAll" : false,
  1870. "label" : null,
  1871. "multi" : false,
  1872. "name" : "lastseen_year",
  1873. "options" : [
  1874. ],
  1875. "query" : "query_result(year([[lastseen]]))",
  1876. "refresh" : 2,
  1877. "regex" : "\/.*} (.+) .*\/",
  1878. "sort" : 0,
  1879. "tagValuesQuery" : "",
  1880. "tags" : [
  1881. ],
  1882. "tagsQuery" : "",
  1883. "type" : "query",
  1884. "useTags" : false
  1885. },
  1886. {
  1887. "allValue" : null,
  1888. "current" : {
  1889. "isNone" : true,
  1890. "text" : "",
  1891. "value" : ""
  1892. },
  1893. "datasource" : null,
  1894. "hide" : 2,
  1895. "includeAll" : false,
  1896. "label" : null,
  1897. "multi" : false,
  1898. "name" : "lastseen_month",
  1899. "options" : [
  1900. ],
  1901. "query" : "query_result(month([[lastseen]]))",
  1902. "refresh" : 2,
  1903. "regex" : "\/.*} (.+) .*\/",
  1904. "sort" : 0,
  1905. "tagValuesQuery" : "",
  1906. "tags" : [
  1907. ],
  1908. "tagsQuery" : "",
  1909. "type" : "query",
  1910. "useTags" : false
  1911. },
  1912. {
  1913. "allValue" : null,
  1914. "current" : {
  1915. "isNone" : true,
  1916. "text" : "",
  1917. "value" : ""
  1918. },
  1919. "datasource" : null,
  1920. "hide" : 2,
  1921. "includeAll" : false,
  1922. "label" : null,
  1923. "multi" : false,
  1924. "name" : "lastseen_day",
  1925. "options" : [
  1926. ],
  1927. "query" : "query_result(day_of_month([[lastseen]]))",
  1928. "refresh" : 2,
  1929. "regex" : "\/.*} (.+) .*\/",
  1930. "sort" : 0,
  1931. "tagValuesQuery" : "",
  1932. "tags" : [
  1933. ],
  1934. "tagsQuery" : "",
  1935. "type" : "query",
  1936. "useTags" : false
  1937. },
  1938. {
  1939. "allValue" : null,
  1940. "current" : {
  1941. "isNone" : true,
  1942. "text" : "",
  1943. "value" : ""
  1944. },
  1945. "datasource" : null,
  1946. "hide" : 2,
  1947. "includeAll" : false,
  1948. "label" : null,
  1949. "multi" : false,
  1950. "name" : "lastseen_hour",
  1951. "options" : [
  1952. ],
  1953. "query" : "query_result(hour([[lastseen]]))",
  1954. "refresh" : 2,
  1955. "regex" : "\/.*} (.+) .*\/",
  1956. "sort" : 0,
  1957. "tagValuesQuery" : "",
  1958. "tags" : [
  1959. ],
  1960. "tagsQuery" : "",
  1961. "type" : "query",
  1962. "useTags" : false
  1963. },
  1964. {
  1965. "allValue" : null,
  1966. "current" : {
  1967. "isNone" : true,
  1968. "text" : "",
  1969. "value" : ""
  1970. },
  1971. "datasource" : null,
  1972. "hide" : 2,
  1973. "includeAll" : false,
  1974. "label" : null,
  1975. "multi" : false,
  1976. "name" : "lastseen_minute",
  1977. "options" : [
  1978. ],
  1979. "query" : "query_result(minute([[lastseen]]))",
  1980. "refresh" : 2,
  1981. "regex" : "\/.*} (.+) .*\/",
  1982. "sort" : 0,
  1983. "tagValuesQuery" : "",
  1984. "tags" : [
  1985. ],
  1986. "tagsQuery" : "",
  1987. "type" : "query",
  1988. "useTags" : false
  1989. },
  1990. {
  1991. "allValue" : null,
  1992. "current" : {
  1993. "isNone" : true,
  1994. "text" : "",
  1995. "value" : ""
  1996. },
  1997. "datasource" : null,
  1998. "hide" : 2,
  1999. "includeAll" : false,
  2000. "label" : null,
  2001. "multi" : false,
  2002. "name" : "updown",
  2003. "options" : [
  2004. ],
  2005. "query" : "query_result(absent(max_over_time(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%uptime{hostname=\"[[hostname]]\"}[5m])) - 1 or vector(1))",
  2006. "refresh" : 2,
  2007. "regex" : "\/.*} (.+) .*\/",
  2008. "sort" : 0,
  2009. "tagValuesQuery" : "",
  2010. "tags" : [
  2011. ],
  2012. "tagsQuery" : "",
  2013. "type" : "query",
  2014. "useTags" : false
  2015. },
  2016. {
  2017. "allValue" : null,
  2018. "current" : {
  2019. "isNone" : true,
  2020. "text" : "",
  2021. "value" : ""
  2022. },
  2023. "datasource" : null,
  2024. "hide" : 2,
  2025. "includeAll" : false,
  2026. "label" : null,
  2027. "multi" : false,
  2028. "name" : "uptime_seconds",
  2029. "options" : [
  2030. ],
  2031. "query" : "query_result(max(max_over_time(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%uptime{hostname=\"[[hostname]]\"}[5m]) or ([[lastseen]] - time())))",
  2032. "refresh" : 2,
  2033. "regex" : "\/.*} (.+) .*\/",
  2034. "sort" : 0,
  2035. "tagValuesQuery" : "",
  2036. "tags" : [
  2037. ],
  2038. "tagsQuery" : "",
  2039. "type" : "query",
  2040. "useTags" : false
  2041. },
  2042. {
  2043. "allValue" : null,
  2044. "current" : {
  2045. "isNone" : true,
  2046. "text" : "",
  2047. "value" : ""
  2048. },
  2049. "datasource" : null,
  2050. "hide" : 2,
  2051. "includeAll" : false,
  2052. "label" : null,
  2053. "multi" : false,
  2054. "name" : "uptime_minute",
  2055. "options" : [
  2056. ],
  2057. "query" : "query_result(minute(max_over_time(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%uptime{hostname=\"[[hostname]]\"}[5m]) or (time() - [[lastseen]])))",
  2058. "refresh" : 2,
  2059. "regex" : "\/.*} (.+) .*\/",
  2060. "sort" : 0,
  2061. "tagValuesQuery" : "",
  2062. "tags" : [
  2063. ],
  2064. "tagsQuery" : "",
  2065. "type" : "query",
  2066. "useTags" : false
  2067. },
  2068. {
  2069. "allValue" : null,
  2070. "current" : {
  2071. "isNone" : true,
  2072. "text" : "",
  2073. "value" : ""
  2074. },
  2075. "datasource" : null,
  2076. "hide" : 2,
  2077. "includeAll" : false,
  2078. "label" : null,
  2079. "multi" : false,
  2080. "name" : "uptime_hour",
  2081. "options" : [
  2082. ],
  2083. "query" : "query_result(hour(max_over_time(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%uptime{hostname=\"[[hostname]]\"}[5m]) or (time() - [[lastseen]])))",
  2084. "refresh" : 2,
  2085. "regex" : "\/.*} (.+) .*\/",
  2086. "sort" : 0,
  2087. "tagValuesQuery" : "",
  2088. "tags" : [
  2089. ],
  2090. "tagsQuery" : "",
  2091. "type" : "query",
  2092. "useTags" : false
  2093. },
  2094. {
  2095. "allValue" : null,
  2096. "current" : {
  2097. "isNone" : true,
  2098. "text" : "",
  2099. "value" : ""
  2100. },
  2101. "datasource" : null,
  2102. "hide" : 2,
  2103. "includeAll" : false,
  2104. "label" : null,
  2105. "multi" : false,
  2106. "name" : "uptime_day",
  2107. "options" : [
  2108. ],
  2109. "query" : "query_result(day_of_month(max_over_time(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%uptime{hostname=\"[[hostname]]\"}[5m]) or (time() - [[lastseen]])) - 1)",
  2110. "refresh" : 2,
  2111. "regex" : "\/.*} (.+) .*\/",
  2112. "sort" : 0,
  2113. "tagValuesQuery" : "",
  2114. "tags" : [
  2115. ],
  2116. "tagsQuery" : "",
  2117. "type" : "query",
  2118. "useTags" : false
  2119. },
  2120. {
  2121. "allValue" : null,
  2122. "current" : {
  2123. "isNone" : true,
  2124. "text" : "",
  2125. "value" : ""
  2126. },
  2127. "datasource" : null,
  2128. "hide" : 2,
  2129. "includeAll" : false,
  2130. "label" : null,
  2131. "multi" : false,
  2132. "name" : "uptime_month",
  2133. "options" : [
  2134. ],
  2135. "query" : "query_result(month(max_over_time(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%uptime{hostname=\"[[hostname]]\"}[5m]) or (time() - [[lastseen]])) - 1)",
  2136. "refresh" : 2,
  2137. "regex" : "\/.*} (.+) .*\/",
  2138. "sort" : 0,
  2139. "tagValuesQuery" : "",
  2140. "tags" : [
  2141. ],
  2142. "tagsQuery" : "",
  2143. "type" : "query",
  2144. "useTags" : false
  2145. },
  2146. {
  2147. "allValue" : null,
  2148. "current" : {
  2149. "isNone" : true,
  2150. "text" : "",
  2151. "value" : ""
  2152. },
  2153. "datasource" : null,
  2154. "hide" : 2,
  2155. "includeAll" : false,
  2156. "label" : null,
  2157. "multi" : false,
  2158. "name" : "hardware",
  2159. "options" : [
  2160. ],
  2161. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},model)",
  2162. "refresh" : 2,
  2163. "regex" : "",
  2164. "sort" : 0,
  2165. "tagValuesQuery" : "",
  2166. "tags" : [
  2167. ],
  2168. "tagsQuery" : "",
  2169. "type" : "query",
  2170. "useTags" : false
  2171. },
  2172. {
  2173. "allValue" : null,
  2174. "current" : {
  2175. "isNone" : true,
  2176. "text" : "",
  2177. "value" : ""
  2178. },
  2179. "datasource" : null,
  2180. "hide" : 2,
  2181. "includeAll" : false,
  2182. "label" : null,
  2183. "multi" : false,
  2184. "name" : "firmware",
  2185. "options" : [
  2186. ],
  2187. "query" : "query_result(max(max_over_time(%%PROM_INFO_PREFIX%%%%PROM_SEPERATOR%%fw_version{hostname=\"[[hostname]]\"}[7d])))",
  2188. "refresh" : 2,
  2189. "regex" : "\/.*} (.+) .*\/",
  2190. "sort" : 0,
  2191. "tagValuesQuery" : "",
  2192. "tags" : [
  2193. ],
  2194. "tagsQuery" : "",
  2195. "type" : "query",
  2196. "useTags" : false
  2197. },
  2198. {
  2199. "allValue" : null,
  2200. "current" : {
  2201. "isNone" : true,
  2202. "text" : "",
  2203. "value" : ""
  2204. },
  2205. "datasource" : null,
  2206. "hide" : 2,
  2207. "includeAll" : false,
  2208. "label" : null,
  2209. "multi" : false,
  2210. "name" : "branch",
  2211. "options" : [
  2212. ],
  2213. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},branch)",
  2214. "refresh" : 2,
  2215. "regex" : "",
  2216. "sort" : 0,
  2217. "tagValuesQuery" : "",
  2218. "tags" : [
  2219. ],
  2220. "tagsQuery" : "",
  2221. "type" : "query",
  2222. "useTags" : false
  2223. },
  2224. {
  2225. "allValue" : null,
  2226. "current" : {
  2227. "isNone" : true,
  2228. "text" : "",
  2229. "value" : ""
  2230. },
  2231. "datasource" : null,
  2232. "hide" : 2,
  2233. "includeAll" : false,
  2234. "label" : null,
  2235. "multi" : false,
  2236. "name" : "base",
  2237. "options" : [
  2238. ],
  2239. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},base)",
  2240. "refresh" : 2,
  2241. "regex" : "",
  2242. "sort" : 0,
  2243. "tagValuesQuery" : "",
  2244. "tags" : [
  2245. ],
  2246. "tagsQuery" : "",
  2247. "type" : "query",
  2248. "useTags" : false
  2249. },
  2250. {
  2251. "allValue" : null,
  2252. "current" : {
  2253. "isNone" : true,
  2254. "text" : "",
  2255. "value" : ""
  2256. },
  2257. "datasource" : null,
  2258. "hide" : 2,
  2259. "includeAll" : false,
  2260. "label" : null,
  2261. "multi" : false,
  2262. "name" : "autoupdater",
  2263. "options" : [
  2264. ],
  2265. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},autoupdater)",
  2266. "refresh" : 2,
  2267. "regex" : "",
  2268. "sort" : 0,
  2269. "tagValuesQuery" : "",
  2270. "tags" : [
  2271. ],
  2272. "tagsQuery" : "",
  2273. "type" : "query",
  2274. "useTags" : false
  2275. },
  2276. {
  2277. "allValue" : null,
  2278. "current" : {
  2279. "isNone" : true,
  2280. "text" : "",
  2281. "value" : ""
  2282. },
  2283. "datasource" : null,
  2284. "hide" : 2,
  2285. "includeAll" : false,
  2286. "label" : null,
  2287. "multi" : false,
  2288. "name" : "uplink",
  2289. "options" : [
  2290. ],
  2291. "query" : "query_result(max(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%uplink{hostname=\"[[hostname]]\"} or vector(-1)))",
  2292. "refresh" : 2,
  2293. "regex" : "\/.*} (.+) .*\/",
  2294. "sort" : 0,
  2295. "tagValuesQuery" : "",
  2296. "tags" : [
  2297. ],
  2298. "tagsQuery" : "",
  2299. "type" : "query",
  2300. "useTags" : false
  2301. },
  2302. {
  2303. "allValue" : null,
  2304. "current" : {
  2305. "isNone" : true,
  2306. "text" : "",
  2307. "value" : ""
  2308. },
  2309. "datasource" : null,
  2310. "hide" : 2,
  2311. "includeAll" : false,
  2312. "label" : null,
  2313. "multi" : false,
  2314. "name" : "fastd",
  2315. "options" : [
  2316. ],
  2317. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},fastd)",
  2318. "refresh" : 2,
  2319. "regex" : "",
  2320. "sort" : 0,
  2321. "tagValuesQuery" : "",
  2322. "tags" : [
  2323. ],
  2324. "tagsQuery" : "",
  2325. "type" : "query",
  2326. "useTags" : false
  2327. },
  2328. {
  2329. "allValue" : null,
  2330. "current" : {
  2331. "isNone" : true,
  2332. "text" : "",
  2333. "value" : ""
  2334. },
  2335. "datasource" : null,
  2336. "hide" : 2,
  2337. "includeAll" : false,
  2338. "label" : null,
  2339. "multi" : false,
  2340. "name" : "gateway",
  2341. "options" : [
  2342. ],
  2343. "query" : "%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"}",
  2344. "refresh" : 2,
  2345. "regex" : "\/.*gateway=\"([^\"]*)\".*\/",
  2346. "sort" : 0,
  2347. "tagValuesQuery" : "",
  2348. "tags" : [
  2349. ],
  2350. "tagsQuery" : "",
  2351. "type" : "query",
  2352. "useTags" : false
  2353. },
  2354. {
  2355. "allValue" : null,
  2356. "current" : {
  2357. "isNone" : true,
  2358. "text" : "",
  2359. "value" : ""
  2360. },
  2361. "datasource" : null,
  2362. "hide" : 2,
  2363. "includeAll" : false,
  2364. "label" : null,
  2365. "multi" : false,
  2366. "name" : "latitude",
  2367. "options" : [
  2368. ],
  2369. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"}, latitude)",
  2370. "refresh" : 2,
  2371. "regex" : "",
  2372. "sort" : 0,
  2373. "tagValuesQuery" : "",
  2374. "tags" : [
  2375. ],
  2376. "tagsQuery" : "",
  2377. "type" : "query",
  2378. "useTags" : false
  2379. },
  2380. {
  2381. "allValue" : null,
  2382. "current" : {
  2383. "isNone" : true,
  2384. "text" : "",
  2385. "value" : ""
  2386. },
  2387. "datasource" : null,
  2388. "hide" : 2,
  2389. "includeAll" : false,
  2390. "label" : null,
  2391. "multi" : false,
  2392. "name" : "longitude",
  2393. "options" : [
  2394. ],
  2395. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"}, longitude)",
  2396. "refresh" : 2,
  2397. "regex" : "",
  2398. "sort" : 0,
  2399. "tagValuesQuery" : "",
  2400. "tags" : [
  2401. ],
  2402. "tagsQuery" : "",
  2403. "type" : "query",
  2404. "useTags" : false
  2405. },
  2406. {
  2407. "allValue" : null,
  2408. "current" : {
  2409. "isNone" : true,
  2410. "text" : "",
  2411. "value" : ""
  2412. },
  2413. "datasource" : null,
  2414. "hide" : 2,
  2415. "includeAll" : false,
  2416. "label" : null,
  2417. "multi" : false,
  2418. "name" : "clients",
  2419. "options" : [
  2420. ],
  2421. "query" : "query_result(max(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{hostname=\"[[hostname]]\"} or vector(-1)))",
  2422. "refresh" : 2,
  2423. "regex" : "\/.*} (.+) .*\/",
  2424. "sort" : 0,
  2425. "tagValuesQuery" : "",
  2426. "tags" : [
  2427. ],
  2428. "tagsQuery" : "",
  2429. "type" : "query",
  2430. "useTags" : false
  2431. },
  2432. {
  2433. "allValue" : null,
  2434. "current" : {
  2435. "isNone" : true,
  2436. "text" : "",
  2437. "value" : ""
  2438. },
  2439. "datasource" : null,
  2440. "hide" : 2,
  2441. "includeAll" : false,
  2442. "label" : null,
  2443. "multi" : false,
  2444. "name" : "clients_max",
  2445. "options" : [
  2446. ],
  2447. "query" : "query_result(max(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients))",
  2448. "refresh" : 2,
  2449. "regex" : "\/.*} (.+) .*\/",
  2450. "sort" : 0,
  2451. "tagValuesQuery" : "",
  2452. "tags" : [
  2453. ],
  2454. "tagsQuery" : "",
  2455. "type" : "query",
  2456. "useTags" : false
  2457. },
  2458. {
  2459. "allValue" : null,
  2460. "current" : {
  2461. "isNone" : true,
  2462. "text" : "",
  2463. "value" : ""
  2464. },
  2465. "datasource" : null,
  2466. "hide" : 2,
  2467. "includeAll" : false,
  2468. "label" : null,
  2469. "multi" : false,
  2470. "name" : "now",
  2471. "options" : [
  2472. ],
  2473. "query" : "query_result(vector(time()))",
  2474. "refresh" : 2,
  2475. "regex" : "\/.* (.+) .*\/",
  2476. "sort" : 0,
  2477. "tagValuesQuery" : "",
  2478. "tags" : [
  2479. ],
  2480. "tagsQuery" : "",
  2481. "type" : "query",
  2482. "useTags" : false
  2483. },
  2484. {
  2485. "allValue" : null,
  2486. "current" : {
  2487. "isNone" : true,
  2488. "text" : "",
  2489. "value" : ""
  2490. },
  2491. "datasource" : null,
  2492. "hide" : 2,
  2493. "includeAll" : false,
  2494. "label" : null,
  2495. "multi" : false,
  2496. "name" : "now_year",
  2497. "options" : [
  2498. ],
  2499. "query" : "query_result(year(vector(time())))",
  2500. "refresh" : 2,
  2501. "regex" : "\/.* (.+) .*\/",
  2502. "sort" : 0,
  2503. "tagValuesQuery" : "",
  2504. "tags" : [
  2505. ],
  2506. "tagsQuery" : "",
  2507. "type" : "query",
  2508. "useTags" : false
  2509. },
  2510. {
  2511. "allValue" : null,
  2512. "current" : {
  2513. "isNone" : true,
  2514. "text" : "",
  2515. "value" : ""
  2516. },
  2517. "datasource" : null,
  2518. "hide" : 2,
  2519. "includeAll" : false,
  2520. "label" : null,
  2521. "multi" : false,
  2522. "name" : "now_month",
  2523. "options" : [
  2524. ],
  2525. "query" : "query_result(month(vector(time())))",
  2526. "refresh" : 2,
  2527. "regex" : "\/.* (.+) .*\/",
  2528. "sort" : 0,
  2529. "tagValuesQuery" : "",
  2530. "tags" : [
  2531. ],
  2532. "tagsQuery" : "",
  2533. "type" : "query",
  2534. "useTags" : false
  2535. },
  2536. {
  2537. "allValue" : null,
  2538. "current" : {
  2539. "isNone" : true,
  2540. "text" : "",
  2541. "value" : ""
  2542. },
  2543. "datasource" : null,
  2544. "hide" : 2,
  2545. "includeAll" : false,
  2546. "label" : null,
  2547. "multi" : false,
  2548. "name" : "now_day",
  2549. "options" : [
  2550. ],
  2551. "query" : "query_result(day_of_month(vector(time())))",
  2552. "refresh" : 2,
  2553. "regex" : "\/.* (.+) .*\/",
  2554. "sort" : 0,
  2555. "tagValuesQuery" : "",
  2556. "tags" : [
  2557. ],
  2558. "tagsQuery" : "",
  2559. "type" : "query",
  2560. "useTags" : false
  2561. },
  2562. {
  2563. "allValue" : null,
  2564. "current" : {
  2565. "isNone" : true,
  2566. "text" : "",
  2567. "value" : ""
  2568. },
  2569. "datasource" : null,
  2570. "hide" : 2,
  2571. "includeAll" : false,
  2572. "label" : null,
  2573. "multi" : false,
  2574. "name" : "now_hour",
  2575. "options" : [
  2576. ],
  2577. "query" : "query_result(hour(vector(time())))",
  2578. "refresh" : 2,
  2579. "regex" : "\/.* (.+) .*\/",
  2580. "sort" : 0,
  2581. "tagValuesQuery" : "",
  2582. "tags" : [
  2583. ],
  2584. "tagsQuery" : "",
  2585. "type" : "query",
  2586. "useTags" : false
  2587. },
  2588. {
  2589. "allValue" : null,
  2590. "current" : {
  2591. "isNone" : true,
  2592. "text" : "",
  2593. "value" : ""
  2594. },
  2595. "datasource" : null,
  2596. "hide" : 2,
  2597. "includeAll" : false,
  2598. "label" : null,
  2599. "multi" : false,
  2600. "name" : "now_minute",
  2601. "options" : [
  2602. ],
  2603. "query" : "query_result(minute(vector(time())))",
  2604. "refresh" : 2,
  2605. "regex" : "\/.* (.+) .*\/",
  2606. "sort" : 0,
  2607. "tagValuesQuery" : "",
  2608. "tags" : [
  2609. ],
  2610. "tagsQuery" : "",
  2611. "type" : "query",
  2612. "useTags" : false
  2613. },
  2614. {
  2615. "allValue" : null,
  2616. "current" : {
  2617. "isNone" : true,
  2618. "text" : "",
  2619. "value" : ""
  2620. },
  2621. "datasource" : null,
  2622. "hide" : 2,
  2623. "includeAll" : false,
  2624. "label" : null,
  2625. "multi" : false,
  2626. "name" : "autoupdater_int",
  2627. "options" : [
  2628. ],
  2629. "query" : "query_result(vector(count_scalar(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\",autoupdater=\"true\"})))",
  2630. "refresh" : 2,
  2631. "regex" : "\/.* (.+) .*\/",
  2632. "sort" : 0,
  2633. "tagValuesQuery" : "",
  2634. "tags" : [
  2635. ],
  2636. "tagsQuery" : "",
  2637. "type" : "query",
  2638. "useTags" : false
  2639. },
  2640. {
  2641. "allValue" : null,
  2642. "current" : {
  2643. "isNone" : true,
  2644. "text" : "",
  2645. "value" : ""
  2646. },
  2647. "datasource" : null,
  2648. "hide" : 2,
  2649. "includeAll" : false,
  2650. "label" : null,
  2651. "multi" : false,
  2652. "name" : "uplink_now",
  2653. "options" : [
  2654. ],
  2655. "query" : "query_result(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%uplink{hostname=\"[[hostname]]\"})",
  2656. "refresh" : 2,
  2657. "regex" : "\/.*} (.+) .*\/",
  2658. "sort" : 0,
  2659. "tagValuesQuery" : "",
  2660. "tags" : [
  2661. ],
  2662. "tagsQuery" : "",
  2663. "type" : "query",
  2664. "useTags" : false
  2665. },
  2666. {
  2667. "allValue" : null,
  2668. "current" : {
  2669. "isNone" : true,
  2670. "text" : "",
  2671. "value" : ""
  2672. },
  2673. "datasource" : null,
  2674. "hide" : 2,
  2675. "includeAll" : false,
  2676. "label" : null,
  2677. "multi" : false,
  2678. "name" : "uplink_known",
  2679. "options" : [
  2680. ],
  2681. "query" : "query_result(min(round(avg_over_time(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%uplink{hostname=\"[[hostname]]\"}[7d])) or vector(2)))",
  2682. "refresh" : 2,
  2683. "regex" : "\/.*} (.+) .*\/",
  2684. "sort" : 0,
  2685. "tagValuesQuery" : "",
  2686. "tags" : [
  2687. ],
  2688. "tagsQuery" : "",
  2689. "type" : "query",
  2690. "useTags" : false
  2691. },
  2692. {
  2693. "allValue" : null,
  2694. "current" : {
  2695. },
  2696. "datasource" : null,
  2697. "hide" : 0,
  2698. "includeAll" : false,
  2699. "label" : "Nachbar ausw\u00E4hlen:",
  2700. "multi" : false,
  2701. "name" : "neighbor_name",
  2702. "options" : [
  2703. ],
  2704. "query" : "query_result(%%PROM_INFO_PREFIX%% and on (node_id) (label_replace(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%link{source=\"[[node_id]]\"},\"node_id\",\"$1\",\"target\",\"(.*)\") or label_replace(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%link{target=\"[[node_id]]\"},\"node_id\",\"$1\",\"source\",\"(.*)\")))",
  2705. "refresh" : 2,
  2706. "regex" : "\/.*hostname=\"([^\"]+)\".*\/",
  2707. "sort" : 1,
  2708. "tagValuesQuery" : "",
  2709. "tags" : [
  2710. ],
  2711. "tagsQuery" : "",
  2712. "type" : "query",
  2713. "useTags" : false
  2714. },
  2715. {
  2716. "allValue" : null,
  2717. "current" : {
  2718. },
  2719. "datasource" : null,
  2720. "hide" : 1,
  2721. "includeAll" : false,
  2722. "label" : null,
  2723. "multi" : false,
  2724. "name" : "neighbor_id",
  2725. "options" : [
  2726. ],
  2727. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[neighbor_name]]\"},node_id)",
  2728. "refresh" : 2,
  2729. "regex" : "",
  2730. "sort" : 0,
  2731. "tagValuesQuery" : "",
  2732. "tags" : [
  2733. ],
  2734. "tagsQuery" : "",
  2735. "type" : "query",
  2736. "useTags" : false
  2737. },
  2738. {
  2739. "allValue": null,
  2740. "current": {},
  2741. "datasource": null,
  2742. "hide": 2,
  2743. "includeAll": false,
  2744. "label": null,
  2745. "multi": false,
  2746. "name": "link_source_id",
  2747. "options": [],
  2748. "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]]\"})",
  2749. "refresh": 2,
  2750. "regex": "/.*source=\"([^\"]+)\".*/",
  2751. "sort": 0,
  2752. "tagValuesQuery": "",
  2753. "tags": [],
  2754. "tagsQuery": "",
  2755. "type": "query",
  2756. "useTags": false
  2757. },
  2758. {
  2759. "allValue": null,
  2760. "current": {},
  2761. "datasource": null,
  2762. "hide": 2,
  2763. "includeAll": false,
  2764. "label": null,
  2765. "multi": false,
  2766. "name": "link_target_id",
  2767. "options": [],
  2768. "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]]\"})",
  2769. "refresh": 2,
  2770. "regex": "/.*target=\"([^\"]+)\".*/",
  2771. "sort": 0,
  2772. "tagValuesQuery": "",
  2773. "tags": [],
  2774. "tagsQuery": "",
  2775. "type": "query",
  2776. "useTags": false
  2777. },
  2778. {
  2779. "allValue": null,
  2780. "current": {
  2781. },
  2782. "datasource": null,
  2783. "hide": 2,
  2784. "includeAll": false,
  2785. "label": null,
  2786. "multi": false,
  2787. "name": "mesh_id",
  2788. "options": [
  2789. ],
  2790. "query": "label_values(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh{members=~\".*[[node_id]].*\"},node_id)",
  2791. "refresh": 2,
  2792. "regex": "",
  2793. "sort": 0,
  2794. "tagValuesQuery": "",
  2795. "tags": [
  2796. ],
  2797. "tagsQuery": "",
  2798. "type": "query",
  2799. "useTags": false
  2800. },
  2801. {
  2802. "allValue": null,
  2803. "current": {
  2804. },
  2805. "datasource": null,
  2806. "hide": 2,
  2807. "includeAll": false,
  2808. "label": null,
  2809. "multi": false,
  2810. "name": "mesh_name",
  2811. "options": [
  2812. ],
  2813. "query": "label_values(%%PROM_INFO_PREFIX%%{node_id=\"[[mesh_id]]\"},hostname)",
  2814. "refresh": 2,
  2815. "regex": "",
  2816. "sort": 0,
  2817. "tagValuesQuery": "",
  2818. "tags": [
  2819. ],
  2820. "tagsQuery": "",
  2821. "type": "query",
  2822. "useTags": false
  2823. }
  2824. ]
  2825. },
  2826. "time" : {
  2827. "from" : "now-24h",
  2828. "to" : "now"
  2829. },
  2830. "timepicker" : {
  2831. "refresh_intervals" : [
  2832. "5s",
  2833. "10s",
  2834. "30s",
  2835. "1m",
  2836. "5m",
  2837. "15m",
  2838. "30m",
  2839. "1h",
  2840. "2h",
  2841. "1d"
  2842. ],
  2843. "time_options" : [
  2844. "5m",
  2845. "15m",
  2846. "1h",
  2847. "6h",
  2848. "12h",
  2849. "24h",
  2850. "2d",
  2851. "7d",
  2852. "30d"
  2853. ]
  2854. },
  2855. "timezone" : "",
  2856. "title" : "%%DASHBOARD_PREFIX%%status",
  2857. "version" : 19
  2858. }