status-group-render.json.in 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  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. "rows" : [
  14. {
  15. "collapse" : false,
  16. "height" : 278,
  17. "panels" : [
  18. {
  19. "aliasColors" : {
  20. },
  21. "bars" : false,
  22. "dashLength" : 10,
  23. "dashes" : false,
  24. "datasource" : null,
  25. "fill" : 0,
  26. "id" : 3,
  27. "legend" : {
  28. "alignAsTable" : true,
  29. "avg" : true,
  30. "current" : true,
  31. "hideEmpty" : true,
  32. "max" : true,
  33. "min" : true,
  34. "rightSide" : false,
  35. "show" : true,
  36. "total" : false,
  37. "values" : true
  38. },
  39. "lines" : true,
  40. "linewidth" : 1,
  41. "links" : [
  42. ],
  43. "nullPointMode" : "null",
  44. "percentage" : false,
  45. "pointradius" : 5,
  46. "points" : false,
  47. "renderer" : "flot",
  48. "seriesOverrides" : [
  49. ],
  50. "spaceLength" : 10,
  51. "span" : 12,
  52. "stack" : false,
  53. "steppedLine" : false,
  54. "targets" : [
  55. {
  56. "expr" : "%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{hostname=~\"([[regex]])\"}",
  57. "format" : "time_series",
  58. "hide" : false,
  59. "interval" : "",
  60. "intervalFactor" : 2,
  61. "legendFormat" : "{{hostname}}",
  62. "refId" : "A",
  63. "step" : 120
  64. },
  65. {
  66. "expr" : "sum(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{hostname=~\"([[regex]])\"})",
  67. "format" : "time_series",
  68. "hide" : false,
  69. "interval" : "",
  70. "intervalFactor" : 2,
  71. "legendFormat" : "Summe",
  72. "refId" : "B",
  73. "step" : 120
  74. }
  75. ],
  76. "thresholds" : [
  77. ],
  78. "timeFrom" : null,
  79. "timeShift" : null,
  80. "title" : "[[group]] (clients)",
  81. "tooltip" : {
  82. "shared" : true,
  83. "sort" : 1,
  84. "value_type" : "individual"
  85. },
  86. "type" : "graph",
  87. "xaxis" : {
  88. "buckets" : null,
  89. "mode" : "time",
  90. "name" : null,
  91. "show" : true,
  92. "values" : [
  93. ]
  94. },
  95. "yaxes" : [
  96. {
  97. "decimals" : 0,
  98. "format" : "short",
  99. "label" : "",
  100. "logBase" : 1,
  101. "max" : null,
  102. "min" : null,
  103. "show" : true
  104. },
  105. {
  106. "format" : "short",
  107. "label" : null,
  108. "logBase" : 1,
  109. "max" : null,
  110. "min" : null,
  111. "show" : true
  112. }
  113. ]
  114. }
  115. ],
  116. "repeat" : null,
  117. "repeatIteration" : null,
  118. "repeatRowId" : null,
  119. "showTitle" : false,
  120. "title" : "Dashboard Row",
  121. "titleSize" : "h6"
  122. },
  123. {
  124. "collapse" : false,
  125. "height" : "100",
  126. "panels" : [
  127. {
  128. "content" : "<p>Links zu Router [[hostname]], Node ID [[node_id]]: <a href=\"\/dashboard\/file\/%%DASHBOARD_PREFIX%%status.json?var-hostname=[[hostname]]&var-node_id=[[node_id]]\">Status Dashboard<\/a>, <a href=\"%%MAP_NODE_URL%%[[node_id]]\">Map<\/a>.<\/p>\n",
  129. "height" : "80px",
  130. "id" : 4,
  131. "links" : [
  132. ],
  133. "mode" : "html",
  134. "repeat" : null,
  135. "span" : 12,
  136. "title" : "Links zu [[hostname]], Node ID [[node_id]]",
  137. "type" : "text"
  138. }
  139. ],
  140. "repeat" : null,
  141. "repeatIteration" : null,
  142. "repeatRowId" : null,
  143. "showTitle" : false,
  144. "title" : "Dashboard Row",
  145. "titleSize" : "h6"
  146. }
  147. ],
  148. "schemaVersion" : 14,
  149. "style" : "dark",
  150. "tags" : [
  151. ],
  152. "templating" : {
  153. "list" : [
  154. {
  155. "allValue" : null,
  156. "current" : {
  157. "text" : " - noch keine Auswahl -",
  158. "value" : null
  159. },
  160. "datasource" : null,
  161. "hide" : 0,
  162. "includeAll" : false,
  163. "label" : "Routergruppe",
  164. "multi" : false,
  165. "name" : "group",
  166. "options" : [
  167. ],
  168. "query" : "label_values(%%PROM_GROUPS_PREFIX%%,group)",
  169. "refresh" : 2,
  170. "regex" : "",
  171. "sort" : 1,
  172. "tagValuesQuery" : "",
  173. "tags" : [
  174. ],
  175. "tagsQuery" : "",
  176. "type" : "query",
  177. "useTags" : false
  178. },
  179. {
  180. "allValue" : null,
  181. "current" : {
  182. "text" : null,
  183. "value" : null
  184. },
  185. "datasource" : null,
  186. "hide" : 2,
  187. "includeAll" : false,
  188. "label" : null,
  189. "multi" : false,
  190. "name" : "regex",
  191. "options" : [
  192. ],
  193. "query" : "query_result(max(%%PROM_GROUPS_PREFIX%%{group=\"[[group]]\"}) by (regex))",
  194. "refresh" : 2,
  195. "regex" : "\/.*regex=\"(.*)\".*\/",
  196. "sort" : 1,
  197. "tagValuesQuery" : "",
  198. "tags" : [
  199. ],
  200. "tagsQuery" : "",
  201. "type" : "query",
  202. "useTags" : false
  203. },
  204. {
  205. "allValue" : null,
  206. "current" : {
  207. "text" : " - noch keine Auswahl -",
  208. "value" : null
  209. },
  210. "datasource" : null,
  211. "hide" : 0,
  212. "includeAll" : false,
  213. "label" : null,
  214. "multi" : false,
  215. "name" : "hostname",
  216. "options" : [
  217. ],
  218. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=~\"[[regex]]\"},hostname)",
  219. "refresh" : 2,
  220. "regex" : "",
  221. "sort" : 1,
  222. "tagValuesQuery" : "",
  223. "tags" : [
  224. ],
  225. "tagsQuery" : "",
  226. "type" : "query",
  227. "useTags" : false
  228. },
  229. {
  230. "allValue" : null,
  231. "current" : {
  232. "text" : null,
  233. "value" : null
  234. },
  235. "datasource" : null,
  236. "hide" : 0,
  237. "includeAll" : false,
  238. "label" : null,
  239. "multi" : false,
  240. "name" : "node_id",
  241. "options" : [
  242. ],
  243. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},node_id)",
  244. "refresh" : 2,
  245. "regex" : "",
  246. "sort" : 1,
  247. "tagValuesQuery" : "",
  248. "tags" : [
  249. ],
  250. "tagsQuery" : "",
  251. "type" : "query",
  252. "useTags" : false
  253. }
  254. ]
  255. },
  256. "time" : {
  257. "from" : "now-24h",
  258. "to" : "now"
  259. },
  260. "timepicker" : {
  261. "refresh_intervals" : [
  262. "5s",
  263. "10s",
  264. "30s",
  265. "1m",
  266. "5m",
  267. "15m",
  268. "30m",
  269. "1h",
  270. "2h",
  271. "1d"
  272. ],
  273. "time_options" : [
  274. "5m",
  275. "15m",
  276. "1h",
  277. "6h",
  278. "12h",
  279. "24h",
  280. "2d",
  281. "7d",
  282. "30d"
  283. ]
  284. },
  285. "timezone" : "",
  286. "title" : "%%DASHBOARD_PREFIX%%status-group-render",
  287. "version" : 9
  288. }