Saltstack Official Linux Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

361 rinda
8.6KB

  1. {% raw %}
  2. {
  3. "annotations": {
  4. "list": []
  5. },
  6. "editable": true,
  7. "gnetId": null,
  8. "graphTooltip": 0,
  9. "hideControls": false,
  10. "id": null,
  11. "links": [],
  12. "rows": [
  13. {
  14. "collapse": false,
  15. "height": 333,
  16. "panels": [
  17. {
  18. "aliasColors": {},
  19. "bars": false,
  20. "dashLength": 10,
  21. "dashes": false,
  22. "datasource": "prometheus",
  23. "decimals": 0,
  24. "fill": 1,
  25. "id": 1,
  26. "legend": {
  27. "avg": false,
  28. "current": true,
  29. "max": false,
  30. "min": false,
  31. "show": true,
  32. "total": false,
  33. "values": true
  34. },
  35. "lines": true,
  36. "linewidth": 1,
  37. "links": [],
  38. "nullPointMode": "null",
  39. "percentage": false,
  40. "pointradius": 5,
  41. "points": false,
  42. "renderer": "flot",
  43. "seriesOverrides": [],
  44. "spaceLength": 10,
  45. "span": 6,
  46. "stack": false,
  47. "steppedLine": false,
  48. "targets": [
  49. {
  50. "expr": "bond_slave_failures{host=\"$host\"}",
  51. "format": "time_series",
  52. "intervalFactor": 2,
  53. "legendFormat": "{{ bond}}: {{ interface }}",
  54. "refId": "A",
  55. "step": 2
  56. }
  57. ],
  58. "thresholds": [],
  59. "timeFrom": null,
  60. "timeShift": null,
  61. "title": "Bond slave failures count",
  62. "tooltip": {
  63. "shared": true,
  64. "sort": 0,
  65. "value_type": "individual"
  66. },
  67. "transparent": false,
  68. "type": "graph",
  69. "xaxis": {
  70. "buckets": null,
  71. "mode": "time",
  72. "name": null,
  73. "show": true,
  74. "values": []
  75. },
  76. "yaxes": [
  77. {
  78. "decimals": 0,
  79. "format": "short",
  80. "label": null,
  81. "logBase": 1,
  82. "max": null,
  83. "min": null,
  84. "show": true
  85. },
  86. {
  87. "decimals": null,
  88. "format": "short",
  89. "label": null,
  90. "logBase": 1,
  91. "max": null,
  92. "min": null,
  93. "show": true
  94. }
  95. ]
  96. },
  97. {
  98. "aliasColors": {},
  99. "bars": false,
  100. "dashLength": 10,
  101. "dashes": false,
  102. "datasource": "prometheus",
  103. "decimals": 0,
  104. "fill": 1,
  105. "id": 2,
  106. "legend": {
  107. "alignAsTable": false,
  108. "avg": false,
  109. "current": true,
  110. "max": false,
  111. "min": false,
  112. "show": true,
  113. "total": false,
  114. "values": true
  115. },
  116. "lines": true,
  117. "linewidth": 1,
  118. "links": [],
  119. "nullPointMode": "null",
  120. "percentage": false,
  121. "pointradius": 5,
  122. "points": false,
  123. "renderer": "flot",
  124. "seriesOverrides": [],
  125. "spaceLength": 10,
  126. "span": 6,
  127. "stack": false,
  128. "steppedLine": false,
  129. "targets": [
  130. {
  131. "expr": "bond_status{host=\"$host\"}",
  132. "format": "time_series",
  133. "intervalFactor": 2,
  134. "legendFormat": "{{ bond }}",
  135. "refId": "A",
  136. "step": 2
  137. }
  138. ],
  139. "thresholds": [],
  140. "timeFrom": null,
  141. "timeShift": null,
  142. "title": "Bond status",
  143. "tooltip": {
  144. "shared": true,
  145. "sort": 0,
  146. "value_type": "individual"
  147. },
  148. "type": "graph",
  149. "xaxis": {
  150. "buckets": null,
  151. "mode": "time",
  152. "name": null,
  153. "show": true,
  154. "values": []
  155. },
  156. "yaxes": [
  157. {
  158. "decimals": 0,
  159. "format": "none",
  160. "label": null,
  161. "logBase": 1,
  162. "max": null,
  163. "min": null,
  164. "show": true
  165. },
  166. {
  167. "format": "short",
  168. "label": null,
  169. "logBase": 1,
  170. "max": null,
  171. "min": null,
  172. "show": true
  173. }
  174. ]
  175. }
  176. ],
  177. "repeat": null,
  178. "repeatIteration": null,
  179. "repeatRowId": null,
  180. "showTitle": false,
  181. "title": "Dashboard Row",
  182. "titleSize": "h6"
  183. },
  184. {
  185. "collapse": false,
  186. "height": 447,
  187. "panels": [
  188. {
  189. "columns": [],
  190. "datasource": "prometheus",
  191. "fontSize": "100%",
  192. "hideTimeOverride": false,
  193. "id": 4,
  194. "links": [],
  195. "pageSize": null,
  196. "scroll": true,
  197. "showHeader": true,
  198. "sort": {
  199. "col": 0,
  200. "desc": true
  201. },
  202. "span": 12,
  203. "styles": [
  204. {
  205. "alias": "Time",
  206. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  207. "pattern": "Time",
  208. "type": "date"
  209. },
  210. {
  211. "alias": "",
  212. "colorMode": null,
  213. "colors": [
  214. "rgba(245, 54, 54, 0.9)",
  215. "rgba(237, 129, 40, 0.89)",
  216. "rgba(50, 172, 45, 0.97)"
  217. ],
  218. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  219. "decimals": 2,
  220. "pattern": "__name__",
  221. "thresholds": [],
  222. "type": "hidden",
  223. "unit": "short"
  224. },
  225. {
  226. "alias": "",
  227. "colorMode": "row",
  228. "colors": [
  229. "rgba(245, 54, 54, 0.9)",
  230. "rgba(26, 161, 12, 0.89)",
  231. "rgba(50, 172, 45, 0.97)"
  232. ],
  233. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  234. "decimals": 0,
  235. "pattern": "Value",
  236. "thresholds": [
  237. "1"
  238. ],
  239. "type": "number",
  240. "unit": "none"
  241. },
  242. {
  243. "alias": "",
  244. "colorMode": null,
  245. "colors": [
  246. "rgba(245, 54, 54, 0.9)",
  247. "rgba(237, 129, 40, 0.89)",
  248. "rgba(50, 172, 45, 0.97)"
  249. ],
  250. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  251. "decimals": 2,
  252. "pattern": "job",
  253. "thresholds": [],
  254. "type": "hidden",
  255. "unit": "short"
  256. },
  257. {
  258. "alias": "",
  259. "colorMode": null,
  260. "colors": [
  261. "rgba(245, 54, 54, 0.9)",
  262. "rgba(237, 129, 40, 0.89)",
  263. "rgba(50, 172, 45, 0.97)"
  264. ],
  265. "decimals": 0,
  266. "pattern": "/.*/",
  267. "thresholds": [
  268. ""
  269. ],
  270. "type": "number",
  271. "unit": "none"
  272. }
  273. ],
  274. "targets": [
  275. {
  276. "expr": "bond_slave_status{host=\"$host\"}",
  277. "format": "table",
  278. "intervalFactor": 2,
  279. "legendFormat": "",
  280. "refId": "A",
  281. "step": 2
  282. }
  283. ],
  284. "timeFrom": "1s",
  285. "timeShift": null,
  286. "title": "Bond slave status",
  287. "transform": "table",
  288. "transparent": false,
  289. "type": "table"
  290. }
  291. ],
  292. "repeat": null,
  293. "repeatIteration": null,
  294. "repeatRowId": null,
  295. "showTitle": false,
  296. "title": "Dashboard Row",
  297. "titleSize": "h6"
  298. }
  299. ],
  300. "schemaVersion": 14,
  301. "style": "dark",
  302. "tags": [],
  303. "templating": {
  304. "list": [
  305. {
  306. "allValue": null,
  307. "current": {},
  308. "datasource": "prometheus",
  309. "hide": 0,
  310. "includeAll": false,
  311. "label": null,
  312. "multi": false,
  313. "name": "host",
  314. "options": [],
  315. "query": "label_values(bond_status,host)",
  316. "refresh": 1,
  317. "regex": "",
  318. "sort": 1,
  319. "tagValuesQuery": "",
  320. "tags": [],
  321. "tagsQuery": "",
  322. "type": "query",
  323. "useTags": false
  324. }
  325. ]
  326. },
  327. "time": {
  328. "from": "now-5m",
  329. "to": "now"
  330. },
  331. "timepicker": {
  332. "refresh_intervals": [
  333. "5s",
  334. "10s",
  335. "30s",
  336. "1m",
  337. "5m",
  338. "15m",
  339. "30m",
  340. "1h",
  341. "2h",
  342. "1d"
  343. ],
  344. "time_options": [
  345. "5m",
  346. "15m",
  347. "1h",
  348. "6h",
  349. "12h",
  350. "24h",
  351. "2d",
  352. "7d",
  353. "30d"
  354. ]
  355. },
  356. "timezone": "",
  357. "title": "Bond",
  358. "version": 25
  359. }
  360. {% endraw %}