Saltstack Official Linux Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1625 lines
34KB

  1. {% raw %}
  2. {
  3. "annotations": {
  4. "list": [
  5. {
  6. "builtIn": 1,
  7. "datasource": "prometheus",
  8. "enable": true,
  9. "hide": true,
  10. "iconColor": "rgba(0, 211, 255, 1)",
  11. "limit": 100,
  12. "name": "Annotations & Alerts",
  13. "showIn": 0,
  14. "type": "dashboard"
  15. }
  16. ]
  17. },
  18. "editable": true,
  19. "gnetId": null,
  20. "graphTooltip": 1,
  21. "id": null,
  22. "iteration": 1529498667714,
  23. "links": [],
  24. "panels": [
  25. {
  26. "collapsed": false,
  27. "gridPos": {
  28. "h": 1,
  29. "w": 24,
  30. "x": 0,
  31. "y": 0
  32. },
  33. "id": 20,
  34. "panels": [],
  35. "repeat": null,
  36. "title": "Status",
  37. "type": "row"
  38. },
  39. {
  40. "cacheTimeout": null,
  41. "colorBackground": false,
  42. "colorValue": false,
  43. "colors": [
  44. "rgba(245, 54, 54, 0.9)",
  45. "rgba(237, 129, 40, 0.89)",
  46. "rgba(50, 172, 45, 0.97)"
  47. ],
  48. "datasource": null,
  49. "decimals": 1,
  50. "format": "s",
  51. "gauge": {
  52. "maxValue": 100,
  53. "minValue": 0,
  54. "show": false,
  55. "thresholdLabels": false,
  56. "thresholdMarkers": true
  57. },
  58. "gridPos": {
  59. "h": 4,
  60. "w": 3,
  61. "x": 0,
  62. "y": 1
  63. },
  64. "id": 16,
  65. "interval": null,
  66. "links": [],
  67. "mappingType": 1,
  68. "mappingTypes": [
  69. {
  70. "name": "value to text",
  71. "value": 1
  72. },
  73. {
  74. "name": "range to text",
  75. "value": 2
  76. }
  77. ],
  78. "maxDataPoints": 100,
  79. "nullPointMode": "connected",
  80. "nullText": null,
  81. "postfix": "",
  82. "postfixFontSize": "50%",
  83. "prefix": "",
  84. "prefixFontSize": "50%",
  85. "rangeMaps": [
  86. {
  87. "from": "null",
  88. "text": "N/A",
  89. "to": "null"
  90. }
  91. ],
  92. "repeat": "host",
  93. "repeatDirection": "v",
  94. "scopedVars": {
  95. "host": {
  96. "selected": true,
  97. "text": "cfg01",
  98. "value": "cfg01"
  99. }
  100. },
  101. "sparkline": {
  102. "fillColor": "rgba(31, 118, 189, 0.18)",
  103. "full": false,
  104. "lineColor": "rgb(31, 120, 193)",
  105. "show": false
  106. },
  107. "tableColumn": "",
  108. "targets": [
  109. {
  110. "expr": "system_uptime{host=\"$host\"}",
  111. "format": "time_series",
  112. "intervalFactor": 2,
  113. "legendFormat": "",
  114. "refId": "A",
  115. "step": 60
  116. }
  117. ],
  118. "thresholds": "",
  119. "title": "Uptime@$host",
  120. "type": "singlestat",
  121. "valueFontSize": "80%",
  122. "valueMaps": [
  123. {
  124. "op": "=",
  125. "text": "N/A",
  126. "value": "null"
  127. }
  128. ],
  129. "valueName": "current"
  130. },
  131. {
  132. "cacheTimeout": null,
  133. "colorBackground": false,
  134. "colorValue": false,
  135. "colors": [
  136. "#299c46",
  137. "rgba(237, 129, 40, 0.89)",
  138. "#d44a3a"
  139. ],
  140. "datasource": null,
  141. "format": "percent",
  142. "gauge": {
  143. "maxValue": 100,
  144. "minValue": 0,
  145. "show": true,
  146. "thresholdLabels": false,
  147. "thresholdMarkers": true
  148. },
  149. "gridPos": {
  150. "h": 4,
  151. "w": 3,
  152. "x": 3,
  153. "y": 1
  154. },
  155. "id": 27,
  156. "interval": null,
  157. "links": [],
  158. "mappingType": 1,
  159. "mappingTypes": [
  160. {
  161. "name": "value to text",
  162. "value": 1
  163. },
  164. {
  165. "name": "range to text",
  166. "value": 2
  167. }
  168. ],
  169. "maxDataPoints": 100,
  170. "nullPointMode": "connected",
  171. "nullText": null,
  172. "postfix": "",
  173. "postfixFontSize": "50%",
  174. "prefix": "",
  175. "prefixFontSize": "50%",
  176. "rangeMaps": [
  177. {
  178. "from": "null",
  179. "text": "N/A",
  180. "to": "null"
  181. }
  182. ],
  183. "repeat": "host",
  184. "repeatDirection": "v",
  185. "scopedVars": {
  186. "host": {
  187. "selected": true,
  188. "text": "cfg01",
  189. "value": "cfg01"
  190. }
  191. },
  192. "sparkline": {
  193. "fillColor": "rgba(31, 118, 189, 0.18)",
  194. "full": false,
  195. "lineColor": "rgb(31, 120, 193)",
  196. "show": false
  197. },
  198. "tableColumn": "",
  199. "targets": [
  200. {
  201. "expr": "mem_used_percent{host=\"$host\"}",
  202. "format": "time_series",
  203. "intervalFactor": 1,
  204. "refId": "A"
  205. }
  206. ],
  207. "thresholds": "70,95",
  208. "title": "RAM Usage@$host",
  209. "type": "singlestat",
  210. "valueFontSize": "80%",
  211. "valueMaps": [
  212. {
  213. "op": "=",
  214. "text": "N/A",
  215. "value": "null"
  216. }
  217. ],
  218. "valueName": "current"
  219. },
  220. {
  221. "cacheTimeout": null,
  222. "colorBackground": false,
  223. "colorValue": false,
  224. "colors": [
  225. "#299c46",
  226. "rgba(237, 129, 40, 0.89)",
  227. "#d44a3a"
  228. ],
  229. "datasource": null,
  230. "format": "percent",
  231. "gauge": {
  232. "maxValue": 100,
  233. "minValue": 0,
  234. "show": true,
  235. "thresholdLabels": false,
  236. "thresholdMarkers": true
  237. },
  238. "gridPos": {
  239. "h": 4,
  240. "w": 3,
  241. "x": 6,
  242. "y": 1
  243. },
  244. "id": 36,
  245. "interval": null,
  246. "links": [],
  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": "50%",
  265. "rangeMaps": [
  266. {
  267. "from": "null",
  268. "text": "N/A",
  269. "to": "null"
  270. }
  271. ],
  272. "repeat": "host",
  273. "repeatDirection": "v",
  274. "scopedVars": {
  275. "host": {
  276. "selected": true,
  277. "text": "cfg01",
  278. "value": "cfg01"
  279. }
  280. },
  281. "sparkline": {
  282. "fillColor": "rgba(31, 118, 189, 0.18)",
  283. "full": false,
  284. "lineColor": "rgb(31, 120, 193)",
  285. "show": false
  286. },
  287. "tableColumn": "",
  288. "targets": [
  289. {
  290. "expr": "swap_used_percent{host=\"$host\"}",
  291. "format": "time_series",
  292. "intervalFactor": 1,
  293. "refId": "A"
  294. }
  295. ],
  296. "thresholds": "50,80",
  297. "title": "Swap Usage@$host",
  298. "type": "singlestat",
  299. "valueFontSize": "80%",
  300. "valueMaps": [
  301. {
  302. "op": "=",
  303. "text": "N/A",
  304. "value": "null"
  305. }
  306. ],
  307. "valueName": "current"
  308. },
  309. {
  310. "cacheTimeout": null,
  311. "colorBackground": false,
  312. "colorValue": false,
  313. "colors": [
  314. "#299c46",
  315. "rgba(237, 129, 40, 0.89)",
  316. "#d44a3a"
  317. ],
  318. "datasource": null,
  319. "format": "percent",
  320. "gauge": {
  321. "maxValue": 100,
  322. "minValue": 0,
  323. "show": true,
  324. "thresholdLabels": false,
  325. "thresholdMarkers": true
  326. },
  327. "gridPos": {
  328. "h": 4,
  329. "w": 3,
  330. "x": 9,
  331. "y": 1
  332. },
  333. "id": 31,
  334. "interval": null,
  335. "links": [],
  336. "mappingType": 1,
  337. "mappingTypes": [
  338. {
  339. "name": "value to text",
  340. "value": 1
  341. },
  342. {
  343. "name": "range to text",
  344. "value": 2
  345. }
  346. ],
  347. "maxDataPoints": 100,
  348. "nullPointMode": "connected",
  349. "nullText": null,
  350. "postfix": "",
  351. "postfixFontSize": "50%",
  352. "prefix": "",
  353. "prefixFontSize": "50%",
  354. "rangeMaps": [
  355. {
  356. "from": "null",
  357. "text": "N/A",
  358. "to": "null"
  359. }
  360. ],
  361. "repeat": "host",
  362. "repeatDirection": "v",
  363. "scopedVars": {
  364. "host": {
  365. "selected": true,
  366. "text": "cfg01",
  367. "value": "cfg01"
  368. }
  369. },
  370. "sparkline": {
  371. "fillColor": "rgba(31, 118, 189, 0.18)",
  372. "full": false,
  373. "lineColor": "rgb(31, 120, 193)",
  374. "show": false
  375. },
  376. "tableColumn": "",
  377. "targets": [
  378. {
  379. "expr": "100 - cpu_usage_idle{host=\"$host\"}",
  380. "format": "time_series",
  381. "intervalFactor": 1,
  382. "refId": "A"
  383. }
  384. ],
  385. "thresholds": "80,90",
  386. "title": "CPU Usage@$host",
  387. "type": "singlestat",
  388. "valueFontSize": "80%",
  389. "valueMaps": [
  390. {
  391. "op": "=",
  392. "text": "N/A",
  393. "value": "null"
  394. }
  395. ],
  396. "valueName": "current"
  397. },
  398. {
  399. "cacheTimeout": null,
  400. "colorBackground": false,
  401. "colorValue": false,
  402. "colors": [
  403. "#299c46",
  404. "rgba(237, 129, 40, 0.89)",
  405. "#d44a3a"
  406. ],
  407. "datasource": null,
  408. "decimals": 2,
  409. "format": "percent",
  410. "gauge": {
  411. "maxValue": 100,
  412. "minValue": 0,
  413. "show": true,
  414. "thresholdLabels": false,
  415. "thresholdMarkers": true
  416. },
  417. "gridPos": {
  418. "h": 4,
  419. "w": 3,
  420. "x": 12,
  421. "y": 1
  422. },
  423. "id": 32,
  424. "interval": null,
  425. "links": [],
  426. "mappingType": 1,
  427. "mappingTypes": [
  428. {
  429. "name": "value to text",
  430. "value": 1
  431. },
  432. {
  433. "name": "range to text",
  434. "value": 2
  435. }
  436. ],
  437. "maxDataPoints": 100,
  438. "nullPointMode": "connected",
  439. "nullText": null,
  440. "postfix": "",
  441. "postfixFontSize": "50%",
  442. "prefix": "",
  443. "prefixFontSize": "50%",
  444. "rangeMaps": [
  445. {
  446. "from": "null",
  447. "text": "N/A",
  448. "to": "null"
  449. }
  450. ],
  451. "repeat": "host",
  452. "repeatDirection": "v",
  453. "scopedVars": {
  454. "host": {
  455. "selected": true,
  456. "text": "cfg01",
  457. "value": "cfg01"
  458. }
  459. },
  460. "sparkline": {
  461. "fillColor": "rgba(31, 118, 189, 0.18)",
  462. "full": false,
  463. "lineColor": "rgb(31, 120, 193)",
  464. "show": false
  465. },
  466. "tableColumn": "",
  467. "targets": [
  468. {
  469. "expr": "cpu_usage_iowait{host=\"$host\"}",
  470. "format": "time_series",
  471. "intervalFactor": 1,
  472. "legendFormat": "",
  473. "refId": "A"
  474. }
  475. ],
  476. "thresholds": "30,40",
  477. "title": "I/O Wait@$host",
  478. "type": "singlestat",
  479. "valueFontSize": "80%",
  480. "valueMaps": [
  481. {
  482. "op": "=",
  483. "text": "N/A",
  484. "value": "null"
  485. }
  486. ],
  487. "valueName": "current"
  488. },
  489. {
  490. "cacheTimeout": null,
  491. "colorBackground": false,
  492. "colorValue": false,
  493. "colors": [
  494. "#299c46",
  495. "rgba(237, 129, 40, 0.89)",
  496. "#d44a3a"
  497. ],
  498. "datasource": null,
  499. "format": "percent",
  500. "gauge": {
  501. "maxValue": 100,
  502. "minValue": 0,
  503. "show": true,
  504. "thresholdLabels": false,
  505. "thresholdMarkers": true
  506. },
  507. "gridPos": {
  508. "h": 4,
  509. "w": 3,
  510. "x": 15,
  511. "y": 1
  512. },
  513. "id": 35,
  514. "interval": null,
  515. "links": [],
  516. "mappingType": 1,
  517. "mappingTypes": [
  518. {
  519. "name": "value to text",
  520. "value": 1
  521. },
  522. {
  523. "name": "range to text",
  524. "value": 2
  525. }
  526. ],
  527. "maxDataPoints": 100,
  528. "nullPointMode": "connected",
  529. "nullText": null,
  530. "postfix": "",
  531. "postfixFontSize": "50%",
  532. "prefix": "",
  533. "prefixFontSize": "50%",
  534. "rangeMaps": [
  535. {
  536. "from": "null",
  537. "text": "N/A",
  538. "to": "null"
  539. }
  540. ],
  541. "repeat": "host",
  542. "repeatDirection": "v",
  543. "scopedVars": {
  544. "host": {
  545. "selected": true,
  546. "text": "cfg01",
  547. "value": "cfg01"
  548. }
  549. },
  550. "sparkline": {
  551. "fillColor": "rgba(31, 118, 189, 0.18)",
  552. "full": false,
  553. "lineColor": "rgb(31, 120, 193)",
  554. "show": false
  555. },
  556. "tableColumn": "",
  557. "targets": [
  558. {
  559. "expr": "disk_used_percent{host=\"$host\",path=\"/\"}",
  560. "format": "time_series",
  561. "intervalFactor": 1,
  562. "refId": "A"
  563. }
  564. ],
  565. "thresholds": "80,90",
  566. "title": "Root Disk Usage@$host",
  567. "type": "singlestat",
  568. "valueFontSize": "80%",
  569. "valueMaps": [
  570. {
  571. "op": "=",
  572. "text": "N/A",
  573. "value": "null"
  574. }
  575. ],
  576. "valueName": "current"
  577. },
  578. {
  579. "cacheTimeout": null,
  580. "colorBackground": false,
  581. "colorValue": false,
  582. "colors": [
  583. "#299c46",
  584. "rgba(237, 129, 40, 0.89)",
  585. "#d44a3a"
  586. ],
  587. "datasource": null,
  588. "decimals": 1,
  589. "format": "Bps",
  590. "gauge": {
  591. "maxValue": 100,
  592. "minValue": 0,
  593. "show": false,
  594. "thresholdLabels": false,
  595. "thresholdMarkers": true
  596. },
  597. "gridPos": {
  598. "h": 4,
  599. "w": 3,
  600. "x": 18,
  601. "y": 1
  602. },
  603. "id": 33,
  604. "interval": null,
  605. "links": [],
  606. "mappingType": 1,
  607. "mappingTypes": [
  608. {
  609. "name": "value to text",
  610. "value": 1
  611. },
  612. {
  613. "name": "range to text",
  614. "value": 2
  615. }
  616. ],
  617. "maxDataPoints": 100,
  618. "nullPointMode": "connected",
  619. "nullText": null,
  620. "postfix": "<font color=\"blue\">▼</font>",
  621. "postfixFontSize": "80%",
  622. "prefix": "",
  623. "prefixFontSize": "80%",
  624. "rangeMaps": [
  625. {
  626. "from": "null",
  627. "text": "N/A",
  628. "to": "null"
  629. }
  630. ],
  631. "repeat": "host",
  632. "repeatDirection": "v",
  633. "scopedVars": {
  634. "host": {
  635. "selected": true,
  636. "text": "cfg01",
  637. "value": "cfg01"
  638. }
  639. },
  640. "sparkline": {
  641. "fillColor": "rgba(31, 118, 189, 0.18)",
  642. "full": false,
  643. "lineColor": "rgb(31, 120, 193)",
  644. "show": false
  645. },
  646. "tableColumn": "",
  647. "targets": [
  648. {
  649. "expr": "sum(rate(net_bytes_recv{host=\"$host\"}[$rate_interval]))",
  650. "format": "time_series",
  651. "intervalFactor": 1,
  652. "refId": "A"
  653. }
  654. ],
  655. "thresholds": "",
  656. "title": "RX Rate@$host",
  657. "type": "singlestat",
  658. "valueFontSize": "80%",
  659. "valueMaps": [
  660. {
  661. "op": "=",
  662. "text": "N/A",
  663. "value": "null"
  664. }
  665. ],
  666. "valueName": "avg"
  667. },
  668. {
  669. "cacheTimeout": null,
  670. "colorBackground": false,
  671. "colorValue": false,
  672. "colors": [
  673. "#299c46",
  674. "rgba(237, 129, 40, 0.89)",
  675. "#d44a3a"
  676. ],
  677. "datasource": null,
  678. "format": "Bps",
  679. "gauge": {
  680. "maxValue": 100,
  681. "minValue": 0,
  682. "show": false,
  683. "thresholdLabels": false,
  684. "thresholdMarkers": true
  685. },
  686. "gridPos": {
  687. "h": 4,
  688. "w": 3,
  689. "x": 21,
  690. "y": 1
  691. },
  692. "id": 34,
  693. "interval": null,
  694. "links": [],
  695. "mappingType": 1,
  696. "mappingTypes": [
  697. {
  698. "name": "value to text",
  699. "value": 1
  700. },
  701. {
  702. "name": "range to text",
  703. "value": 2
  704. }
  705. ],
  706. "maxDataPoints": 100,
  707. "nullPointMode": "connected",
  708. "nullText": null,
  709. "postfix": "<font color=\"red\">▲</font>",
  710. "postfixFontSize": "80%",
  711. "prefix": "",
  712. "prefixFontSize": "50%",
  713. "rangeMaps": [
  714. {
  715. "from": "null",
  716. "text": "N/A",
  717. "to": "null"
  718. }
  719. ],
  720. "repeat": "host",
  721. "repeatDirection": "v",
  722. "scopedVars": {
  723. "host": {
  724. "selected": true,
  725. "text": "cfg01",
  726. "value": "cfg01"
  727. }
  728. },
  729. "sparkline": {
  730. "fillColor": "rgba(31, 118, 189, 0.18)",
  731. "full": false,
  732. "lineColor": "rgb(31, 120, 193)",
  733. "show": false
  734. },
  735. "tableColumn": "",
  736. "targets": [
  737. {
  738. "expr": "sum(rate(net_bytes_sent{host=\"$host\"}[$rate_interval]))",
  739. "format": "time_series",
  740. "intervalFactor": 1,
  741. "refId": "A"
  742. }
  743. ],
  744. "thresholds": "",
  745. "title": "TX Rate@$host",
  746. "type": "singlestat",
  747. "valueFontSize": "80%",
  748. "valueMaps": [
  749. {
  750. "op": "=",
  751. "text": "N/A",
  752. "value": "null"
  753. }
  754. ],
  755. "valueName": "avg"
  756. },
  757. {
  758. "collapsed": false,
  759. "gridPos": {
  760. "h": 1,
  761. "w": 24,
  762. "x": 0,
  763. "y": 5
  764. },
  765. "id": 29,
  766. "panels": [],
  767. "title": "Series",
  768. "type": "row"
  769. },
  770. {
  771. "aliasColors": {},
  772. "bars": false,
  773. "dashLength": 10,
  774. "dashes": false,
  775. "datasource": null,
  776. "fill": 1,
  777. "gridPos": {
  778. "h": 7,
  779. "w": 8,
  780. "x": 0,
  781. "y": 6
  782. },
  783. "id": 2,
  784. "legend": {
  785. "alignAsTable": true,
  786. "avg": false,
  787. "current": false,
  788. "max": false,
  789. "min": false,
  790. "rightSide": true,
  791. "show": true,
  792. "sort": null,
  793. "sortDesc": null,
  794. "total": false,
  795. "values": false
  796. },
  797. "lines": true,
  798. "linewidth": 1,
  799. "links": [],
  800. "nullPointMode": "null",
  801. "percentage": false,
  802. "pointradius": 5,
  803. "points": false,
  804. "renderer": "flot",
  805. "seriesOverrides": [],
  806. "spaceLength": 10,
  807. "stack": false,
  808. "steppedLine": false,
  809. "targets": [
  810. {
  811. "expr": "mem_available{host=~\"$host\"}",
  812. "format": "time_series",
  813. "instant": false,
  814. "intervalFactor": 2,
  815. "legendFormat": "{{host}}",
  816. "refId": "E"
  817. }
  818. ],
  819. "thresholds": [],
  820. "timeFrom": null,
  821. "timeShift": null,
  822. "title": "Memory Available",
  823. "tooltip": {
  824. "shared": true,
  825. "sort": 0,
  826. "value_type": "individual"
  827. },
  828. "type": "graph",
  829. "xaxis": {
  830. "buckets": null,
  831. "mode": "time",
  832. "name": null,
  833. "show": true,
  834. "values": []
  835. },
  836. "yaxes": [
  837. {
  838. "format": "bytes",
  839. "label": null,
  840. "logBase": 1,
  841. "max": null,
  842. "min": "0",
  843. "show": true
  844. },
  845. {
  846. "decimals": null,
  847. "format": "short",
  848. "label": "",
  849. "logBase": 1,
  850. "max": null,
  851. "min": null,
  852. "show": false
  853. }
  854. ],
  855. "yaxis": {
  856. "align": false,
  857. "alignLevel": null
  858. }
  859. },
  860. {
  861. "aliasColors": {},
  862. "bars": false,
  863. "dashLength": 10,
  864. "dashes": false,
  865. "datasource": null,
  866. "fill": 1,
  867. "gridPos": {
  868. "h": 7,
  869. "w": 8,
  870. "x": 8,
  871. "y": 6
  872. },
  873. "id": 4,
  874. "legend": {
  875. "alignAsTable": true,
  876. "avg": false,
  877. "current": false,
  878. "max": false,
  879. "min": false,
  880. "rightSide": true,
  881. "show": true,
  882. "total": false,
  883. "values": false
  884. },
  885. "lines": true,
  886. "linewidth": 1,
  887. "links": [],
  888. "nullPointMode": "null",
  889. "percentage": false,
  890. "pointradius": 5,
  891. "points": false,
  892. "renderer": "flot",
  893. "seriesOverrides": [],
  894. "spaceLength": 10,
  895. "stack": false,
  896. "steppedLine": false,
  897. "targets": [
  898. {
  899. "expr": "swap_used_percent{host=~\"$host\"}",
  900. "format": "time_series",
  901. "hide": false,
  902. "intervalFactor": 2,
  903. "legendFormat": "{{host}}",
  904. "metric": "kernel_processes_forked",
  905. "refId": "A",
  906. "step": 10
  907. }
  908. ],
  909. "thresholds": [],
  910. "timeFrom": null,
  911. "timeShift": null,
  912. "title": "Swap usage",
  913. "tooltip": {
  914. "shared": true,
  915. "sort": 0,
  916. "value_type": "individual"
  917. },
  918. "type": "graph",
  919. "xaxis": {
  920. "buckets": null,
  921. "mode": "time",
  922. "name": null,
  923. "show": true,
  924. "values": []
  925. },
  926. "yaxes": [
  927. {
  928. "format": "percent",
  929. "label": "",
  930. "logBase": 1,
  931. "max": "100",
  932. "min": "0",
  933. "show": true
  934. },
  935. {
  936. "format": "short",
  937. "label": null,
  938. "logBase": 1,
  939. "max": null,
  940. "min": null,
  941. "show": true
  942. }
  943. ],
  944. "yaxis": {
  945. "align": false,
  946. "alignLevel": null
  947. }
  948. },
  949. {
  950. "aliasColors": {},
  951. "bars": false,
  952. "dashLength": 10,
  953. "dashes": false,
  954. "datasource": null,
  955. "fill": 1,
  956. "gridPos": {
  957. "h": 7,
  958. "w": 8,
  959. "x": 16,
  960. "y": 6
  961. },
  962. "id": 5,
  963. "legend": {
  964. "alignAsTable": true,
  965. "avg": false,
  966. "current": false,
  967. "max": false,
  968. "min": false,
  969. "rightSide": true,
  970. "show": true,
  971. "sort": "current",
  972. "sortDesc": true,
  973. "total": false,
  974. "values": false
  975. },
  976. "lines": true,
  977. "linewidth": 1,
  978. "links": [],
  979. "nullPointMode": "null",
  980. "percentage": false,
  981. "pointradius": 5,
  982. "points": false,
  983. "renderer": "flot",
  984. "seriesOverrides": [],
  985. "spaceLength": 10,
  986. "stack": false,
  987. "steppedLine": false,
  988. "targets": [
  989. {
  990. "expr": "disk_free{host=~\"$host\", path=\"/\"}",
  991. "format": "time_series",
  992. "intervalFactor": 2,
  993. "legendFormat": "{{host}}",
  994. "refId": "B"
  995. }
  996. ],
  997. "thresholds": [],
  998. "timeFrom": null,
  999. "timeShift": null,
  1000. "title": "Root Disk Free",
  1001. "tooltip": {
  1002. "shared": true,
  1003. "sort": 2,
  1004. "value_type": "individual"
  1005. },
  1006. "type": "graph",
  1007. "xaxis": {
  1008. "buckets": null,
  1009. "mode": "time",
  1010. "name": null,
  1011. "show": true,
  1012. "values": []
  1013. },
  1014. "yaxes": [
  1015. {
  1016. "format": "bytes",
  1017. "label": "",
  1018. "logBase": 1,
  1019. "max": null,
  1020. "min": "0",
  1021. "show": true
  1022. },
  1023. {
  1024. "format": "short",
  1025. "label": null,
  1026. "logBase": 1,
  1027. "max": null,
  1028. "min": null,
  1029. "show": true
  1030. }
  1031. ],
  1032. "yaxis": {
  1033. "align": false,
  1034. "alignLevel": null
  1035. }
  1036. },
  1037. {
  1038. "aliasColors": {},
  1039. "bars": false,
  1040. "dashLength": 10,
  1041. "dashes": false,
  1042. "datasource": null,
  1043. "fill": 1,
  1044. "gridPos": {
  1045. "h": 7,
  1046. "w": 8,
  1047. "x": 0,
  1048. "y": 13
  1049. },
  1050. "id": 3,
  1051. "legend": {
  1052. "alignAsTable": true,
  1053. "avg": true,
  1054. "current": false,
  1055. "max": false,
  1056. "min": false,
  1057. "rightSide": false,
  1058. "show": true,
  1059. "total": false,
  1060. "values": true
  1061. },
  1062. "lines": true,
  1063. "linewidth": 1,
  1064. "links": [],
  1065. "nullPointMode": "null",
  1066. "percentage": false,
  1067. "pointradius": 5,
  1068. "points": false,
  1069. "renderer": "flot",
  1070. "seriesOverrides": [],
  1071. "spaceLength": 10,
  1072. "stack": false,
  1073. "steppedLine": false,
  1074. "targets": [
  1075. {
  1076. "expr": "{__name__=~\"$la_type\", host=~\"$host\"}",
  1077. "format": "time_series",
  1078. "intervalFactor": 2,
  1079. "legendFormat": "{{__name__}} @{{host}}",
  1080. "metric": "system_load1",
  1081. "refId": "C",
  1082. "step": 10
  1083. }
  1084. ],
  1085. "thresholds": [],
  1086. "timeFrom": null,
  1087. "timeShift": null,
  1088. "title": "Load Average",
  1089. "tooltip": {
  1090. "shared": true,
  1091. "sort": 0,
  1092. "value_type": "individual"
  1093. },
  1094. "type": "graph",
  1095. "xaxis": {
  1096. "buckets": null,
  1097. "mode": "time",
  1098. "name": null,
  1099. "show": true,
  1100. "values": []
  1101. },
  1102. "yaxes": [
  1103. {
  1104. "format": "short",
  1105. "label": null,
  1106. "logBase": 1,
  1107. "max": null,
  1108. "min": "0",
  1109. "show": true
  1110. },
  1111. {
  1112. "format": "short",
  1113. "label": null,
  1114. "logBase": 1,
  1115. "max": null,
  1116. "min": null,
  1117. "show": true
  1118. }
  1119. ],
  1120. "yaxis": {
  1121. "align": false,
  1122. "alignLevel": null
  1123. }
  1124. },
  1125. {
  1126. "aliasColors": {},
  1127. "bars": false,
  1128. "dashLength": 10,
  1129. "dashes": false,
  1130. "datasource": null,
  1131. "fill": 1,
  1132. "gridPos": {
  1133. "h": 7,
  1134. "w": 8,
  1135. "x": 8,
  1136. "y": 13
  1137. },
  1138. "height": "",
  1139. "id": 1,
  1140. "legend": {
  1141. "alignAsTable": true,
  1142. "avg": true,
  1143. "current": false,
  1144. "hideEmpty": true,
  1145. "hideZero": true,
  1146. "max": false,
  1147. "min": false,
  1148. "rightSide": true,
  1149. "show": true,
  1150. "total": false,
  1151. "values": true
  1152. },
  1153. "lines": true,
  1154. "linewidth": 1,
  1155. "links": [],
  1156. "nullPointMode": "connected",
  1157. "percentage": true,
  1158. "pointradius": 5,
  1159. "points": false,
  1160. "renderer": "flot",
  1161. "seriesOverrides": [],
  1162. "spaceLength": 10,
  1163. "stack": false,
  1164. "steppedLine": false,
  1165. "targets": [
  1166. {
  1167. "expr": "100 - cpu_usage_idle{host=~\"$host\"}",
  1168. "format": "time_series",
  1169. "intervalFactor": 2,
  1170. "legendFormat": "{{host}}",
  1171. "refId": "A"
  1172. }
  1173. ],
  1174. "thresholds": [],
  1175. "timeFrom": null,
  1176. "timeShift": null,
  1177. "title": "CPU usage",
  1178. "tooltip": {
  1179. "shared": true,
  1180. "sort": 0,
  1181. "value_type": "individual"
  1182. },
  1183. "type": "graph",
  1184. "xaxis": {
  1185. "buckets": null,
  1186. "mode": "time",
  1187. "name": null,
  1188. "show": true,
  1189. "values": []
  1190. },
  1191. "yaxes": [
  1192. {
  1193. "format": "percent",
  1194. "label": null,
  1195. "logBase": 1,
  1196. "max": "100",
  1197. "min": "0",
  1198. "show": true
  1199. },
  1200. {
  1201. "format": "short",
  1202. "label": null,
  1203. "logBase": 1,
  1204. "max": null,
  1205. "min": null,
  1206. "show": true
  1207. }
  1208. ],
  1209. "yaxis": {
  1210. "align": false,
  1211. "alignLevel": null
  1212. }
  1213. },
  1214. {
  1215. "aliasColors": {},
  1216. "bars": false,
  1217. "dashLength": 10,
  1218. "dashes": false,
  1219. "datasource": null,
  1220. "fill": 1,
  1221. "gridPos": {
  1222. "h": 7,
  1223. "w": 8,
  1224. "x": 16,
  1225. "y": 13
  1226. },
  1227. "height": "",
  1228. "id": 53,
  1229. "legend": {
  1230. "alignAsTable": true,
  1231. "avg": true,
  1232. "current": false,
  1233. "hideEmpty": true,
  1234. "hideZero": true,
  1235. "max": false,
  1236. "min": false,
  1237. "rightSide": true,
  1238. "show": true,
  1239. "total": false,
  1240. "values": true
  1241. },
  1242. "lines": true,
  1243. "linewidth": 1,
  1244. "links": [],
  1245. "nullPointMode": "connected",
  1246. "percentage": true,
  1247. "pointradius": 5,
  1248. "points": false,
  1249. "renderer": "flot",
  1250. "seriesOverrides": [],
  1251. "spaceLength": 10,
  1252. "stack": false,
  1253. "steppedLine": false,
  1254. "targets": [
  1255. {
  1256. "expr": "cpu_usage_iowait{host=~\"$host\"}",
  1257. "format": "time_series",
  1258. "intervalFactor": 2,
  1259. "legendFormat": "{{host}}",
  1260. "refId": "A"
  1261. }
  1262. ],
  1263. "thresholds": [],
  1264. "timeFrom": null,
  1265. "timeShift": null,
  1266. "title": "I/O Wait",
  1267. "tooltip": {
  1268. "shared": true,
  1269. "sort": 0,
  1270. "value_type": "individual"
  1271. },
  1272. "type": "graph",
  1273. "xaxis": {
  1274. "buckets": null,
  1275. "mode": "time",
  1276. "name": null,
  1277. "show": true,
  1278. "values": []
  1279. },
  1280. "yaxes": [
  1281. {
  1282. "format": "percent",
  1283. "label": null,
  1284. "logBase": 1,
  1285. "max": null,
  1286. "min": "0",
  1287. "show": true
  1288. },
  1289. {
  1290. "format": "short",
  1291. "label": null,
  1292. "logBase": 1,
  1293. "max": null,
  1294. "min": null,
  1295. "show": true
  1296. }
  1297. ],
  1298. "yaxis": {
  1299. "align": false,
  1300. "alignLevel": null
  1301. }
  1302. },
  1303. {
  1304. "aliasColors": {},
  1305. "bars": false,
  1306. "dashLength": 10,
  1307. "dashes": false,
  1308. "datasource": null,
  1309. "fill": 1,
  1310. "gridPos": {
  1311. "h": 7,
  1312. "w": 12,
  1313. "x": 0,
  1314. "y": 20
  1315. },
  1316. "id": 71,
  1317. "legend": {
  1318. "alignAsTable": true,
  1319. "avg": true,
  1320. "current": false,
  1321. "max": false,
  1322. "min": false,
  1323. "rightSide": true,
  1324. "show": true,
  1325. "total": false,
  1326. "values": true
  1327. },
  1328. "lines": true,
  1329. "linewidth": 1,
  1330. "links": [],
  1331. "nullPointMode": "null",
  1332. "percentage": false,
  1333. "pointradius": 5,
  1334. "points": false,
  1335. "renderer": "flot",
  1336. "seriesOverrides": [],
  1337. "spaceLength": 10,
  1338. "stack": false,
  1339. "steppedLine": false,
  1340. "targets": [
  1341. {
  1342. "expr": "sum(rate(net_bytes_recv{host=~\"$host\"}[$rate_interval])) by (host)",
  1343. "format": "time_series",
  1344. "intervalFactor": 2,
  1345. "legendFormat": "{{host}}",
  1346. "refId": "A"
  1347. }
  1348. ],
  1349. "thresholds": [],
  1350. "timeFrom": null,
  1351. "timeShift": null,
  1352. "title": "RX Rate",
  1353. "tooltip": {
  1354. "shared": true,
  1355. "sort": 0,
  1356. "value_type": "individual"
  1357. },
  1358. "type": "graph",
  1359. "xaxis": {
  1360. "buckets": null,
  1361. "mode": "time",
  1362. "name": null,
  1363. "show": true,
  1364. "values": []
  1365. },
  1366. "yaxes": [
  1367. {
  1368. "format": "Bps",
  1369. "label": null,
  1370. "logBase": 1,
  1371. "max": null,
  1372. "min": null,
  1373. "show": true
  1374. },
  1375. {
  1376. "format": "short",
  1377. "label": null,
  1378. "logBase": 1,
  1379. "max": null,
  1380. "min": null,
  1381. "show": true
  1382. }
  1383. ],
  1384. "yaxis": {
  1385. "align": false,
  1386. "alignLevel": null
  1387. }
  1388. },
  1389. {
  1390. "aliasColors": {},
  1391. "bars": false,
  1392. "dashLength": 10,
  1393. "dashes": false,
  1394. "datasource": null,
  1395. "fill": 1,
  1396. "gridPos": {
  1397. "h": 7,
  1398. "w": 12,
  1399. "x": 12,
  1400. "y": 20
  1401. },
  1402. "id": 80,
  1403. "legend": {
  1404. "alignAsTable": true,
  1405. "avg": true,
  1406. "current": false,
  1407. "max": false,
  1408. "min": false,
  1409. "rightSide": true,
  1410. "show": true,
  1411. "total": false,
  1412. "values": true
  1413. },
  1414. "lines": true,
  1415. "linewidth": 1,
  1416. "links": [],
  1417. "nullPointMode": "null",
  1418. "percentage": false,
  1419. "pointradius": 5,
  1420. "points": false,
  1421. "renderer": "flot",
  1422. "seriesOverrides": [],
  1423. "spaceLength": 10,
  1424. "stack": false,
  1425. "steppedLine": false,
  1426. "targets": [
  1427. {
  1428. "expr": "sum(rate(net_bytes_sent{host=~\"$host\"}[$rate_interval])) by (host)",
  1429. "format": "time_series",
  1430. "intervalFactor": 2,
  1431. "legendFormat": "{{host}}",
  1432. "refId": "A"
  1433. }
  1434. ],
  1435. "thresholds": [],
  1436. "timeFrom": null,
  1437. "timeShift": null,
  1438. "title": "TX Rate",
  1439. "tooltip": {
  1440. "shared": true,
  1441. "sort": 0,
  1442. "value_type": "individual"
  1443. },
  1444. "type": "graph",
  1445. "xaxis": {
  1446. "buckets": null,
  1447. "mode": "time",
  1448. "name": null,
  1449. "show": true,
  1450. "values": []
  1451. },
  1452. "yaxes": [
  1453. {
  1454. "format": "Bps",
  1455. "label": null,
  1456. "logBase": 1,
  1457. "max": null,
  1458. "min": null,
  1459. "show": true
  1460. },
  1461. {
  1462. "format": "short",
  1463. "label": null,
  1464. "logBase": 1,
  1465. "max": null,
  1466. "min": null,
  1467. "show": true
  1468. }
  1469. ],
  1470. "yaxis": {
  1471. "align": false,
  1472. "alignLevel": null
  1473. }
  1474. }
  1475. ],
  1476. "refresh": "1m",
  1477. "schemaVersion": 16,
  1478. "style": "dark",
  1479. "tags": [
  1480. "host"
  1481. ],
  1482. "templating": {
  1483. "list": [
  1484. {
  1485. "allValue": null,
  1486. "current": {
  1487. "text": "cfg01",
  1488. "value": [
  1489. "cfg01"
  1490. ]
  1491. },
  1492. "datasource": "prometheus",
  1493. "hide": 0,
  1494. "includeAll": false,
  1495. "label": null,
  1496. "multi": true,
  1497. "name": "host",
  1498. "options": [],
  1499. "query": "label_values(cpu_usage_idle,host)",
  1500. "refresh": 1,
  1501. "refresh_on_load": true,
  1502. "regex": "",
  1503. "sort": 1,
  1504. "tagValuesQuery": "",
  1505. "tags": [],
  1506. "tagsQuery": "",
  1507. "type": "query",
  1508. "useTags": false
  1509. },
  1510. {
  1511. "allValue": null,
  1512. "current": {
  1513. "text": "system_load15",
  1514. "value": [
  1515. "system_load15"
  1516. ]
  1517. },
  1518. "hide": 0,
  1519. "includeAll": true,
  1520. "label": "load_average",
  1521. "multi": true,
  1522. "name": "la_type",
  1523. "options": [
  1524. {
  1525. "selected": false,
  1526. "text": "All",
  1527. "value": "$__all"
  1528. },
  1529. {
  1530. "selected": false,
  1531. "text": "system_load1",
  1532. "value": "system_load1"
  1533. },
  1534. {
  1535. "selected": false,
  1536. "text": "system_load5",
  1537. "value": "system_load5"
  1538. },
  1539. {
  1540. "selected": true,
  1541. "text": "system_load15",
  1542. "value": "system_load15"
  1543. }
  1544. ],
  1545. "query": "system_load1,system_load5,system_load15",
  1546. "type": "custom"
  1547. },
  1548. {
  1549. "allValue": null,
  1550. "current": {
  1551. "text": "3m",
  1552. "value": "3m"
  1553. },
  1554. "hide": 0,
  1555. "includeAll": false,
  1556. "label": "rate_interval",
  1557. "multi": false,
  1558. "name": "rate_interval",
  1559. "options": [
  1560. {
  1561. "selected": false,
  1562. "text": "1m",
  1563. "value": "1m"
  1564. },
  1565. {
  1566. "selected": true,
  1567. "text": "3m",
  1568. "value": "3m"
  1569. },
  1570. {
  1571. "selected": false,
  1572. "text": "5m",
  1573. "value": "5m"
  1574. },
  1575. {
  1576. "selected": false,
  1577. "text": "10m",
  1578. "value": "10m"
  1579. },
  1580. {
  1581. "selected": false,
  1582. "text": "15m",
  1583. "value": "15m"
  1584. }
  1585. ],
  1586. "query": "1m,3m,5m,10m,15m",
  1587. "type": "custom"
  1588. }
  1589. ]
  1590. },
  1591. "time": {
  1592. "from": "now-1h",
  1593. "to": "now"
  1594. },
  1595. "timepicker": {
  1596. "refresh_intervals": [
  1597. "5s",
  1598. "10s",
  1599. "30s",
  1600. "1m",
  1601. "5m",
  1602. "15m",
  1603. "30m",
  1604. "1h",
  1605. "2h",
  1606. "1d"
  1607. ],
  1608. "time_options": [
  1609. "5m",
  1610. "15m",
  1611. "1h",
  1612. "6h",
  1613. "12h",
  1614. "24h",
  1615. "2d",
  1616. "7d",
  1617. "30d"
  1618. ]
  1619. },
  1620. "timezone": "browser",
  1621. "title": "System - Overview",
  1622. "uid": null,
  1623. "version": 23
  1624. }
  1625. {% endraw %}