Guest User

Untitled

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