status.json.in 69 KB

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