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.

3929 lines
108KB

  1. {
  2. "annotations": {
  3. "list": []
  4. },
  5. "editable": true,
  6. "hideControls": false,
  7. "id": null,
  8. "links": [],
  9. "originalTitle": "System",
  10. "refresh": "1m",
  11. "rows": [
  12. {
  13. "collapse": false,
  14. "editable": true,
  15. "height": "250px",
  16. "panels": [
  17. {
  18. "aliasColors": {},
  19. "bars": false,
  20. "datasource": null,
  21. "editable": true,
  22. "error": false,
  23. "fill": 0,
  24. "grid": {
  25. "threshold1": null,
  26. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  27. "threshold2": null,
  28. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  29. },
  30. "id": 5,
  31. "interval": ">60s",
  32. "legend": {
  33. "avg": false,
  34. "current": false,
  35. "max": false,
  36. "min": false,
  37. "show": true,
  38. "total": false,
  39. "values": false
  40. },
  41. "lines": true,
  42. "linewidth": 1,
  43. "links": [],
  44. "nullPointMode": "connected",
  45. "percentage": false,
  46. "pointradius": 5,
  47. "points": false,
  48. "renderer": "flot",
  49. "seriesOverrides": [],
  50. "span": 6,
  51. "stack": false,
  52. "steppedLine": false,
  53. "targets": [
  54. {
  55. "alias": "user",
  56. "column": "value",
  57. "dsType": "influxdb",
  58. "function": "mean",
  59. "groupBy": [
  60. {
  61. "params": [
  62. "$interval"
  63. ],
  64. "type": "time"
  65. },
  66. {
  67. "params": [
  68. "0"
  69. ],
  70. "type": "fill"
  71. }
  72. ],
  73. "groupByTags": [],
  74. "measurement": "cpu_user",
  75. "policy": "default",
  76. "query": "SELECT mean(\"value\") FROM \"cpu_user\" WHERE \"hostname\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  77. "rawQuery": false,
  78. "refId": "A",
  79. "resultFormat": "time_series",
  80. "select": [
  81. [
  82. {
  83. "params": [
  84. "value"
  85. ],
  86. "type": "field"
  87. },
  88. {
  89. "params": [],
  90. "type": "mean"
  91. }
  92. ]
  93. ],
  94. "tags": [
  95. {
  96. "key": "hostname",
  97. "value": "$server"
  98. }
  99. ]
  100. },
  101. {
  102. "alias": "idle",
  103. "column": "value",
  104. "dsType": "influxdb",
  105. "function": "mean",
  106. "groupBy": [
  107. {
  108. "params": [
  109. "$interval"
  110. ],
  111. "type": "time"
  112. },
  113. {
  114. "params": [
  115. "0"
  116. ],
  117. "type": "fill"
  118. }
  119. ],
  120. "groupByTags": [],
  121. "measurement": "cpu_idle",
  122. "policy": "default",
  123. "query": "SELECT mean(\"value\") FROM \"cpu_idle\" WHERE \"hostname\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  124. "rawQuery": false,
  125. "refId": "B",
  126. "resultFormat": "time_series",
  127. "select": [
  128. [
  129. {
  130. "params": [
  131. "value"
  132. ],
  133. "type": "field"
  134. },
  135. {
  136. "params": [],
  137. "type": "mean"
  138. }
  139. ]
  140. ],
  141. "tags": [
  142. {
  143. "key": "hostname",
  144. "value": "$server"
  145. }
  146. ],
  147. "target": ""
  148. },
  149. {
  150. "alias": "interrupt",
  151. "column": "value",
  152. "dsType": "influxdb",
  153. "function": "mean",
  154. "groupBy": [
  155. {
  156. "params": [
  157. "$interval"
  158. ],
  159. "type": "time"
  160. },
  161. {
  162. "params": [
  163. "0"
  164. ],
  165. "type": "fill"
  166. }
  167. ],
  168. "groupByTags": [],
  169. "measurement": "cpu_interrupt",
  170. "policy": "default",
  171. "query": "SELECT mean(\"value\") FROM \"cpu_interrupt\" WHERE \"hostname\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  172. "rawQuery": false,
  173. "refId": "C",
  174. "resultFormat": "time_series",
  175. "select": [
  176. [
  177. {
  178. "params": [
  179. "value"
  180. ],
  181. "type": "field"
  182. },
  183. {
  184. "params": [],
  185. "type": "mean"
  186. }
  187. ]
  188. ],
  189. "tags": [
  190. {
  191. "key": "hostname",
  192. "value": "$server"
  193. }
  194. ],
  195. "target": ""
  196. },
  197. {
  198. "alias": "nice",
  199. "column": "value",
  200. "dsType": "influxdb",
  201. "function": "mean",
  202. "groupBy": [
  203. {
  204. "params": [
  205. "$interval"
  206. ],
  207. "type": "time"
  208. },
  209. {
  210. "params": [
  211. "0"
  212. ],
  213. "type": "fill"
  214. }
  215. ],
  216. "groupByTags": [],
  217. "measurement": "cpu_nice",
  218. "policy": "default",
  219. "query": "SELECT mean(\"value\") FROM \"cpu_nice\" WHERE \"hostname\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  220. "rawQuery": false,
  221. "refId": "D",
  222. "resultFormat": "time_series",
  223. "select": [
  224. [
  225. {
  226. "params": [
  227. "value"
  228. ],
  229. "type": "field"
  230. },
  231. {
  232. "params": [],
  233. "type": "mean"
  234. }
  235. ]
  236. ],
  237. "tags": [
  238. {
  239. "key": "hostname",
  240. "value": "$server"
  241. }
  242. ],
  243. "target": ""
  244. },
  245. {
  246. "alias": "system",
  247. "column": "value",
  248. "dsType": "influxdb",
  249. "function": "mean",
  250. "groupBy": [
  251. {
  252. "params": [
  253. "$interval"
  254. ],
  255. "type": "time"
  256. },
  257. {
  258. "params": [
  259. "0"
  260. ],
  261. "type": "fill"
  262. }
  263. ],
  264. "groupByTags": [],
  265. "measurement": "cpu_system",
  266. "policy": "default",
  267. "query": "SELECT mean(\"value\") FROM \"cpu_system\" WHERE \"hostname\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  268. "rawQuery": false,
  269. "refId": "E",
  270. "resultFormat": "time_series",
  271. "select": [
  272. [
  273. {
  274. "params": [
  275. "value"
  276. ],
  277. "type": "field"
  278. },
  279. {
  280. "params": [],
  281. "type": "mean"
  282. }
  283. ]
  284. ],
  285. "tags": [
  286. {
  287. "key": "hostname",
  288. "value": "$server"
  289. }
  290. ],
  291. "target": ""
  292. },
  293. {
  294. "alias": "steal",
  295. "column": "value",
  296. "dsType": "influxdb",
  297. "function": "mean",
  298. "groupBy": [
  299. {
  300. "params": [
  301. "$interval"
  302. ],
  303. "type": "time"
  304. },
  305. {
  306. "params": [
  307. "0"
  308. ],
  309. "type": "fill"
  310. }
  311. ],
  312. "groupByTags": [],
  313. "measurement": "cpu_steal",
  314. "policy": "default",
  315. "query": "SELECT mean(\"value\") FROM \"cpu_steal\" WHERE \"hostname\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  316. "rawQuery": false,
  317. "refId": "F",
  318. "resultFormat": "time_series",
  319. "select": [
  320. [
  321. {
  322. "params": [
  323. "value"
  324. ],
  325. "type": "field"
  326. },
  327. {
  328. "params": [],
  329. "type": "mean"
  330. }
  331. ]
  332. ],
  333. "tags": [
  334. {
  335. "key": "hostname",
  336. "value": "$server"
  337. }
  338. ],
  339. "target": ""
  340. },
  341. {
  342. "alias": "wait",
  343. "column": "value",
  344. "dsType": "influxdb",
  345. "function": "mean",
  346. "groupBy": [
  347. {
  348. "params": [
  349. "$interval"
  350. ],
  351. "type": "time"
  352. },
  353. {
  354. "params": [
  355. "0"
  356. ],
  357. "type": "fill"
  358. }
  359. ],
  360. "groupByTags": [],
  361. "measurement": "cpu_wait",
  362. "policy": "default",
  363. "query": "SELECT mean(\"value\") FROM \"cpu_wait\" WHERE \"hostname\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  364. "rawQuery": false,
  365. "refId": "G",
  366. "resultFormat": "time_series",
  367. "select": [
  368. [
  369. {
  370. "params": [
  371. "value"
  372. ],
  373. "type": "field"
  374. },
  375. {
  376. "params": [],
  377. "type": "mean"
  378. }
  379. ]
  380. ],
  381. "tags": [
  382. {
  383. "key": "hostname",
  384. "value": "$server"
  385. }
  386. ],
  387. "target": ""
  388. }
  389. ],
  390. "timeFrom": null,
  391. "timeShift": null,
  392. "title": "CPU",
  393. "tooltip": {
  394. "msResolution": false,
  395. "shared": true,
  396. "value_type": "cumulative"
  397. },
  398. "type": "graph",
  399. "xaxis": {
  400. "show": true
  401. },
  402. "yaxes": [
  403. {
  404. "format": "percent",
  405. "logBase": 1,
  406. "max": 100,
  407. "min": null,
  408. "show": true
  409. },
  410. {
  411. "format": "short",
  412. "logBase": 1,
  413. "max": null,
  414. "min": null,
  415. "show": true
  416. }
  417. ]
  418. },
  419. {
  420. "aliasColors": {},
  421. "annotate": {
  422. "enable": false
  423. },
  424. "bars": false,
  425. "datasource": null,
  426. "fill": 1,
  427. "grid": {
  428. "max": null,
  429. "min": null,
  430. "threshold1": null,
  431. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  432. "threshold2": null,
  433. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  434. },
  435. "id": 4,
  436. "interactive": true,
  437. "interval": ">60s",
  438. "legend": {
  439. "avg": false,
  440. "current": false,
  441. "max": false,
  442. "min": false,
  443. "show": true,
  444. "total": false,
  445. "values": false
  446. },
  447. "legend_counts": true,
  448. "lines": true,
  449. "linewidth": 2,
  450. "links": [],
  451. "nullPointMode": "connected",
  452. "options": false,
  453. "percentage": false,
  454. "pointradius": 5,
  455. "points": false,
  456. "renderer": "flot",
  457. "resolution": 100,
  458. "scale": 1,
  459. "seriesOverrides": [],
  460. "span": 6,
  461. "spyable": true,
  462. "stack": true,
  463. "steppedLine": false,
  464. "targets": [
  465. {
  466. "alias": "used",
  467. "column": "value",
  468. "dsType": "influxdb",
  469. "function": "mean",
  470. "groupBy": [
  471. {
  472. "params": [
  473. "$interval"
  474. ],
  475. "type": "time"
  476. },
  477. {
  478. "params": [
  479. "0"
  480. ],
  481. "type": "fill"
  482. }
  483. ],
  484. "groupByTags": [],
  485. "interval": "",
  486. "measurement": "memory_used",
  487. "policy": "default",
  488. "query": "SELECT mean(\"value\") FROM \"memory_used\" WHERE \"hostname\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  489. "rawQuery": false,
  490. "refId": "A",
  491. "resultFormat": "time_series",
  492. "select": [
  493. [
  494. {
  495. "params": [
  496. "value"
  497. ],
  498. "type": "field"
  499. },
  500. {
  501. "params": [],
  502. "type": "mean"
  503. }
  504. ]
  505. ],
  506. "tags": [
  507. {
  508. "key": "hostname",
  509. "value": "$server"
  510. }
  511. ],
  512. "target": "randomWalk('random walk')"
  513. },
  514. {
  515. "alias": "buffered",
  516. "column": "value",
  517. "dsType": "influxdb",
  518. "function": "mean",
  519. "groupBy": [
  520. {
  521. "params": [
  522. "$interval"
  523. ],
  524. "type": "time"
  525. },
  526. {
  527. "params": [
  528. "0"
  529. ],
  530. "type": "fill"
  531. }
  532. ],
  533. "groupByTags": [],
  534. "interval": "",
  535. "measurement": "memory_buffered",
  536. "policy": "default",
  537. "query": "SELECT mean(\"value\") FROM \"memory_buffered\" WHERE \"hostname\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  538. "rawQuery": false,
  539. "refId": "B",
  540. "resultFormat": "time_series",
  541. "select": [
  542. [
  543. {
  544. "params": [
  545. "value"
  546. ],
  547. "type": "field"
  548. },
  549. {
  550. "params": [],
  551. "type": "mean"
  552. }
  553. ]
  554. ],
  555. "tags": [
  556. {
  557. "key": "hostname",
  558. "value": "$server"
  559. }
  560. ],
  561. "target": ""
  562. },
  563. {
  564. "alias": "cached",
  565. "column": "value",
  566. "dsType": "influxdb",
  567. "function": "mean",
  568. "groupBy": [
  569. {
  570. "params": [
  571. "$interval"
  572. ],
  573. "type": "time"
  574. },
  575. {
  576. "params": [
  577. "0"
  578. ],
  579. "type": "fill"
  580. }
  581. ],
  582. "groupByTags": [],
  583. "interval": "",
  584. "measurement": "memory_cached",
  585. "policy": "default",
  586. "query": "SELECT mean(\"value\") FROM \"memory_cached\" WHERE \"hostname\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  587. "rawQuery": false,
  588. "refId": "C",
  589. "resultFormat": "time_series",
  590. "select": [
  591. [
  592. {
  593. "params": [
  594. "value"
  595. ],
  596. "type": "field"
  597. },
  598. {
  599. "params": [],
  600. "type": "mean"
  601. }
  602. ]
  603. ],
  604. "tags": [
  605. {
  606. "key": "hostname",
  607. "value": "$server"
  608. }
  609. ],
  610. "target": ""
  611. },
  612. {
  613. "alias": "free",
  614. "column": "value",
  615. "dsType": "influxdb",
  616. "function": "mean",
  617. "groupBy": [
  618. {
  619. "params": [
  620. "$interval"
  621. ],
  622. "type": "time"
  623. },
  624. {
  625. "params": [
  626. "0"
  627. ],
  628. "type": "fill"
  629. }
  630. ],
  631. "groupByTags": [],
  632. "interval": "",
  633. "measurement": "memory_free",
  634. "policy": "default",
  635. "query": "SELECT mean(\"value\") FROM \"memory_free\" WHERE \"hostname\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  636. "rawQuery": false,
  637. "refId": "D",
  638. "resultFormat": "time_series",
  639. "select": [
  640. [
  641. {
  642. "params": [
  643. "value"
  644. ],
  645. "type": "field"
  646. },
  647. {
  648. "params": [],
  649. "type": "mean"
  650. }
  651. ]
  652. ],
  653. "tags": [
  654. {
  655. "key": "hostname",
  656. "value": "$server"
  657. }
  658. ],
  659. "target": ""
  660. }
  661. ],
  662. "timeFrom": null,
  663. "timeShift": null,
  664. "timezone": "browser",
  665. "title": "Memory",
  666. "tooltip": {
  667. "msResolution": false,
  668. "query_as_alias": true,
  669. "shared": true,
  670. "value_type": "individual"
  671. },
  672. "type": "graph",
  673. "xaxis": {
  674. "show": true
  675. },
  676. "yaxes": [
  677. {
  678. "format": "bytes",
  679. "label": "",
  680. "logBase": 1,
  681. "max": null,
  682. "min": 0,
  683. "show": true
  684. },
  685. {
  686. "format": "short",
  687. "logBase": 1,
  688. "max": null,
  689. "min": null,
  690. "show": true
  691. }
  692. ]
  693. },
  694. {
  695. "aliasColors": {},
  696. "bars": false,
  697. "datasource": null,
  698. "editable": true,
  699. "error": false,
  700. "fill": 0,
  701. "grid": {
  702. "threshold1": null,
  703. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  704. "threshold2": null,
  705. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  706. },
  707. "id": 13,
  708. "interval": ">60s",
  709. "legend": {
  710. "avg": false,
  711. "current": false,
  712. "max": false,
  713. "min": false,
  714. "show": true,
  715. "total": false,
  716. "values": false
  717. },
  718. "lines": true,
  719. "linewidth": 1,
  720. "links": [],
  721. "nullPointMode": "connected",
  722. "percentage": false,
  723. "pointradius": 5,
  724. "points": false,
  725. "renderer": "flot",
  726. "seriesOverrides": [],
  727. "span": 4,
  728. "stack": false,
  729. "steppedLine": false,
  730. "targets": [
  731. {
  732. "alias": "short",
  733. "column": "value",
  734. "dsType": "influxdb",
  735. "function": "mean",
  736. "groupBy": [
  737. {
  738. "params": [
  739. "$interval"
  740. ],
  741. "type": "time"
  742. },
  743. {
  744. "params": [
  745. "0"
  746. ],
  747. "type": "fill"
  748. }
  749. ],
  750. "groupByTags": [],
  751. "measurement": "load_shortterm",
  752. "policy": "default",
  753. "query": "SELECT mean(\"value\") FROM \"load_shortterm\" WHERE \"hostname\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  754. "rawQuery": false,
  755. "refId": "A",
  756. "resultFormat": "time_series",
  757. "select": [
  758. [
  759. {
  760. "params": [
  761. "value"
  762. ],
  763. "type": "field"
  764. },
  765. {
  766. "params": [],
  767. "type": "mean"
  768. }
  769. ]
  770. ],
  771. "tags": [
  772. {
  773. "key": "hostname",
  774. "value": "$server"
  775. }
  776. ]
  777. },
  778. {
  779. "alias": "mid",
  780. "column": "value",
  781. "dsType": "influxdb",
  782. "function": "mean",
  783. "groupBy": [
  784. {
  785. "params": [
  786. "$interval"
  787. ],
  788. "type": "time"
  789. },
  790. {
  791. "params": [
  792. "0"
  793. ],
  794. "type": "fill"
  795. }
  796. ],
  797. "groupByTags": [],
  798. "measurement": "load_midterm",
  799. "policy": "default",
  800. "query": "SELECT mean(\"value\") FROM \"load_midterm\" WHERE \"hostname\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  801. "rawQuery": false,
  802. "refId": "B",
  803. "resultFormat": "time_series",
  804. "select": [
  805. [
  806. {
  807. "params": [
  808. "value"
  809. ],
  810. "type": "field"
  811. },
  812. {
  813. "params": [],
  814. "type": "mean"
  815. }
  816. ]
  817. ],
  818. "tags": [
  819. {
  820. "key": "hostname",
  821. "value": "$server"
  822. }
  823. ]
  824. },
  825. {
  826. "alias": "long",
  827. "column": "value",
  828. "dsType": "influxdb",
  829. "function": "mean",
  830. "groupBy": [
  831. {
  832. "params": [
  833. "$interval"
  834. ],
  835. "type": "time"
  836. },
  837. {
  838. "params": [
  839. "0"
  840. ],
  841. "type": "fill"
  842. }
  843. ],
  844. "groupByTags": [],
  845. "measurement": "load_longterm",
  846. "policy": "default",
  847. "query": "SELECT mean(\"value\") FROM \"load_longterm\" WHERE \"hostname\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  848. "rawQuery": false,
  849. "refId": "C",
  850. "resultFormat": "time_series",
  851. "select": [
  852. [
  853. {
  854. "params": [
  855. "value"
  856. ],
  857. "type": "field"
  858. },
  859. {
  860. "params": [],
  861. "type": "mean"
  862. }
  863. ]
  864. ],
  865. "tags": [
  866. {
  867. "key": "hostname",
  868. "value": "$server"
  869. }
  870. ]
  871. }
  872. ],
  873. "timeFrom": null,
  874. "timeShift": null,
  875. "title": "System load",
  876. "tooltip": {
  877. "msResolution": false,
  878. "shared": true,
  879. "value_type": "cumulative"
  880. },
  881. "type": "graph",
  882. "xaxis": {
  883. "show": true
  884. },
  885. "yaxes": [
  886. {
  887. "format": "short",
  888. "logBase": 1,
  889. "max": null,
  890. "min": null,
  891. "show": true
  892. },
  893. {
  894. "format": "short",
  895. "logBase": 1,
  896. "max": null,
  897. "min": null,
  898. "show": true
  899. }
  900. ]
  901. },
  902. {
  903. "aliasColors": {},
  904. "bars": false,
  905. "datasource": null,
  906. "editable": true,
  907. "error": false,
  908. "fill": 0,
  909. "grid": {
  910. "threshold1": null,
  911. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  912. "threshold2": null,
  913. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  914. },
  915. "id": 15,
  916. "interval": ">60s",
  917. "legend": {
  918. "alignAsTable": false,
  919. "avg": false,
  920. "current": false,
  921. "max": false,
  922. "min": false,
  923. "rightSide": false,
  924. "show": true,
  925. "total": false,
  926. "values": false
  927. },
  928. "lines": true,
  929. "linewidth": 1,
  930. "links": [],
  931. "nullPointMode": "connected",
  932. "percentage": false,
  933. "pointradius": 5,
  934. "points": false,
  935. "renderer": "flot",
  936. "seriesOverrides": [
  937. {
  938. "alias": "fork rate",
  939. "yaxis": 2
  940. }
  941. ],
  942. "span": 3,
  943. "stack": false,
  944. "steppedLine": false,
  945. "targets": [
  946. {
  947. "alias": "blocked",
  948. "column": "value",
  949. "dsType": "influxdb",
  950. "function": "max",
  951. "groupBy": [
  952. {
  953. "params": [
  954. "$interval"
  955. ],
  956. "type": "time"
  957. },
  958. {
  959. "params": [
  960. "0"
  961. ],
  962. "type": "fill"
  963. }
  964. ],
  965. "groupByTags": [],
  966. "measurement": "processes_count",
  967. "policy": "default",
  968. "query": "SELECT max(\"value\") FROM \"processes_count\" WHERE \"hostname\" =~ /^$server$/ AND \"state\" = 'blocked' AND $timeFilter GROUP BY time($interval) fill(0)",
  969. "rawQuery": false,
  970. "refId": "A",
  971. "resultFormat": "time_series",
  972. "select": [
  973. [
  974. {
  975. "params": [
  976. "value"
  977. ],
  978. "type": "field"
  979. },
  980. {
  981. "params": [],
  982. "type": "max"
  983. }
  984. ]
  985. ],
  986. "tags": [
  987. {
  988. "key": "hostname",
  989. "value": "$server"
  990. },
  991. {
  992. "condition": "AND",
  993. "key": "state",
  994. "value": "blocked"
  995. }
  996. ]
  997. },
  998. {
  999. "alias": "paging",
  1000. "column": "value",
  1001. "dsType": "influxdb",
  1002. "function": "max",
  1003. "groupBy": [
  1004. {
  1005. "params": [
  1006. "$interval"
  1007. ],
  1008. "type": "time"
  1009. },
  1010. {
  1011. "params": [
  1012. "0"
  1013. ],
  1014. "type": "fill"
  1015. }
  1016. ],
  1017. "groupByTags": [],
  1018. "measurement": "processes_count",
  1019. "policy": "default",
  1020. "query": "SELECT max(\"value\") FROM \"processes_count\" WHERE \"hostname\" =~ /^$server$/ AND \"state\" = 'paging' AND $timeFilter GROUP BY time($interval) fill(0)",
  1021. "rawQuery": false,
  1022. "refId": "B",
  1023. "resultFormat": "time_series",
  1024. "select": [
  1025. [
  1026. {
  1027. "params": [
  1028. "value"
  1029. ],
  1030. "type": "field"
  1031. },
  1032. {
  1033. "params": [],
  1034. "type": "max"
  1035. }
  1036. ]
  1037. ],
  1038. "tags": [
  1039. {
  1040. "key": "hostname",
  1041. "value": "$server"
  1042. },
  1043. {
  1044. "condition": "AND",
  1045. "key": "state",
  1046. "value": "paging"
  1047. }
  1048. ]
  1049. },
  1050. {
  1051. "alias": "running",
  1052. "column": "value",
  1053. "dsType": "influxdb",
  1054. "function": "max",
  1055. "groupBy": [
  1056. {
  1057. "params": [
  1058. "$interval"
  1059. ],
  1060. "type": "time"
  1061. },
  1062. {
  1063. "params": [
  1064. "0"
  1065. ],
  1066. "type": "fill"
  1067. }
  1068. ],
  1069. "groupByTags": [],
  1070. "measurement": "processes_count",
  1071. "policy": "default",
  1072. "query": "SELECT max(\"value\") FROM \"processes_count\" WHERE \"hostname\" =~ /^$server$/ AND \"state\" = 'running' AND $timeFilter GROUP BY time($interval) fill(0)",
  1073. "rawQuery": false,
  1074. "refId": "C",
  1075. "resultFormat": "time_series",
  1076. "select": [
  1077. [
  1078. {
  1079. "params": [
  1080. "value"
  1081. ],
  1082. "type": "field"
  1083. },
  1084. {
  1085. "params": [],
  1086. "type": "max"
  1087. }
  1088. ]
  1089. ],
  1090. "tags": [
  1091. {
  1092. "key": "hostname",
  1093. "value": "$server"
  1094. },
  1095. {
  1096. "condition": "AND",
  1097. "key": "state",
  1098. "value": "running"
  1099. }
  1100. ]
  1101. },
  1102. {
  1103. "alias": "sleeping",
  1104. "column": "value",
  1105. "dsType": "influxdb",
  1106. "function": "max",
  1107. "groupBy": [
  1108. {
  1109. "params": [
  1110. "$interval"
  1111. ],
  1112. "type": "time"
  1113. },
  1114. {
  1115. "params": [
  1116. "0"
  1117. ],
  1118. "type": "fill"
  1119. }
  1120. ],
  1121. "groupByTags": [],
  1122. "measurement": "processes_count",
  1123. "policy": "default",
  1124. "query": "SELECT max(\"value\") FROM \"processes_count\" WHERE \"hostname\" =~ /^$server$/ AND \"state\" = 'sleeping' AND $timeFilter GROUP BY time($interval) fill(0)",
  1125. "rawQuery": false,
  1126. "refId": "D",
  1127. "resultFormat": "time_series",
  1128. "select": [
  1129. [
  1130. {
  1131. "params": [
  1132. "value"
  1133. ],
  1134. "type": "field"
  1135. },
  1136. {
  1137. "params": [],
  1138. "type": "max"
  1139. }
  1140. ]
  1141. ],
  1142. "tags": [
  1143. {
  1144. "key": "hostname",
  1145. "value": "$server"
  1146. },
  1147. {
  1148. "condition": "AND",
  1149. "key": "state",
  1150. "value": "sleeping"
  1151. }
  1152. ]
  1153. },
  1154. {
  1155. "alias": "stopped",
  1156. "column": "value",
  1157. "dsType": "influxdb",
  1158. "function": "max",
  1159. "groupBy": [
  1160. {
  1161. "params": [
  1162. "$interval"
  1163. ],
  1164. "type": "time"
  1165. },
  1166. {
  1167. "params": [
  1168. "0"
  1169. ],
  1170. "type": "fill"
  1171. }
  1172. ],
  1173. "groupByTags": [],
  1174. "measurement": "processes_count",
  1175. "policy": "default",
  1176. "query": "SELECT max(\"value\") FROM \"processes_count\" WHERE \"hostname\" =~ /^$server$/ AND \"state\" = 'stopped' AND $timeFilter GROUP BY time($interval) fill(0)",
  1177. "rawQuery": false,
  1178. "refId": "E",
  1179. "resultFormat": "time_series",
  1180. "select": [
  1181. [
  1182. {
  1183. "params": [
  1184. "value"
  1185. ],
  1186. "type": "field"
  1187. },
  1188. {
  1189. "params": [],
  1190. "type": "max"
  1191. }
  1192. ]
  1193. ],
  1194. "tags": [
  1195. {
  1196. "key": "hostname",
  1197. "value": "$server"
  1198. },
  1199. {
  1200. "condition": "AND",
  1201. "key": "state",
  1202. "value": "stopped"
  1203. }
  1204. ]
  1205. },
  1206. {
  1207. "alias": "zombies",
  1208. "column": "value",
  1209. "dsType": "influxdb",
  1210. "function": "max",
  1211. "groupBy": [
  1212. {
  1213. "params": [
  1214. "$interval"
  1215. ],
  1216. "type": "time"
  1217. },
  1218. {
  1219. "params": [
  1220. "0"
  1221. ],
  1222. "type": "fill"
  1223. }
  1224. ],
  1225. "groupByTags": [],
  1226. "measurement": "processes_count",
  1227. "policy": "default",
  1228. "query": "SELECT max(\"value\") FROM \"processes_count\" WHERE \"hostname\" =~ /^$server$/ AND \"state\" = 'zombies' AND $timeFilter GROUP BY time($interval) fill(0)",
  1229. "rawQuery": false,
  1230. "refId": "F",
  1231. "resultFormat": "time_series",
  1232. "select": [
  1233. [
  1234. {
  1235. "params": [
  1236. "value"
  1237. ],
  1238. "type": "field"
  1239. },
  1240. {
  1241. "params": [],
  1242. "type": "max"
  1243. }
  1244. ]
  1245. ],
  1246. "tags": [
  1247. {
  1248. "key": "hostname",
  1249. "value": "$server"
  1250. },
  1251. {
  1252. "condition": "AND",
  1253. "key": "state",
  1254. "value": "zombies"
  1255. }
  1256. ]
  1257. }
  1258. ],
  1259. "timeFrom": null,
  1260. "timeShift": null,
  1261. "title": "Processes",
  1262. "tooltip": {
  1263. "msResolution": false,
  1264. "shared": true,
  1265. "value_type": "cumulative"
  1266. },
  1267. "type": "graph",
  1268. "xaxis": {
  1269. "show": true
  1270. },
  1271. "yaxes": [
  1272. {
  1273. "format": "short",
  1274. "logBase": 1,
  1275. "max": null,
  1276. "min": 0,
  1277. "show": true
  1278. },
  1279. {
  1280. "format": "short",
  1281. "logBase": 1,
  1282. "max": null,
  1283. "min": 0,
  1284. "show": true
  1285. }
  1286. ]
  1287. },
  1288. {
  1289. "aliasColors": {},
  1290. "bars": false,
  1291. "datasource": null,
  1292. "editable": true,
  1293. "error": false,
  1294. "fill": 0,
  1295. "grid": {
  1296. "threshold1": null,
  1297. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  1298. "threshold2": null,
  1299. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  1300. },
  1301. "id": 16,
  1302. "interval": ">60s",
  1303. "legend": {
  1304. "avg": false,
  1305. "current": false,
  1306. "max": false,
  1307. "min": false,
  1308. "show": true,
  1309. "total": false,
  1310. "values": false
  1311. },
  1312. "lines": true,
  1313. "linewidth": 1,
  1314. "links": [],
  1315. "nullPointMode": "connected",
  1316. "percentage": false,
  1317. "pointradius": 5,
  1318. "points": false,
  1319. "renderer": "flot",
  1320. "seriesOverrides": [],
  1321. "span": 3,
  1322. "stack": false,
  1323. "steppedLine": false,
  1324. "targets": [
  1325. {
  1326. "alias": "fork rate",
  1327. "column": "value",
  1328. "dsType": "influxdb",
  1329. "function": "max",
  1330. "groupBy": [
  1331. {
  1332. "params": [
  1333. "$interval"
  1334. ],
  1335. "type": "time"
  1336. },
  1337. {
  1338. "params": [
  1339. "0"
  1340. ],
  1341. "type": "fill"
  1342. }
  1343. ],
  1344. "groupByTags": [],
  1345. "measurement": "processes_fork_rate",
  1346. "policy": "default",
  1347. "query": "SELECT max(\"value\") FROM \"processes_fork_rate\" WHERE \"hostname\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  1348. "rawQuery": false,
  1349. "refId": "A",
  1350. "resultFormat": "time_series",
  1351. "select": [
  1352. [
  1353. {
  1354. "params": [
  1355. "value"
  1356. ],
  1357. "type": "field"
  1358. },
  1359. {
  1360. "params": [],
  1361. "type": "max"
  1362. }
  1363. ]
  1364. ],
  1365. "tags": [
  1366. {
  1367. "key": "hostname",
  1368. "value": "$server"
  1369. }
  1370. ]
  1371. }
  1372. ],
  1373. "timeFrom": null,
  1374. "timeShift": null,
  1375. "title": "Process fork",
  1376. "tooltip": {
  1377. "msResolution": false,
  1378. "shared": true,
  1379. "value_type": "cumulative"
  1380. },
  1381. "type": "graph",
  1382. "xaxis": {
  1383. "show": true
  1384. },
  1385. "yaxes": [
  1386. {
  1387. "format": "short",
  1388. "label": "per second",
  1389. "logBase": 1,
  1390. "max": null,
  1391. "min": 0,
  1392. "show": true
  1393. },
  1394. {
  1395. "format": "short",
  1396. "logBase": 1,
  1397. "max": null,
  1398. "min": null,
  1399. "show": true
  1400. }
  1401. ]
  1402. },
  1403. {
  1404. "cacheTimeout": null,
  1405. "colorBackground": false,
  1406. "colorValue": false,
  1407. "colors": [
  1408. "rgba(245, 54, 54, 0.9)",
  1409. "rgba(237, 129, 40, 0.89)",
  1410. "rgba(50, 172, 45, 0.97)"
  1411. ],
  1412. "datasource": null,
  1413. "editable": true,
  1414. "error": false,
  1415. "format": "none",
  1416. "gauge": {
  1417. "maxValue": 100,
  1418. "minValue": 0,
  1419. "show": false,
  1420. "thresholdLabels": false,
  1421. "thresholdMarkers": true
  1422. },
  1423. "id": 26,
  1424. "interval": ">60s",
  1425. "links": [],
  1426. "maxDataPoints": 100,
  1427. "nullPointMode": "connected",
  1428. "nullText": null,
  1429. "postfix": "",
  1430. "postfixFontSize": "50%",
  1431. "prefix": "",
  1432. "prefixFontSize": "50%",
  1433. "span": 2,
  1434. "sparkline": {
  1435. "fillColor": "rgba(31, 118, 189, 0.18)",
  1436. "full": false,
  1437. "lineColor": "rgb(31, 120, 193)",
  1438. "show": true
  1439. },
  1440. "targets": [
  1441. {
  1442. "column": "value",
  1443. "dsType": "influxdb",
  1444. "function": "last",
  1445. "groupBy": [
  1446. {
  1447. "params": [
  1448. "$interval"
  1449. ],
  1450. "type": "time"
  1451. },
  1452. {
  1453. "params": [
  1454. "null"
  1455. ],
  1456. "type": "fill"
  1457. }
  1458. ],
  1459. "groupByTags": [],
  1460. "measurement": "logged_users",
  1461. "policy": "default",
  1462. "query": "SELECT last(\"value\") FROM \"logged_users\" WHERE \"hostname\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(null)",
  1463. "rawQuery": false,
  1464. "refId": "A",
  1465. "resultFormat": "time_series",
  1466. "select": [
  1467. [
  1468. {
  1469. "params": [
  1470. "value"
  1471. ],
  1472. "type": "field"
  1473. },
  1474. {
  1475. "params": [],
  1476. "type": "last"
  1477. }
  1478. ]
  1479. ],
  1480. "tags": [
  1481. {
  1482. "key": "hostname",
  1483. "value": "$server"
  1484. }
  1485. ]
  1486. }
  1487. ],
  1488. "thresholds": "",
  1489. "title": "Logged-in users",
  1490. "type": "singlestat",
  1491. "valueFontSize": "80%",
  1492. "valueMaps": [
  1493. {
  1494. "op": "=",
  1495. "text": "N/A",
  1496. "value": "null"
  1497. }
  1498. ],
  1499. "valueName": "current"
  1500. }
  1501. ],
  1502. "showTitle": false,
  1503. "title": "Main"
  1504. },
  1505. {
  1506. "collapse": false,
  1507. "editable": true,
  1508. "height": "250px",
  1509. "panels": [
  1510. {
  1511. "cacheTimeout": null,
  1512. "colorBackground": false,
  1513. "colorValue": true,
  1514. "colors": [
  1515. "rgba(245, 54, 54, 0.9)",
  1516. "rgba(237, 129, 40, 0.89)",
  1517. "rgba(50, 172, 45, 0.97)"
  1518. ],
  1519. "datasource": null,
  1520. "editable": true,
  1521. "error": false,
  1522. "format": "percent",
  1523. "gauge": {
  1524. "maxValue": 100,
  1525. "minValue": 0,
  1526. "show": false,
  1527. "thresholdLabels": false,
  1528. "thresholdMarkers": true
  1529. },
  1530. "id": 27,
  1531. "interval": ">60s",
  1532. "links": [],
  1533. "maxDataPoints": 100,
  1534. "nullPointMode": "connected",
  1535. "nullText": null,
  1536. "postfix": "",
  1537. "postfixFontSize": "50%",
  1538. "prefix": "",
  1539. "prefixFontSize": "50%",
  1540. "span": 2,
  1541. "sparkline": {
  1542. "fillColor": "rgba(31, 118, 189, 0.18)",
  1543. "full": false,
  1544. "lineColor": "rgb(31, 120, 193)",
  1545. "show": true
  1546. },
  1547. "targets": [
  1548. {
  1549. "column": "value",
  1550. "dsType": "influxdb",
  1551. "function": "mean",
  1552. "groupBy": [
  1553. {
  1554. "params": [
  1555. "$interval"
  1556. ],
  1557. "type": "time"
  1558. },
  1559. {
  1560. "params": [
  1561. "null"
  1562. ],
  1563. "type": "fill"
  1564. }
  1565. ],
  1566. "groupByTags": [],
  1567. "measurement": "fs_space_percent_free",
  1568. "policy": "default",
  1569. "query": "SELECT mean(\"value\") FROM \"fs_space_percent_free\" WHERE \"hostname\" =~ /^$server$/ AND \"fs\" =~ /^$mount$/ AND $timeFilter GROUP BY time($interval) fill(null)",
  1570. "rawQuery": false,
  1571. "refId": "A",
  1572. "resultFormat": "time_series",
  1573. "select": [
  1574. [
  1575. {
  1576. "params": [
  1577. "value"
  1578. ],
  1579. "type": "field"
  1580. },
  1581. {
  1582. "params": [],
  1583. "type": "mean"
  1584. }
  1585. ]
  1586. ],
  1587. "tags": [
  1588. {
  1589. "key": "hostname",
  1590. "value": "$server"
  1591. },
  1592. {
  1593. "condition": "AND",
  1594. "key": "fs",
  1595. "value": "$mount"
  1596. }
  1597. ]
  1598. }
  1599. ],
  1600. "thresholds": "10,15",
  1601. "title": "Free space",
  1602. "type": "singlestat",
  1603. "valueFontSize": "80%",
  1604. "valueMaps": [
  1605. {
  1606. "op": "=",
  1607. "text": "N/A",
  1608. "value": "null"
  1609. }
  1610. ],
  1611. "valueName": "current"
  1612. },
  1613. {
  1614. "aliasColors": {},
  1615. "annotate": {
  1616. "enable": false
  1617. },
  1618. "bars": false,
  1619. "datasource": null,
  1620. "fill": 1,
  1621. "grid": {
  1622. "max": null,
  1623. "min": null,
  1624. "threshold1": null,
  1625. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  1626. "threshold2": null,
  1627. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  1628. },
  1629. "id": 9,
  1630. "interactive": true,
  1631. "interval": ">60s",
  1632. "legend": {
  1633. "avg": false,
  1634. "current": false,
  1635. "max": false,
  1636. "min": false,
  1637. "show": true,
  1638. "total": false,
  1639. "values": false
  1640. },
  1641. "legend_counts": true,
  1642. "lines": true,
  1643. "linewidth": 2,
  1644. "links": [],
  1645. "nullPointMode": "connected",
  1646. "options": false,
  1647. "percentage": false,
  1648. "pointradius": 5,
  1649. "points": false,
  1650. "renderer": "flot",
  1651. "resolution": 100,
  1652. "scale": 1,
  1653. "seriesOverrides": [],
  1654. "span": 4,
  1655. "spyable": true,
  1656. "stack": true,
  1657. "steppedLine": false,
  1658. "targets": [
  1659. {
  1660. "alias": "used",
  1661. "column": "value",
  1662. "dsType": "influxdb",
  1663. "function": "mean",
  1664. "groupBy": [
  1665. {
  1666. "params": [
  1667. "$interval"
  1668. ],
  1669. "type": "time"
  1670. },
  1671. {
  1672. "params": [
  1673. "0"
  1674. ],
  1675. "type": "fill"
  1676. }
  1677. ],
  1678. "groupByTags": [],
  1679. "interval": "",
  1680. "measurement": "fs_space_used",
  1681. "policy": "default",
  1682. "query": "SELECT mean(\"value\") FROM \"fs_space_used\" WHERE \"hostname\" =~ /^$server$/ AND \"fs\" =~ /^$mount$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  1683. "rawQuery": false,
  1684. "refId": "A",
  1685. "resultFormat": "time_series",
  1686. "select": [
  1687. [
  1688. {
  1689. "params": [
  1690. "value"
  1691. ],
  1692. "type": "field"
  1693. },
  1694. {
  1695. "params": [],
  1696. "type": "mean"
  1697. }
  1698. ]
  1699. ],
  1700. "tags": [
  1701. {
  1702. "key": "hostname",
  1703. "value": "$server"
  1704. },
  1705. {
  1706. "condition": "AND",
  1707. "key": "fs",
  1708. "value": "$mount"
  1709. }
  1710. ],
  1711. "target": "randomWalk('random walk')"
  1712. },
  1713. {
  1714. "alias": "reserved",
  1715. "column": "value",
  1716. "dsType": "influxdb",
  1717. "function": "mean",
  1718. "groupBy": [
  1719. {
  1720. "params": [
  1721. "$interval"
  1722. ],
  1723. "type": "time"
  1724. },
  1725. {
  1726. "params": [
  1727. "0"
  1728. ],
  1729. "type": "fill"
  1730. }
  1731. ],
  1732. "groupByTags": [],
  1733. "interval": "",
  1734. "measurement": "fs_space_reserved",
  1735. "policy": "default",
  1736. "query": "SELECT mean(\"value\") FROM \"fs_space_reserved\" WHERE \"hostname\" =~ /^$server$/ AND \"fs\" =~ /^$mount$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  1737. "rawQuery": false,
  1738. "refId": "B",
  1739. "resultFormat": "time_series",
  1740. "select": [
  1741. [
  1742. {
  1743. "params": [
  1744. "value"
  1745. ],
  1746. "type": "field"
  1747. },
  1748. {
  1749. "params": [],
  1750. "type": "mean"
  1751. }
  1752. ]
  1753. ],
  1754. "tags": [
  1755. {
  1756. "key": "hostname",
  1757. "value": "$server"
  1758. },
  1759. {
  1760. "condition": "AND",
  1761. "key": "fs",
  1762. "value": "$mount"
  1763. }
  1764. ],
  1765. "target": "randomWalk('random walk')"
  1766. },
  1767. {
  1768. "alias": "free",
  1769. "column": "value",
  1770. "dsType": "influxdb",
  1771. "function": "mean",
  1772. "groupBy": [
  1773. {
  1774. "params": [
  1775. "$interval"
  1776. ],
  1777. "type": "time"
  1778. },
  1779. {
  1780. "params": [
  1781. "0"
  1782. ],
  1783. "type": "fill"
  1784. }
  1785. ],
  1786. "groupByTags": [],
  1787. "interval": "",
  1788. "measurement": "fs_space_free",
  1789. "policy": "default",
  1790. "query": "SELECT mean(\"value\") FROM \"fs_space_free\" WHERE \"hostname\" =~ /^$server$/ AND \"fs\" =~ /^$mount$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  1791. "rawQuery": false,
  1792. "refId": "C",
  1793. "resultFormat": "time_series",
  1794. "select": [
  1795. [
  1796. {
  1797. "params": [
  1798. "value"
  1799. ],
  1800. "type": "field"
  1801. },
  1802. {
  1803. "params": [],
  1804. "type": "mean"
  1805. }
  1806. ]
  1807. ],
  1808. "tags": [
  1809. {
  1810. "key": "hostname",
  1811. "value": "$server"
  1812. },
  1813. {
  1814. "condition": "AND",
  1815. "key": "fs",
  1816. "value": "$mount"
  1817. }
  1818. ],
  1819. "target": "randomWalk('random walk')"
  1820. }
  1821. ],
  1822. "timeFrom": null,
  1823. "timeShift": null,
  1824. "timezone": "browser",
  1825. "title": "Disk usage on $mount partition",
  1826. "tooltip": {
  1827. "msResolution": false,
  1828. "query_as_alias": true,
  1829. "shared": true,
  1830. "value_type": "individual"
  1831. },
  1832. "type": "graph",
  1833. "xaxis": {
  1834. "show": true
  1835. },
  1836. "yaxes": [
  1837. {
  1838. "format": "bytes",
  1839. "label": "",
  1840. "logBase": 1,
  1841. "max": null,
  1842. "min": 0,
  1843. "show": true
  1844. },
  1845. {
  1846. "format": "short",
  1847. "logBase": 1,
  1848. "max": null,
  1849. "min": null,
  1850. "show": true
  1851. }
  1852. ]
  1853. },
  1854. {
  1855. "cacheTimeout": null,
  1856. "colorBackground": false,
  1857. "colorValue": true,
  1858. "colors": [
  1859. "rgba(245, 54, 54, 0.9)",
  1860. "rgba(237, 129, 40, 0.89)",
  1861. "rgba(50, 172, 45, 0.97)"
  1862. ],
  1863. "datasource": null,
  1864. "editable": true,
  1865. "error": false,
  1866. "format": "percent",
  1867. "gauge": {
  1868. "maxValue": 100,
  1869. "minValue": 0,
  1870. "show": false,
  1871. "thresholdLabels": false,
  1872. "thresholdMarkers": true
  1873. },
  1874. "id": 28,
  1875. "interval": ">60s",
  1876. "links": [],
  1877. "maxDataPoints": 100,
  1878. "nullPointMode": "connected",
  1879. "nullText": null,
  1880. "postfix": "",
  1881. "postfixFontSize": "50%",
  1882. "prefix": "",
  1883. "prefixFontSize": "50%",
  1884. "span": 2,
  1885. "sparkline": {
  1886. "fillColor": "rgba(31, 118, 189, 0.18)",
  1887. "full": false,
  1888. "lineColor": "rgb(31, 120, 193)",
  1889. "show": true
  1890. },
  1891. "targets": [
  1892. {
  1893. "column": "value",
  1894. "dsType": "influxdb",
  1895. "function": "mean",
  1896. "groupBy": [
  1897. {
  1898. "params": [
  1899. "$interval"
  1900. ],
  1901. "type": "time"
  1902. },
  1903. {
  1904. "params": [
  1905. "null"
  1906. ],
  1907. "type": "fill"
  1908. }
  1909. ],
  1910. "groupByTags": [],
  1911. "measurement": "fs_inodes_percent_free",
  1912. "policy": "default",
  1913. "query": "SELECT mean(\"value\") FROM \"fs_inodes_percent_free\" WHERE \"hostname\" =~ /^$server$/ AND \"fs\" =~ /^$mount$/ AND $timeFilter GROUP BY time($interval) fill(null)",
  1914. "rawQuery": false,
  1915. "refId": "A",
  1916. "resultFormat": "time_series",
  1917. "select": [
  1918. [
  1919. {
  1920. "params": [
  1921. "value"
  1922. ],
  1923. "type": "field"
  1924. },
  1925. {
  1926. "params": [],
  1927. "type": "mean"
  1928. }
  1929. ]
  1930. ],
  1931. "tags": [
  1932. {
  1933. "key": "hostname",
  1934. "value": "$server"
  1935. },
  1936. {
  1937. "condition": "AND",
  1938. "key": "fs",
  1939. "value": "$mount"
  1940. }
  1941. ]
  1942. }
  1943. ],
  1944. "thresholds": "10,15",
  1945. "title": "Free inodes",
  1946. "type": "singlestat",
  1947. "valueFontSize": "80%",
  1948. "valueMaps": [
  1949. {
  1950. "op": "=",
  1951. "text": "N/A",
  1952. "value": "null"
  1953. }
  1954. ],
  1955. "valueName": "current"
  1956. },
  1957. {
  1958. "aliasColors": {},
  1959. "annotate": {
  1960. "enable": false
  1961. },
  1962. "bars": false,
  1963. "datasource": null,
  1964. "fill": 1,
  1965. "grid": {
  1966. "max": null,
  1967. "min": null,
  1968. "threshold1": null,
  1969. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  1970. "threshold2": null,
  1971. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  1972. },
  1973. "id": 18,
  1974. "interactive": true,
  1975. "interval": ">60s",
  1976. "legend": {
  1977. "avg": false,
  1978. "current": false,
  1979. "max": false,
  1980. "min": false,
  1981. "show": true,
  1982. "total": false,
  1983. "values": false
  1984. },
  1985. "legend_counts": true,
  1986. "lines": true,
  1987. "linewidth": 2,
  1988. "links": [],
  1989. "nullPointMode": "connected",
  1990. "options": false,
  1991. "percentage": false,
  1992. "pointradius": 5,
  1993. "points": false,
  1994. "renderer": "flot",
  1995. "resolution": 100,
  1996. "scale": 1,
  1997. "seriesOverrides": [],
  1998. "span": 4,
  1999. "spyable": true,
  2000. "stack": true,
  2001. "steppedLine": false,
  2002. "targets": [
  2003. {
  2004. "alias": "used",
  2005. "column": "value",
  2006. "dsType": "influxdb",
  2007. "function": "mean",
  2008. "groupBy": [
  2009. {
  2010. "params": [
  2011. "$interval"
  2012. ],
  2013. "type": "time"
  2014. },
  2015. {
  2016. "params": [
  2017. "0"
  2018. ],
  2019. "type": "fill"
  2020. }
  2021. ],
  2022. "groupByTags": [],
  2023. "interval": "",
  2024. "measurement": "fs_inodes_used",
  2025. "policy": "default",
  2026. "query": "SELECT mean(\"value\") FROM \"fs_inodes_used\" WHERE \"hostname\" =~ /^$server$/ AND \"fs\" =~ /^$mount$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  2027. "rawQuery": false,
  2028. "refId": "A",
  2029. "resultFormat": "time_series",
  2030. "select": [
  2031. [
  2032. {
  2033. "params": [
  2034. "value"
  2035. ],
  2036. "type": "field"
  2037. },
  2038. {
  2039. "params": [],
  2040. "type": "mean"
  2041. }
  2042. ]
  2043. ],
  2044. "tags": [
  2045. {
  2046. "key": "hostname",
  2047. "value": "$server"
  2048. },
  2049. {
  2050. "condition": "AND",
  2051. "key": "fs",
  2052. "value": "$mount"
  2053. }
  2054. ],
  2055. "target": "randomWalk('random walk')"
  2056. },
  2057. {
  2058. "alias": "reserved",
  2059. "column": "value",
  2060. "dsType": "influxdb",
  2061. "function": "mean",
  2062. "groupBy": [
  2063. {
  2064. "params": [
  2065. "$interval"
  2066. ],
  2067. "type": "time"
  2068. },
  2069. {
  2070. "params": [
  2071. "0"
  2072. ],
  2073. "type": "fill"
  2074. }
  2075. ],
  2076. "groupByTags": [],
  2077. "interval": "",
  2078. "measurement": "fs_inodes_reserved",
  2079. "policy": "default",
  2080. "query": "SELECT mean(\"value\") FROM \"fs_inodes_reserved\" WHERE \"hostname\" =~ /^$server$/ AND \"fs\" =~ /^$mount$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  2081. "rawQuery": false,
  2082. "refId": "B",
  2083. "resultFormat": "time_series",
  2084. "select": [
  2085. [
  2086. {
  2087. "params": [
  2088. "value"
  2089. ],
  2090. "type": "field"
  2091. },
  2092. {
  2093. "params": [],
  2094. "type": "mean"
  2095. }
  2096. ]
  2097. ],
  2098. "tags": [
  2099. {
  2100. "key": "hostname",
  2101. "value": "$server"
  2102. },
  2103. {
  2104. "condition": "AND",
  2105. "key": "fs",
  2106. "value": "$mount"
  2107. }
  2108. ],
  2109. "target": "randomWalk('random walk')"
  2110. },
  2111. {
  2112. "alias": "free",
  2113. "column": "value",
  2114. "dsType": "influxdb",
  2115. "function": "mean",
  2116. "groupBy": [
  2117. {
  2118. "params": [
  2119. "$interval"
  2120. ],
  2121. "type": "time"
  2122. },
  2123. {
  2124. "params": [
  2125. "0"
  2126. ],
  2127. "type": "fill"
  2128. }
  2129. ],
  2130. "groupByTags": [],
  2131. "interval": "",
  2132. "measurement": "fs_inodes_free",
  2133. "policy": "default",
  2134. "query": "SELECT mean(\"value\") FROM \"fs_inodes_free\" WHERE \"hostname\" =~ /^$server$/ AND \"fs\" =~ /^$mount$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  2135. "rawQuery": false,
  2136. "refId": "C",
  2137. "resultFormat": "time_series",
  2138. "select": [
  2139. [
  2140. {
  2141. "params": [
  2142. "value"
  2143. ],
  2144. "type": "field"
  2145. },
  2146. {
  2147. "params": [],
  2148. "type": "mean"
  2149. }
  2150. ]
  2151. ],
  2152. "tags": [
  2153. {
  2154. "key": "hostname",
  2155. "value": "$server"
  2156. },
  2157. {
  2158. "condition": "AND",
  2159. "key": "fs",
  2160. "value": "$mount"
  2161. }
  2162. ],
  2163. "target": "randomWalk('random walk')"
  2164. }
  2165. ],
  2166. "timeFrom": null,
  2167. "timeShift": null,
  2168. "timezone": "browser",
  2169. "title": "inodes on $mount partition",
  2170. "tooltip": {
  2171. "msResolution": false,
  2172. "query_as_alias": true,
  2173. "shared": true,
  2174. "value_type": "individual"
  2175. },
  2176. "type": "graph",
  2177. "xaxis": {
  2178. "show": true
  2179. },
  2180. "yaxes": [
  2181. {
  2182. "format": "short",
  2183. "label": "",
  2184. "logBase": 1,
  2185. "max": null,
  2186. "min": 0,
  2187. "show": true
  2188. },
  2189. {
  2190. "format": "short",
  2191. "logBase": 1,
  2192. "max": null,
  2193. "min": null,
  2194. "show": true
  2195. }
  2196. ]
  2197. }
  2198. ],
  2199. "showTitle": true,
  2200. "title": "File system"
  2201. },
  2202. {
  2203. "collapse": false,
  2204. "editable": true,
  2205. "height": "250px",
  2206. "panels": [
  2207. {
  2208. "aliasColors": {},
  2209. "bars": false,
  2210. "datasource": null,
  2211. "editable": true,
  2212. "error": false,
  2213. "fill": 0,
  2214. "grid": {
  2215. "threshold1": null,
  2216. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  2217. "threshold2": null,
  2218. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  2219. },
  2220. "id": 23,
  2221. "interval": ">60s",
  2222. "legend": {
  2223. "avg": false,
  2224. "current": false,
  2225. "max": false,
  2226. "min": false,
  2227. "show": true,
  2228. "total": false,
  2229. "values": false
  2230. },
  2231. "lines": true,
  2232. "linewidth": 1,
  2233. "links": [],
  2234. "nullPointMode": "connected",
  2235. "percentage": false,
  2236. "pointradius": 5,
  2237. "points": false,
  2238. "renderer": "flot",
  2239. "seriesOverrides": [],
  2240. "span": 4,
  2241. "stack": false,
  2242. "steppedLine": false,
  2243. "targets": [
  2244. {
  2245. "alias": "read",
  2246. "column": "value",
  2247. "dsType": "influxdb",
  2248. "function": "max",
  2249. "groupBy": [
  2250. {
  2251. "params": [
  2252. "$interval"
  2253. ],
  2254. "type": "time"
  2255. },
  2256. {
  2257. "params": [
  2258. "0"
  2259. ],
  2260. "type": "fill"
  2261. }
  2262. ],
  2263. "groupByTags": [],
  2264. "measurement": "disk_merged_read",
  2265. "policy": "default",
  2266. "query": "SELECT max(\"value\") FROM \"disk_merged_read\" WHERE \"hostname\" =~ /^$server$/ AND \"device\" =~ /^$disk$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  2267. "rawQuery": false,
  2268. "refId": "A",
  2269. "resultFormat": "time_series",
  2270. "select": [
  2271. [
  2272. {
  2273. "params": [
  2274. "value"
  2275. ],
  2276. "type": "field"
  2277. },
  2278. {
  2279. "params": [],
  2280. "type": "max"
  2281. }
  2282. ]
  2283. ],
  2284. "tags": [
  2285. {
  2286. "key": "hostname",
  2287. "value": "$server"
  2288. },
  2289. {
  2290. "condition": "AND",
  2291. "key": "device",
  2292. "value": "$disk"
  2293. }
  2294. ]
  2295. },
  2296. {
  2297. "alias": "write",
  2298. "column": "value",
  2299. "dsType": "influxdb",
  2300. "function": "max",
  2301. "groupBy": [
  2302. {
  2303. "params": [
  2304. "$interval"
  2305. ],
  2306. "type": "time"
  2307. },
  2308. {
  2309. "params": [
  2310. "0"
  2311. ],
  2312. "type": "fill"
  2313. }
  2314. ],
  2315. "groupByTags": [],
  2316. "measurement": "disk_merged_write",
  2317. "policy": "default",
  2318. "query": "SELECT max(\"value\") FROM \"disk_merged_write\" WHERE \"hostname\" =~ /^$server$/ AND \"device\" =~ /^$disk$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  2319. "rawQuery": false,
  2320. "refId": "B",
  2321. "resultFormat": "time_series",
  2322. "select": [
  2323. [
  2324. {
  2325. "params": [
  2326. "value"
  2327. ],
  2328. "type": "field"
  2329. },
  2330. {
  2331. "params": [],
  2332. "type": "max"
  2333. }
  2334. ]
  2335. ],
  2336. "tags": [
  2337. {
  2338. "key": "hostname",
  2339. "value": "$server"
  2340. },
  2341. {
  2342. "condition": "AND",
  2343. "key": "device",
  2344. "value": "$disk"
  2345. }
  2346. ]
  2347. }
  2348. ],
  2349. "timeFrom": null,
  2350. "timeShift": null,
  2351. "title": "Merged operations on $disk",
  2352. "tooltip": {
  2353. "msResolution": false,
  2354. "shared": true,
  2355. "value_type": "cumulative"
  2356. },
  2357. "type": "graph",
  2358. "xaxis": {
  2359. "show": true
  2360. },
  2361. "yaxes": [
  2362. {
  2363. "format": "short",
  2364. "label": "per second",
  2365. "logBase": 1,
  2366. "max": null,
  2367. "min": 0,
  2368. "show": true
  2369. },
  2370. {
  2371. "format": "short",
  2372. "logBase": 1,
  2373. "max": null,
  2374. "min": null,
  2375. "show": true
  2376. }
  2377. ]
  2378. },
  2379. {
  2380. "aliasColors": {},
  2381. "bars": false,
  2382. "datasource": null,
  2383. "editable": true,
  2384. "error": false,
  2385. "fill": 0,
  2386. "grid": {
  2387. "threshold1": null,
  2388. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  2389. "threshold2": null,
  2390. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  2391. },
  2392. "id": 21,
  2393. "interval": ">60s",
  2394. "legend": {
  2395. "avg": false,
  2396. "current": false,
  2397. "max": false,
  2398. "min": false,
  2399. "show": true,
  2400. "total": false,
  2401. "values": false
  2402. },
  2403. "lines": true,
  2404. "linewidth": 1,
  2405. "links": [],
  2406. "nullPointMode": "connected",
  2407. "percentage": false,
  2408. "pointradius": 5,
  2409. "points": false,
  2410. "renderer": "flot",
  2411. "seriesOverrides": [],
  2412. "span": 4,
  2413. "stack": false,
  2414. "steppedLine": false,
  2415. "targets": [
  2416. {
  2417. "alias": "read",
  2418. "column": "value",
  2419. "dsType": "influxdb",
  2420. "function": "max",
  2421. "groupBy": [
  2422. {
  2423. "params": [
  2424. "$interval"
  2425. ],
  2426. "type": "time"
  2427. },
  2428. {
  2429. "params": [
  2430. "0"
  2431. ],
  2432. "type": "fill"
  2433. }
  2434. ],
  2435. "groupByTags": [],
  2436. "measurement": "disk_ops_read",
  2437. "policy": "default",
  2438. "query": "SELECT max(\"value\") FROM \"disk_ops_read\" WHERE \"hostname\" =~ /^$server$/ AND \"device\" =~ /^$disk$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  2439. "rawQuery": false,
  2440. "refId": "A",
  2441. "resultFormat": "time_series",
  2442. "select": [
  2443. [
  2444. {
  2445. "params": [
  2446. "value"
  2447. ],
  2448. "type": "field"
  2449. },
  2450. {
  2451. "params": [],
  2452. "type": "max"
  2453. }
  2454. ]
  2455. ],
  2456. "tags": [
  2457. {
  2458. "key": "hostname",
  2459. "value": "$server"
  2460. },
  2461. {
  2462. "condition": "AND",
  2463. "key": "device",
  2464. "value": "$disk"
  2465. }
  2466. ]
  2467. },
  2468. {
  2469. "alias": "write",
  2470. "column": "value",
  2471. "dsType": "influxdb",
  2472. "function": "max",
  2473. "groupBy": [
  2474. {
  2475. "params": [
  2476. "$interval"
  2477. ],
  2478. "type": "time"
  2479. },
  2480. {
  2481. "params": [
  2482. "0"
  2483. ],
  2484. "type": "fill"
  2485. }
  2486. ],
  2487. "groupByTags": [],
  2488. "measurement": "disk_ops_write",
  2489. "policy": "default",
  2490. "query": "SELECT max(\"value\") FROM \"disk_ops_write\" WHERE \"hostname\" =~ /^$server$/ AND \"device\" =~ /^$disk$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  2491. "rawQuery": false,
  2492. "refId": "B",
  2493. "resultFormat": "time_series",
  2494. "select": [
  2495. [
  2496. {
  2497. "params": [
  2498. "value"
  2499. ],
  2500. "type": "field"
  2501. },
  2502. {
  2503. "params": [],
  2504. "type": "max"
  2505. }
  2506. ]
  2507. ],
  2508. "tags": [
  2509. {
  2510. "key": "hostname",
  2511. "value": "$server"
  2512. },
  2513. {
  2514. "condition": "AND",
  2515. "key": "device",
  2516. "value": "$disk"
  2517. }
  2518. ]
  2519. }
  2520. ],
  2521. "timeFrom": null,
  2522. "timeShift": null,
  2523. "title": "Operations on $disk",
  2524. "tooltip": {
  2525. "msResolution": false,
  2526. "shared": true,
  2527. "value_type": "cumulative"
  2528. },
  2529. "type": "graph",
  2530. "xaxis": {
  2531. "show": true
  2532. },
  2533. "yaxes": [
  2534. {
  2535. "format": "short",
  2536. "label": "per second",
  2537. "logBase": 1,
  2538. "max": null,
  2539. "min": 0,
  2540. "show": true
  2541. },
  2542. {
  2543. "format": "short",
  2544. "logBase": 1,
  2545. "max": null,
  2546. "min": null,
  2547. "show": true
  2548. }
  2549. ]
  2550. },
  2551. {
  2552. "aliasColors": {},
  2553. "bars": false,
  2554. "datasource": null,
  2555. "editable": true,
  2556. "error": false,
  2557. "fill": 0,
  2558. "grid": {
  2559. "threshold1": null,
  2560. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  2561. "threshold2": null,
  2562. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  2563. },
  2564. "id": 22,
  2565. "interval": ">60s",
  2566. "legend": {
  2567. "avg": false,
  2568. "current": false,
  2569. "max": false,
  2570. "min": false,
  2571. "show": true,
  2572. "total": false,
  2573. "values": false
  2574. },
  2575. "lines": true,
  2576. "linewidth": 1,
  2577. "links": [],
  2578. "nullPointMode": "connected",
  2579. "percentage": false,
  2580. "pointradius": 5,
  2581. "points": false,
  2582. "renderer": "flot",
  2583. "seriesOverrides": [],
  2584. "span": 4,
  2585. "stack": false,
  2586. "steppedLine": false,
  2587. "targets": [
  2588. {
  2589. "alias": "read",
  2590. "column": "value",
  2591. "dsType": "influxdb",
  2592. "function": "max",
  2593. "groupBy": [
  2594. {
  2595. "params": [
  2596. "$interval"
  2597. ],
  2598. "type": "time"
  2599. },
  2600. {
  2601. "params": [
  2602. "0"
  2603. ],
  2604. "type": "fill"
  2605. }
  2606. ],
  2607. "groupByTags": [],
  2608. "measurement": "disk_octets_read",
  2609. "policy": "default",
  2610. "query": "SELECT max(\"value\") FROM \"disk_octets_read\" WHERE \"hostname\" =~ /^$server$/ AND \"device\" =~ /^$disk$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  2611. "rawQuery": false,
  2612. "refId": "A",
  2613. "resultFormat": "time_series",
  2614. "select": [
  2615. [
  2616. {
  2617. "params": [
  2618. "value"
  2619. ],
  2620. "type": "field"
  2621. },
  2622. {
  2623. "params": [],
  2624. "type": "max"
  2625. }
  2626. ]
  2627. ],
  2628. "tags": [
  2629. {
  2630. "key": "hostname",
  2631. "value": "$server"
  2632. },
  2633. {
  2634. "condition": "AND",
  2635. "key": "device",
  2636. "value": "$disk"
  2637. }
  2638. ]
  2639. },
  2640. {
  2641. "alias": "write",
  2642. "column": "value",
  2643. "dsType": "influxdb",
  2644. "function": "max",
  2645. "groupBy": [
  2646. {
  2647. "params": [
  2648. "$interval"
  2649. ],
  2650. "type": "time"
  2651. },
  2652. {
  2653. "params": [
  2654. "0"
  2655. ],
  2656. "type": "fill"
  2657. }
  2658. ],
  2659. "groupByTags": [],
  2660. "measurement": "disk_octets_write",
  2661. "policy": "default",
  2662. "query": "SELECT max(\"value\") FROM \"disk_octets_write\" WHERE \"hostname\" =~ /^$server$/ AND \"device\" =~ /^$disk$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  2663. "rawQuery": false,
  2664. "refId": "B",
  2665. "resultFormat": "time_series",
  2666. "select": [
  2667. [
  2668. {
  2669. "params": [
  2670. "value"
  2671. ],
  2672. "type": "field"
  2673. },
  2674. {
  2675. "params": [],
  2676. "type": "max"
  2677. }
  2678. ]
  2679. ],
  2680. "tags": [
  2681. {
  2682. "key": "hostname",
  2683. "value": "$server"
  2684. },
  2685. {
  2686. "condition": "AND",
  2687. "key": "device",
  2688. "value": "$disk"
  2689. }
  2690. ]
  2691. }
  2692. ],
  2693. "timeFrom": null,
  2694. "timeShift": null,
  2695. "title": "Traffic on $disk",
  2696. "tooltip": {
  2697. "msResolution": false,
  2698. "shared": true,
  2699. "value_type": "cumulative"
  2700. },
  2701. "type": "graph",
  2702. "xaxis": {
  2703. "show": true
  2704. },
  2705. "yaxes": [
  2706. {
  2707. "format": "short",
  2708. "label": "Bytes/s",
  2709. "logBase": 1,
  2710. "max": null,
  2711. "min": 0,
  2712. "show": true
  2713. },
  2714. {
  2715. "format": "short",
  2716. "logBase": 1,
  2717. "max": null,
  2718. "min": null,
  2719. "show": true
  2720. }
  2721. ]
  2722. }
  2723. ],
  2724. "showTitle": true,
  2725. "title": "Disk"
  2726. },
  2727. {
  2728. "collapse": false,
  2729. "editable": true,
  2730. "height": "250px",
  2731. "panels": [
  2732. {
  2733. "aliasColors": {},
  2734. "bars": false,
  2735. "datasource": null,
  2736. "editable": true,
  2737. "error": false,
  2738. "fill": 0,
  2739. "grid": {
  2740. "threshold1": null,
  2741. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  2742. "threshold2": null,
  2743. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  2744. },
  2745. "id": 17,
  2746. "interval": ">60s",
  2747. "legend": {
  2748. "avg": false,
  2749. "current": false,
  2750. "max": false,
  2751. "min": false,
  2752. "show": true,
  2753. "total": false,
  2754. "values": false
  2755. },
  2756. "lines": true,
  2757. "linewidth": 1,
  2758. "links": [],
  2759. "nullPointMode": "connected",
  2760. "percentage": false,
  2761. "pointradius": 5,
  2762. "points": false,
  2763. "renderer": "flot",
  2764. "seriesOverrides": [],
  2765. "span": 3,
  2766. "stack": false,
  2767. "steppedLine": false,
  2768. "targets": [
  2769. {
  2770. "alias": "rx",
  2771. "column": "value",
  2772. "dsType": "influxdb",
  2773. "function": "max",
  2774. "groupBy": [
  2775. {
  2776. "params": [
  2777. "$interval"
  2778. ],
  2779. "type": "time"
  2780. },
  2781. {
  2782. "params": [
  2783. "0"
  2784. ],
  2785. "type": "fill"
  2786. }
  2787. ],
  2788. "groupByTags": [],
  2789. "measurement": "if_octets_rx",
  2790. "policy": "default",
  2791. "query": "SELECT max(\"value\") FROM \"if_octets_rx\" WHERE \"hostname\" =~ /^$server$/ AND \"interface\" =~ /^$interface$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  2792. "rawQuery": false,
  2793. "refId": "A",
  2794. "resultFormat": "time_series",
  2795. "select": [
  2796. [
  2797. {
  2798. "params": [
  2799. "value"
  2800. ],
  2801. "type": "field"
  2802. },
  2803. {
  2804. "params": [],
  2805. "type": "max"
  2806. }
  2807. ]
  2808. ],
  2809. "tags": [
  2810. {
  2811. "key": "hostname",
  2812. "value": "$server"
  2813. },
  2814. {
  2815. "condition": "AND",
  2816. "key": "interface",
  2817. "value": "$interface"
  2818. }
  2819. ]
  2820. },
  2821. {
  2822. "alias": "tx",
  2823. "column": "value",
  2824. "dsType": "influxdb",
  2825. "function": "max",
  2826. "groupBy": [
  2827. {
  2828. "params": [
  2829. "$interval"
  2830. ],
  2831. "type": "time"
  2832. },
  2833. {
  2834. "params": [
  2835. "0"
  2836. ],
  2837. "type": "fill"
  2838. }
  2839. ],
  2840. "groupByTags": [],
  2841. "measurement": "if_octets_tx",
  2842. "policy": "default",
  2843. "query": "SELECT max(\"value\") FROM \"if_octets_tx\" WHERE \"hostname\" =~ /^$server$/ AND \"interface\" =~ /^$interface$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  2844. "rawQuery": false,
  2845. "refId": "B",
  2846. "resultFormat": "time_series",
  2847. "select": [
  2848. [
  2849. {
  2850. "params": [
  2851. "value"
  2852. ],
  2853. "type": "field"
  2854. },
  2855. {
  2856. "params": [],
  2857. "type": "max"
  2858. }
  2859. ]
  2860. ],
  2861. "tags": [
  2862. {
  2863. "key": "hostname",
  2864. "value": "$server"
  2865. },
  2866. {
  2867. "condition": "AND",
  2868. "key": "interface",
  2869. "value": "$interface"
  2870. }
  2871. ]
  2872. }
  2873. ],
  2874. "timeFrom": null,
  2875. "timeShift": null,
  2876. "title": "Network traffic on $interface",
  2877. "tooltip": {
  2878. "msResolution": false,
  2879. "shared": true,
  2880. "value_type": "cumulative"
  2881. },
  2882. "type": "graph",
  2883. "xaxis": {
  2884. "show": true
  2885. },
  2886. "yaxes": [
  2887. {
  2888. "format": "short",
  2889. "label": "Bytes/s",
  2890. "logBase": 1,
  2891. "max": null,
  2892. "min": 0,
  2893. "show": true
  2894. },
  2895. {
  2896. "format": "short",
  2897. "logBase": 1,
  2898. "max": null,
  2899. "min": null,
  2900. "show": true
  2901. }
  2902. ]
  2903. },
  2904. {
  2905. "aliasColors": {},
  2906. "bars": false,
  2907. "datasource": null,
  2908. "editable": true,
  2909. "error": false,
  2910. "fill": 0,
  2911. "grid": {
  2912. "threshold1": null,
  2913. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  2914. "threshold2": null,
  2915. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  2916. },
  2917. "id": 19,
  2918. "interval": ">60s",
  2919. "legend": {
  2920. "avg": false,
  2921. "current": false,
  2922. "max": false,
  2923. "min": false,
  2924. "show": true,
  2925. "total": false,
  2926. "values": false
  2927. },
  2928. "lines": true,
  2929. "linewidth": 1,
  2930. "links": [],
  2931. "nullPointMode": "connected",
  2932. "percentage": false,
  2933. "pointradius": 5,
  2934. "points": false,
  2935. "renderer": "flot",
  2936. "seriesOverrides": [],
  2937. "span": 3,
  2938. "stack": false,
  2939. "steppedLine": false,
  2940. "targets": [
  2941. {
  2942. "alias": "rx",
  2943. "column": "value",
  2944. "dsType": "influxdb",
  2945. "function": "max",
  2946. "groupBy": [
  2947. {
  2948. "params": [
  2949. "$interval"
  2950. ],
  2951. "type": "time"
  2952. },
  2953. {
  2954. "params": [
  2955. "0"
  2956. ],
  2957. "type": "fill"
  2958. }
  2959. ],
  2960. "groupByTags": [],
  2961. "measurement": "if_packets_rx",
  2962. "policy": "default",
  2963. "query": "SELECT max(\"value\") FROM \"if_packets_rx\" WHERE \"hostname\" =~ /^$server$/ AND \"interface\" =~ /^$interface$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  2964. "rawQuery": false,
  2965. "refId": "A",
  2966. "resultFormat": "time_series",
  2967. "select": [
  2968. [
  2969. {
  2970. "params": [
  2971. "value"
  2972. ],
  2973. "type": "field"
  2974. },
  2975. {
  2976. "params": [],
  2977. "type": "max"
  2978. }
  2979. ]
  2980. ],
  2981. "tags": [
  2982. {
  2983. "key": "hostname",
  2984. "value": "$server"
  2985. },
  2986. {
  2987. "condition": "AND",
  2988. "key": "interface",
  2989. "value": "$interface"
  2990. }
  2991. ]
  2992. },
  2993. {
  2994. "alias": "tx",
  2995. "column": "value",
  2996. "dsType": "influxdb",
  2997. "function": "max",
  2998. "groupBy": [
  2999. {
  3000. "params": [
  3001. "$interval"
  3002. ],
  3003. "type": "time"
  3004. },
  3005. {
  3006. "params": [
  3007. "0"
  3008. ],
  3009. "type": "fill"
  3010. }
  3011. ],
  3012. "groupByTags": [],
  3013. "measurement": "if_packets_tx",
  3014. "policy": "default",
  3015. "query": "SELECT max(\"value\") FROM \"if_packets_tx\" WHERE \"hostname\" =~ /^$server$/ AND \"interface\" =~ /^$interface$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  3016. "rawQuery": false,
  3017. "refId": "B",
  3018. "resultFormat": "time_series",
  3019. "select": [
  3020. [
  3021. {
  3022. "params": [
  3023. "value"
  3024. ],
  3025. "type": "field"
  3026. },
  3027. {
  3028. "params": [],
  3029. "type": "max"
  3030. }
  3031. ]
  3032. ],
  3033. "tags": [
  3034. {
  3035. "key": "hostname",
  3036. "value": "$server"
  3037. },
  3038. {
  3039. "condition": "AND",
  3040. "key": "interface",
  3041. "value": "$interface"
  3042. }
  3043. ]
  3044. }
  3045. ],
  3046. "timeFrom": null,
  3047. "timeShift": null,
  3048. "title": "Packets on $interface",
  3049. "tooltip": {
  3050. "msResolution": false,
  3051. "shared": true,
  3052. "value_type": "cumulative"
  3053. },
  3054. "type": "graph",
  3055. "xaxis": {
  3056. "show": true
  3057. },
  3058. "yaxes": [
  3059. {
  3060. "format": "short",
  3061. "label": "per second",
  3062. "logBase": 1,
  3063. "max": null,
  3064. "min": 0,
  3065. "show": true
  3066. },
  3067. {
  3068. "format": "short",
  3069. "logBase": 1,
  3070. "max": null,
  3071. "min": null,
  3072. "show": true
  3073. }
  3074. ]
  3075. },
  3076. {
  3077. "aliasColors": {},
  3078. "bars": false,
  3079. "datasource": null,
  3080. "editable": true,
  3081. "error": false,
  3082. "fill": 0,
  3083. "grid": {
  3084. "threshold1": null,
  3085. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  3086. "threshold2": null,
  3087. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  3088. },
  3089. "id": 20,
  3090. "interval": ">60s",
  3091. "legend": {
  3092. "avg": false,
  3093. "current": false,
  3094. "max": false,
  3095. "min": false,
  3096. "show": true,
  3097. "total": false,
  3098. "values": false
  3099. },
  3100. "lines": true,
  3101. "linewidth": 1,
  3102. "links": [],
  3103. "nullPointMode": "connected",
  3104. "percentage": false,
  3105. "pointradius": 5,
  3106. "points": false,
  3107. "renderer": "flot",
  3108. "seriesOverrides": [],
  3109. "span": 3,
  3110. "stack": false,
  3111. "steppedLine": false,
  3112. "targets": [
  3113. {
  3114. "alias": "rx",
  3115. "column": "value",
  3116. "dsType": "influxdb",
  3117. "function": "max",
  3118. "groupBy": [
  3119. {
  3120. "params": [
  3121. "$interval"
  3122. ],
  3123. "type": "time"
  3124. },
  3125. {
  3126. "params": [
  3127. "0"
  3128. ],
  3129. "type": "fill"
  3130. }
  3131. ],
  3132. "groupByTags": [],
  3133. "measurement": "if_errors_rx",
  3134. "policy": "default",
  3135. "query": "SELECT max(\"value\") FROM \"if_errors_rx\" WHERE \"hostname\" =~ /^$server$/ AND \"interface\" =~ /^$interface$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  3136. "rawQuery": false,
  3137. "refId": "A",
  3138. "resultFormat": "time_series",
  3139. "select": [
  3140. [
  3141. {
  3142. "params": [
  3143. "value"
  3144. ],
  3145. "type": "field"
  3146. },
  3147. {
  3148. "params": [],
  3149. "type": "max"
  3150. }
  3151. ]
  3152. ],
  3153. "tags": [
  3154. {
  3155. "key": "hostname",
  3156. "value": "$server"
  3157. },
  3158. {
  3159. "condition": "AND",
  3160. "key": "interface",
  3161. "value": "$interface"
  3162. }
  3163. ]
  3164. },
  3165. {
  3166. "alias": "tx",
  3167. "column": "value",
  3168. "dsType": "influxdb",
  3169. "function": "max",
  3170. "groupBy": [
  3171. {
  3172. "params": [
  3173. "$interval"
  3174. ],
  3175. "type": "time"
  3176. },
  3177. {
  3178. "params": [
  3179. "0"
  3180. ],
  3181. "type": "fill"
  3182. }
  3183. ],
  3184. "groupByTags": [],
  3185. "measurement": "if_errors_tx",
  3186. "policy": "default",
  3187. "query": "SELECT max(\"value\") FROM \"if_errors_tx\" WHERE \"hostname\" =~ /^$server$/ AND \"interface\" =~ /^$interface$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  3188. "rawQuery": false,
  3189. "refId": "B",
  3190. "resultFormat": "time_series",
  3191. "select": [
  3192. [
  3193. {
  3194. "params": [
  3195. "value"
  3196. ],
  3197. "type": "field"
  3198. },
  3199. {
  3200. "params": [],
  3201. "type": "max"
  3202. }
  3203. ]
  3204. ],
  3205. "tags": [
  3206. {
  3207. "key": "hostname",
  3208. "value": "$server"
  3209. },
  3210. {
  3211. "condition": "AND",
  3212. "key": "interface",
  3213. "value": "$interface"
  3214. }
  3215. ]
  3216. }
  3217. ],
  3218. "timeFrom": null,
  3219. "timeShift": null,
  3220. "title": "Errors on $interface",
  3221. "tooltip": {
  3222. "msResolution": false,
  3223. "shared": true,
  3224. "value_type": "cumulative"
  3225. },
  3226. "type": "graph",
  3227. "xaxis": {
  3228. "show": true
  3229. },
  3230. "yaxes": [
  3231. {
  3232. "format": "short",
  3233. "label": "per second",
  3234. "logBase": 1,
  3235. "max": null,
  3236. "min": 0,
  3237. "show": true
  3238. },
  3239. {
  3240. "format": "short",
  3241. "logBase": 1,
  3242. "max": null,
  3243. "min": null,
  3244. "show": true
  3245. }
  3246. ]
  3247. },
  3248. {
  3249. "aliasColors": {},
  3250. "bars": false,
  3251. "datasource": null,
  3252. "editable": true,
  3253. "error": false,
  3254. "fill": 0,
  3255. "grid": {
  3256. "threshold1": null,
  3257. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  3258. "threshold2": null,
  3259. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  3260. },
  3261. "id": 29,
  3262. "interval": ">60s",
  3263. "legend": {
  3264. "avg": false,
  3265. "current": false,
  3266. "max": false,
  3267. "min": false,
  3268. "show": true,
  3269. "total": false,
  3270. "values": false
  3271. },
  3272. "lines": true,
  3273. "linewidth": 1,
  3274. "links": [],
  3275. "nullPointMode": "connected",
  3276. "percentage": false,
  3277. "pointradius": 5,
  3278. "points": false,
  3279. "renderer": "flot",
  3280. "seriesOverrides": [],
  3281. "span": 3,
  3282. "stack": false,
  3283. "steppedLine": false,
  3284. "targets": [
  3285. {
  3286. "alias": "rx",
  3287. "column": "value",
  3288. "dsType": "influxdb",
  3289. "function": "max",
  3290. "groupBy": [
  3291. {
  3292. "params": [
  3293. "$interval"
  3294. ],
  3295. "type": "time"
  3296. },
  3297. {
  3298. "params": [
  3299. "0"
  3300. ],
  3301. "type": "fill"
  3302. }
  3303. ],
  3304. "groupByTags": [],
  3305. "measurement": "if_dropped_rx",
  3306. "policy": "default",
  3307. "query": "SELECT max(\"value\") FROM \"if_dropped_rx\" WHERE \"hostname\" =~ /^$server$/ AND \"interface\" =~ /^$interface$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  3308. "rawQuery": false,
  3309. "refId": "A",
  3310. "resultFormat": "time_series",
  3311. "select": [
  3312. [
  3313. {
  3314. "params": [
  3315. "value"
  3316. ],
  3317. "type": "field"
  3318. },
  3319. {
  3320. "params": [],
  3321. "type": "max"
  3322. }
  3323. ]
  3324. ],
  3325. "tags": [
  3326. {
  3327. "key": "hostname",
  3328. "operator": "=",
  3329. "value": "$server"
  3330. },
  3331. {
  3332. "condition": "AND",
  3333. "key": "interface",
  3334. "operator": "=",
  3335. "value": "$interface"
  3336. }
  3337. ],
  3338. "hide": false
  3339. },
  3340. {
  3341. "alias": "tx",
  3342. "column": "value",
  3343. "dsType": "influxdb",
  3344. "function": "max",
  3345. "groupBy": [
  3346. {
  3347. "params": [
  3348. "$interval"
  3349. ],
  3350. "type": "time"
  3351. },
  3352. {
  3353. "params": [
  3354. "0"
  3355. ],
  3356. "type": "fill"
  3357. }
  3358. ],
  3359. "groupByTags": [],
  3360. "measurement": "if_dropped_tx",
  3361. "policy": "default",
  3362. "query": "SELECT max(\"value\") FROM \"if_dropped_tx\" WHERE \"hostname\" =~ /^$server$/ AND \"interface\" =~ /^$interface$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  3363. "rawQuery": true,
  3364. "refId": "B",
  3365. "resultFormat": "time_series",
  3366. "select": [
  3367. [
  3368. {
  3369. "params": [
  3370. "value"
  3371. ],
  3372. "type": "field"
  3373. },
  3374. {
  3375. "params": [],
  3376. "type": "max"
  3377. }
  3378. ]
  3379. ],
  3380. "tags": [
  3381. {
  3382. "key": "hostname",
  3383. "operator": "=",
  3384. "value": "$server"
  3385. },
  3386. {
  3387. "condition": "AND",
  3388. "key": "interface",
  3389. "operator": "=",
  3390. "value": "$interface"
  3391. }
  3392. ]
  3393. }
  3394. ],
  3395. "timeFrom": null,
  3396. "timeShift": null,
  3397. "title": "Dropped packets on $interface",
  3398. "tooltip": {
  3399. "msResolution": false,
  3400. "shared": true,
  3401. "value_type": "cumulative"
  3402. },
  3403. "type": "graph",
  3404. "xaxis": {
  3405. "show": true
  3406. },
  3407. "yaxes": [
  3408. {
  3409. "format": "short",
  3410. "label": "per second",
  3411. "logBase": 1,
  3412. "max": null,
  3413. "min": 0,
  3414. "show": true
  3415. },
  3416. {
  3417. "format": "short",
  3418. "logBase": 1,
  3419. "max": null,
  3420. "min": null,
  3421. "show": true
  3422. }
  3423. ]
  3424. }
  3425. ],
  3426. "showTitle": true,
  3427. "title": "Network"
  3428. },
  3429. {
  3430. "collapse": false,
  3431. "editable": true,
  3432. "height": "250px",
  3433. "panels": [
  3434. {
  3435. "aliasColors": {},
  3436. "bars": false,
  3437. "datasource": null,
  3438. "editable": true,
  3439. "error": false,
  3440. "fill": 1,
  3441. "grid": {
  3442. "threshold1": null,
  3443. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  3444. "threshold2": null,
  3445. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  3446. },
  3447. "id": 24,
  3448. "interval": ">60s",
  3449. "legend": {
  3450. "avg": false,
  3451. "current": false,
  3452. "max": false,
  3453. "min": false,
  3454. "show": true,
  3455. "total": false,
  3456. "values": false
  3457. },
  3458. "lines": true,
  3459. "linewidth": 2,
  3460. "links": [],
  3461. "nullPointMode": "connected",
  3462. "percentage": false,
  3463. "pointradius": 5,
  3464. "points": false,
  3465. "renderer": "flot",
  3466. "seriesOverrides": [],
  3467. "span": 6,
  3468. "stack": true,
  3469. "steppedLine": false,
  3470. "targets": [
  3471. {
  3472. "alias": "used",
  3473. "column": "value",
  3474. "dsType": "influxdb",
  3475. "function": "mean",
  3476. "groupBy": [
  3477. {
  3478. "params": [
  3479. "$interval"
  3480. ],
  3481. "type": "time"
  3482. },
  3483. {
  3484. "params": [
  3485. "0"
  3486. ],
  3487. "type": "fill"
  3488. }
  3489. ],
  3490. "groupByTags": [],
  3491. "measurement": "swap_used",
  3492. "policy": "default",
  3493. "query": "SELECT mean(\"value\") FROM \"swap_used\" WHERE \"hostname\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  3494. "rawQuery": false,
  3495. "refId": "A",
  3496. "resultFormat": "time_series",
  3497. "select": [
  3498. [
  3499. {
  3500. "params": [
  3501. "value"
  3502. ],
  3503. "type": "field"
  3504. },
  3505. {
  3506. "params": [],
  3507. "type": "mean"
  3508. }
  3509. ]
  3510. ],
  3511. "tags": [
  3512. {
  3513. "key": "hostname",
  3514. "value": "$server"
  3515. }
  3516. ]
  3517. },
  3518. {
  3519. "alias": "cached",
  3520. "column": "value",
  3521. "dsType": "influxdb",
  3522. "function": "mean",
  3523. "groupBy": [
  3524. {
  3525. "params": [
  3526. "$interval"
  3527. ],
  3528. "type": "time"
  3529. },
  3530. {
  3531. "params": [
  3532. "0"
  3533. ],
  3534. "type": "fill"
  3535. }
  3536. ],
  3537. "groupByTags": [],
  3538. "measurement": "swap_cached",
  3539. "policy": "default",
  3540. "query": "SELECT mean(\"value\") FROM \"swap_cached\" WHERE \"hostname\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  3541. "rawQuery": false,
  3542. "refId": "B",
  3543. "resultFormat": "time_series",
  3544. "select": [
  3545. [
  3546. {
  3547. "params": [
  3548. "value"
  3549. ],
  3550. "type": "field"
  3551. },
  3552. {
  3553. "params": [],
  3554. "type": "mean"
  3555. }
  3556. ]
  3557. ],
  3558. "tags": [
  3559. {
  3560. "key": "hostname",
  3561. "value": "$server"
  3562. }
  3563. ]
  3564. },
  3565. {
  3566. "alias": "free",
  3567. "column": "value",
  3568. "dsType": "influxdb",
  3569. "function": "mean",
  3570. "groupBy": [
  3571. {
  3572. "params": [
  3573. "$interval"
  3574. ],
  3575. "type": "time"
  3576. },
  3577. {
  3578. "params": [
  3579. "0"
  3580. ],
  3581. "type": "fill"
  3582. }
  3583. ],
  3584. "groupByTags": [],
  3585. "measurement": "swap_free",
  3586. "policy": "default",
  3587. "query": "SELECT mean(\"value\") FROM \"swap_free\" WHERE \"hostname\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  3588. "rawQuery": false,
  3589. "refId": "C",
  3590. "resultFormat": "time_series",
  3591. "select": [
  3592. [
  3593. {
  3594. "params": [
  3595. "value"
  3596. ],
  3597. "type": "field"
  3598. },
  3599. {
  3600. "params": [],
  3601. "type": "mean"
  3602. }
  3603. ]
  3604. ],
  3605. "tags": [
  3606. {
  3607. "key": "hostname",
  3608. "value": "$server"
  3609. }
  3610. ]
  3611. }
  3612. ],
  3613. "timeFrom": null,
  3614. "timeShift": null,
  3615. "title": "Swap memory",
  3616. "tooltip": {
  3617. "msResolution": false,
  3618. "shared": true,
  3619. "value_type": "cumulative"
  3620. },
  3621. "type": "graph",
  3622. "xaxis": {
  3623. "show": true
  3624. },
  3625. "yaxes": [
  3626. {
  3627. "format": "bytes",
  3628. "logBase": 1,
  3629. "max": null,
  3630. "min": null,
  3631. "show": true
  3632. },
  3633. {
  3634. "format": "short",
  3635. "logBase": 1,
  3636. "max": null,
  3637. "min": null,
  3638. "show": true
  3639. }
  3640. ]
  3641. },
  3642. {
  3643. "aliasColors": {},
  3644. "bars": false,
  3645. "datasource": null,
  3646. "editable": true,
  3647. "error": false,
  3648. "fill": 0,
  3649. "grid": {
  3650. "threshold1": null,
  3651. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  3652. "threshold2": null,
  3653. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  3654. },
  3655. "id": 25,
  3656. "interval": ">60s",
  3657. "legend": {
  3658. "avg": false,
  3659. "current": false,
  3660. "max": false,
  3661. "min": false,
  3662. "show": true,
  3663. "total": false,
  3664. "values": false
  3665. },
  3666. "lines": true,
  3667. "linewidth": 1,
  3668. "links": [],
  3669. "nullPointMode": "connected",
  3670. "percentage": false,
  3671. "pointradius": 5,
  3672. "points": false,
  3673. "renderer": "flot",
  3674. "seriesOverrides": [],
  3675. "span": 6,
  3676. "stack": false,
  3677. "steppedLine": false,
  3678. "targets": [
  3679. {
  3680. "alias": "read",
  3681. "column": "value",
  3682. "dsType": "influxdb",
  3683. "function": "max",
  3684. "groupBy": [
  3685. {
  3686. "params": [
  3687. "$interval"
  3688. ],
  3689. "type": "time"
  3690. },
  3691. {
  3692. "params": [
  3693. "0"
  3694. ],
  3695. "type": "fill"
  3696. }
  3697. ],
  3698. "groupByTags": [],
  3699. "measurement": "swap_io_out",
  3700. "policy": "default",
  3701. "query": "SELECT max(\"value\") FROM \"swap_io_out\" WHERE \"hostname\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  3702. "rawQuery": false,
  3703. "refId": "A",
  3704. "resultFormat": "time_series",
  3705. "select": [
  3706. [
  3707. {
  3708. "params": [
  3709. "value"
  3710. ],
  3711. "type": "field"
  3712. },
  3713. {
  3714. "params": [],
  3715. "type": "max"
  3716. }
  3717. ]
  3718. ],
  3719. "tags": [
  3720. {
  3721. "key": "hostname",
  3722. "operator": "=",
  3723. "value": "$server"
  3724. }
  3725. ]
  3726. },
  3727. {
  3728. "alias": "write",
  3729. "column": "value",
  3730. "dsType": "influxdb",
  3731. "function": "max",
  3732. "groupBy": [
  3733. {
  3734. "params": [
  3735. "$interval"
  3736. ],
  3737. "type": "time"
  3738. },
  3739. {
  3740. "params": [
  3741. "0"
  3742. ],
  3743. "type": "fill"
  3744. }
  3745. ],
  3746. "groupByTags": [],
  3747. "measurement": "swap_io_in",
  3748. "policy": "default",
  3749. "query": "SELECT max(\"value\") FROM \"swap_io_in\" WHERE \"hostname\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(0)",
  3750. "rawQuery": false,
  3751. "refId": "B",
  3752. "resultFormat": "time_series",
  3753. "select": [
  3754. [
  3755. {
  3756. "params": [
  3757. "value"
  3758. ],
  3759. "type": "field"
  3760. },
  3761. {
  3762. "params": [],
  3763. "type": "max"
  3764. }
  3765. ]
  3766. ],
  3767. "tags": [
  3768. {
  3769. "key": "hostname",
  3770. "operator": "=",
  3771. "value": "$server"
  3772. }
  3773. ]
  3774. }
  3775. ],
  3776. "timeFrom": null,
  3777. "timeShift": null,
  3778. "title": "Swap I/O",
  3779. "tooltip": {
  3780. "msResolution": false,
  3781. "shared": true,
  3782. "value_type": "cumulative"
  3783. },
  3784. "type": "graph",
  3785. "xaxis": {
  3786. "show": true
  3787. },
  3788. "yaxes": [
  3789. {
  3790. "format": "Bps",
  3791. "label": "",
  3792. "logBase": 1,
  3793. "max": null,
  3794. "min": 0,
  3795. "show": true
  3796. },
  3797. {
  3798. "format": "short",
  3799. "logBase": 1,
  3800. "max": null,
  3801. "min": null,
  3802. "show": false
  3803. }
  3804. ]
  3805. }
  3806. ],
  3807. "showTitle": true,
  3808. "title": "Swap"
  3809. }
  3810. ],
  3811. "schemaVersion": 12,
  3812. "sharedCrosshair": true,
  3813. "style": "dark",
  3814. "tags": [],
  3815. "templating": {
  3816. "enable": true,
  3817. "list": [
  3818. {
  3819. "allFormat": "regex values",
  3820. "current": {},
  3821. "datasource": null,
  3822. "hide": 0,
  3823. "includeAll": false,
  3824. "name": "environment",
  3825. "options": [],
  3826. "query": "show tag values from cpu_idle with key = environment_label",
  3827. "refresh": 1,
  3828. "refresh_on_load": true,
  3829. "regex": "",
  3830. "type": "query"
  3831. },
  3832. {
  3833. "allFormat": "glob",
  3834. "current": {},
  3835. "datasource": null,
  3836. "hide": 0,
  3837. "includeAll": false,
  3838. "name": "server",
  3839. "options": [],
  3840. "query": "show tag values from cpu_idle with key=\"hostname\" where environment_label =~ /^$environment$/",
  3841. "refresh": 1,
  3842. "refresh_on_load": true,
  3843. "regex": "",
  3844. "type": "query"
  3845. },
  3846. {
  3847. "allFormat": "glob",
  3848. "current": {},
  3849. "datasource": null,
  3850. "hide": 0,
  3851. "includeAll": false,
  3852. "name": "disk",
  3853. "options": [],
  3854. "query": "show tag values from disk_merged_read with key=\"device\" where hostname =~ /^$server$/ and environment_label =~ /^$environment$/",
  3855. "refresh": 1,
  3856. "refresh_on_load": true,
  3857. "regex": "/^[a-z]+$/",
  3858. "type": "query"
  3859. },
  3860. {
  3861. "allFormat": "glob",
  3862. "current": {},
  3863. "datasource": null,
  3864. "hide": 0,
  3865. "includeAll": false,
  3866. "name": "mount",
  3867. "options": [],
  3868. "query": "show tag values from fs_inodes_free with key=\"fs\" where hostname =~ /^$server$/ and environment_label =~ /^$environment$/",
  3869. "refresh": 1,
  3870. "refresh_on_load": true,
  3871. "regex": "",
  3872. "type": "query"
  3873. },
  3874. {
  3875. "allFormat": "regex values",
  3876. "current": {},
  3877. "datasource": null,
  3878. "hide": 0,
  3879. "includeAll": false,
  3880. "name": "interface",
  3881. "options": [],
  3882. "query": "show tag values from if_errors_rx with key=\"interface\" where hostname =~ /^$server$/ and environment_label =~ /^$environment$/",
  3883. "refresh": 1,
  3884. "refresh_on_load": true,
  3885. "regex": "",
  3886. "type": "query"
  3887. }
  3888. ]
  3889. },
  3890. "time": {
  3891. "from": "now-1h",
  3892. "to": "now"
  3893. },
  3894. "timepicker": {
  3895. "collapse": false,
  3896. "enable": true,
  3897. "notice": false,
  3898. "now": true,
  3899. "refresh_intervals": [
  3900. "5s",
  3901. "10s",
  3902. "30s",
  3903. "1m",
  3904. "5m",
  3905. "15m",
  3906. "30m",
  3907. "1h",
  3908. "2h",
  3909. "1d"
  3910. ],
  3911. "status": "Stable",
  3912. "time_options": [
  3913. "5m",
  3914. "15m",
  3915. "1h",
  3916. "6h",
  3917. "12h",
  3918. "24h",
  3919. "2d",
  3920. "7d",
  3921. "30d"
  3922. ],
  3923. "type": "timepicker"
  3924. },
  3925. "timezone": "browser",
  3926. "title": "System",
  3927. "version": 3
  3928. }