network-interfaces-dashboard.json 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926
  1. {
  2. "annotations": {
  3. "list": [
  4. {
  5. "builtIn": 1,
  6. "datasource": {
  7. "type": "datasource",
  8. "uid": "grafana"
  9. },
  10. "enable": true,
  11. "hide": true,
  12. "iconColor": "rgba(0, 211, 255, 1)",
  13. "name": "Annotations & Alerts",
  14. "target": {
  15. "limit": 100,
  16. "matchAny": false,
  17. "tags": [],
  18. "type": "dashboard"
  19. },
  20. "type": "dashboard"
  21. }
  22. ]
  23. },
  24. "editable": true,
  25. "fiscalYearStartMonth": 0,
  26. "graphTooltip": 0,
  27. "links": [],
  28. "liveNow": false,
  29. "panels": [
  30. {
  31. "datasource": {
  32. "type": "prometheus",
  33. "uid": "${datasource}"
  34. },
  35. "fieldConfig": {
  36. "defaults": {
  37. "color": {
  38. "mode": "palette-classic"
  39. },
  40. "custom": {
  41. "axisBorderShow": false,
  42. "axisCenteredZero": false,
  43. "axisColorMode": "text",
  44. "axisLabel": "",
  45. "axisPlacement": "auto",
  46. "barAlignment": 0,
  47. "drawStyle": "line",
  48. "fillOpacity": 0,
  49. "gradientMode": "none",
  50. "hideFrom": {
  51. "legend": false,
  52. "tooltip": false,
  53. "viz": false
  54. },
  55. "insertNulls": false,
  56. "lineInterpolation": "linear",
  57. "lineWidth": 1,
  58. "pointSize": 5,
  59. "scaleDistribution": {
  60. "type": "linear"
  61. },
  62. "showPoints": "auto",
  63. "spanNulls": false,
  64. "stacking": {
  65. "group": "A",
  66. "mode": "none"
  67. },
  68. "thresholdsStyle": {
  69. "mode": "off"
  70. }
  71. },
  72. "decimals": 0,
  73. "mappings": [],
  74. "thresholds": {
  75. "mode": "absolute",
  76. "steps": [
  77. {
  78. "color": "green",
  79. "value": null
  80. },
  81. {
  82. "color": "red",
  83. "value": 80
  84. }
  85. ]
  86. },
  87. "unit": "binbps"
  88. },
  89. "overrides": []
  90. },
  91. "gridPos": {
  92. "h": 9,
  93. "w": 12,
  94. "x": 0,
  95. "y": 0
  96. },
  97. "id": 2,
  98. "options": {
  99. "legend": {
  100. "calcs": [
  101. "min",
  102. "max",
  103. "mean",
  104. "last"
  105. ],
  106. "displayMode": "table",
  107. "placement": "bottom",
  108. "showLegend": true,
  109. "sortBy": "Last",
  110. "sortDesc": true
  111. },
  112. "tooltip": {
  113. "mode": "single",
  114. "sort": "none"
  115. }
  116. },
  117. "targets": [
  118. {
  119. "datasource": {
  120. "type": "prometheus",
  121. "uid": "${datasource}"
  122. },
  123. "exemplar": true,
  124. "expr": "sum by(device, instance) (rate(node_network_receive_bytes_total{instance=\"192.168.0.1\"}[2m])) * 8",
  125. "interval": "",
  126. "legendFormat": "incoming {{device}}",
  127. "refId": "A"
  128. },
  129. {
  130. "datasource": {
  131. "type": "prometheus",
  132. "uid": "${datasource}"
  133. },
  134. "exemplar": true,
  135. "expr": "sum by(device, instance) (rate(node_network_transmit_bytes_total{instance=\"192.168.0.1\"}[2m])) * 8",
  136. "hide": false,
  137. "interval": "",
  138. "legendFormat": "outgoing {{device}}",
  139. "refId": "B"
  140. }
  141. ],
  142. "title": "TP-Link Archer C6 bps",
  143. "type": "timeseries"
  144. },
  145. {
  146. "datasource": {
  147. "type": "prometheus",
  148. "uid": "${datasource}"
  149. },
  150. "fieldConfig": {
  151. "defaults": {
  152. "color": {
  153. "mode": "palette-classic"
  154. },
  155. "custom": {
  156. "axisBorderShow": false,
  157. "axisCenteredZero": false,
  158. "axisColorMode": "text",
  159. "axisLabel": "",
  160. "axisPlacement": "auto",
  161. "barAlignment": 0,
  162. "drawStyle": "line",
  163. "fillOpacity": 0,
  164. "gradientMode": "none",
  165. "hideFrom": {
  166. "legend": false,
  167. "tooltip": false,
  168. "viz": false
  169. },
  170. "insertNulls": false,
  171. "lineInterpolation": "linear",
  172. "lineWidth": 1,
  173. "pointSize": 5,
  174. "scaleDistribution": {
  175. "type": "linear"
  176. },
  177. "showPoints": "auto",
  178. "spanNulls": false,
  179. "stacking": {
  180. "group": "A",
  181. "mode": "none"
  182. },
  183. "thresholdsStyle": {
  184. "mode": "off"
  185. }
  186. },
  187. "decimals": 0,
  188. "mappings": [],
  189. "thresholds": {
  190. "mode": "absolute",
  191. "steps": [
  192. {
  193. "color": "green",
  194. "value": null
  195. },
  196. {
  197. "color": "red",
  198. "value": 80
  199. }
  200. ]
  201. },
  202. "unit": "pps"
  203. },
  204. "overrides": []
  205. },
  206. "gridPos": {
  207. "h": 9,
  208. "w": 12,
  209. "x": 12,
  210. "y": 0
  211. },
  212. "id": 7,
  213. "options": {
  214. "legend": {
  215. "calcs": [
  216. "min",
  217. "max",
  218. "mean",
  219. "last"
  220. ],
  221. "displayMode": "table",
  222. "placement": "bottom",
  223. "showLegend": true,
  224. "sortBy": "Last",
  225. "sortDesc": true
  226. },
  227. "tooltip": {
  228. "mode": "single",
  229. "sort": "none"
  230. }
  231. },
  232. "targets": [
  233. {
  234. "datasource": {
  235. "type": "prometheus",
  236. "uid": "${datasource}"
  237. },
  238. "exemplar": true,
  239. "expr": "sum by(device, instance) (rate(node_network_receive_packets_total{instance=\"192.168.0.1\"}[2m])) * 8",
  240. "interval": "",
  241. "legendFormat": "incoming {{device}}",
  242. "refId": "A"
  243. },
  244. {
  245. "datasource": {
  246. "type": "prometheus",
  247. "uid": "${datasource}"
  248. },
  249. "exemplar": true,
  250. "expr": "sum by(device, instance) (rate(node_network_transmit_packets_total{instance=\"192.168.0.1\"}[2m])) * 8",
  251. "hide": false,
  252. "interval": "",
  253. "legendFormat": "outgoing {{device}}",
  254. "refId": "B"
  255. }
  256. ],
  257. "title": "TP-Link Archer C6 pps",
  258. "type": "timeseries"
  259. },
  260. {
  261. "datasource": {
  262. "type": "prometheus",
  263. "uid": "${datasource}"
  264. },
  265. "fieldConfig": {
  266. "defaults": {
  267. "color": {
  268. "mode": "palette-classic"
  269. },
  270. "custom": {
  271. "axisBorderShow": false,
  272. "axisCenteredZero": false,
  273. "axisColorMode": "text",
  274. "axisLabel": "",
  275. "axisPlacement": "auto",
  276. "barAlignment": 0,
  277. "drawStyle": "line",
  278. "fillOpacity": 0,
  279. "gradientMode": "none",
  280. "hideFrom": {
  281. "legend": false,
  282. "tooltip": false,
  283. "viz": false
  284. },
  285. "insertNulls": false,
  286. "lineInterpolation": "linear",
  287. "lineWidth": 1,
  288. "pointSize": 5,
  289. "scaleDistribution": {
  290. "type": "linear"
  291. },
  292. "showPoints": "auto",
  293. "spanNulls": false,
  294. "stacking": {
  295. "group": "A",
  296. "mode": "none"
  297. },
  298. "thresholdsStyle": {
  299. "mode": "off"
  300. }
  301. },
  302. "decimals": 0,
  303. "mappings": [],
  304. "thresholds": {
  305. "mode": "absolute",
  306. "steps": [
  307. {
  308. "color": "green",
  309. "value": null
  310. },
  311. {
  312. "color": "red",
  313. "value": 80
  314. }
  315. ]
  316. },
  317. "unit": "binbps"
  318. },
  319. "overrides": []
  320. },
  321. "gridPos": {
  322. "h": 9,
  323. "w": 12,
  324. "x": 0,
  325. "y": 9
  326. },
  327. "id": 17,
  328. "options": {
  329. "legend": {
  330. "calcs": [
  331. "min",
  332. "max",
  333. "mean",
  334. "last"
  335. ],
  336. "displayMode": "table",
  337. "placement": "bottom",
  338. "showLegend": true,
  339. "sortBy": "Last",
  340. "sortDesc": true
  341. },
  342. "tooltip": {
  343. "mode": "single",
  344. "sort": "none"
  345. }
  346. },
  347. "targets": [
  348. {
  349. "datasource": {
  350. "type": "prometheus",
  351. "uid": "${datasource}"
  352. },
  353. "editorMode": "code",
  354. "exemplar": true,
  355. "expr": "sum by(device, instance) (rate(node_network_receive_bytes_total{instance=\"192.168.0.253:9100\"}[2m])) * 8",
  356. "interval": "",
  357. "legendFormat": "incoming {{device}}",
  358. "range": true,
  359. "refId": "A"
  360. },
  361. {
  362. "datasource": {
  363. "type": "prometheus",
  364. "uid": "${datasource}"
  365. },
  366. "editorMode": "code",
  367. "exemplar": true,
  368. "expr": "sum by(device, instance) (rate(node_network_transmit_bytes_total{instance=\"192.168.0.253:9100\"}[2m])) * 8",
  369. "hide": false,
  370. "interval": "",
  371. "legendFormat": "outgoing {{device}}",
  372. "range": true,
  373. "refId": "B"
  374. }
  375. ],
  376. "title": "openwrt bps",
  377. "type": "timeseries"
  378. },
  379. {
  380. "datasource": {
  381. "type": "prometheus",
  382. "uid": "${datasource}"
  383. },
  384. "fieldConfig": {
  385. "defaults": {
  386. "color": {
  387. "mode": "palette-classic"
  388. },
  389. "custom": {
  390. "axisBorderShow": false,
  391. "axisCenteredZero": false,
  392. "axisColorMode": "text",
  393. "axisLabel": "",
  394. "axisPlacement": "auto",
  395. "barAlignment": 0,
  396. "drawStyle": "line",
  397. "fillOpacity": 0,
  398. "gradientMode": "none",
  399. "hideFrom": {
  400. "legend": false,
  401. "tooltip": false,
  402. "viz": false
  403. },
  404. "insertNulls": false,
  405. "lineInterpolation": "linear",
  406. "lineWidth": 1,
  407. "pointSize": 5,
  408. "scaleDistribution": {
  409. "type": "linear"
  410. },
  411. "showPoints": "auto",
  412. "spanNulls": false,
  413. "stacking": {
  414. "group": "A",
  415. "mode": "none"
  416. },
  417. "thresholdsStyle": {
  418. "mode": "off"
  419. }
  420. },
  421. "decimals": 0,
  422. "mappings": [],
  423. "thresholds": {
  424. "mode": "absolute",
  425. "steps": [
  426. {
  427. "color": "green",
  428. "value": null
  429. },
  430. {
  431. "color": "red",
  432. "value": 80
  433. }
  434. ]
  435. },
  436. "unit": "pps"
  437. },
  438. "overrides": []
  439. },
  440. "gridPos": {
  441. "h": 9,
  442. "w": 12,
  443. "x": 12,
  444. "y": 9
  445. },
  446. "id": 18,
  447. "options": {
  448. "legend": {
  449. "calcs": [
  450. "min",
  451. "max",
  452. "mean",
  453. "last"
  454. ],
  455. "displayMode": "table",
  456. "placement": "bottom",
  457. "showLegend": true,
  458. "sortBy": "Last",
  459. "sortDesc": true
  460. },
  461. "tooltip": {
  462. "mode": "single",
  463. "sort": "none"
  464. }
  465. },
  466. "targets": [
  467. {
  468. "datasource": {
  469. "type": "prometheus",
  470. "uid": "${datasource}"
  471. },
  472. "editorMode": "code",
  473. "exemplar": true,
  474. "expr": "sum by(device, instance) (rate(node_network_receive_packets_total{instance=\"192.168.0.253:9100\"}[2m])) * 8",
  475. "interval": "",
  476. "legendFormat": "incoming {{device}}",
  477. "range": true,
  478. "refId": "A"
  479. },
  480. {
  481. "datasource": {
  482. "type": "prometheus",
  483. "uid": "${datasource}"
  484. },
  485. "editorMode": "code",
  486. "exemplar": true,
  487. "expr": "sum by(device, instance) (rate(node_network_transmit_packets_total{instance=\"192.168.0.253:9100\"}[2m])) * 8",
  488. "hide": false,
  489. "interval": "",
  490. "legendFormat": "outgoing {{device}}",
  491. "range": true,
  492. "refId": "B"
  493. }
  494. ],
  495. "title": "openwrt pps",
  496. "type": "timeseries"
  497. },
  498. {
  499. "datasource": {
  500. "type": "prometheus",
  501. "uid": "${datasource}"
  502. },
  503. "fieldConfig": {
  504. "defaults": {
  505. "color": {
  506. "mode": "palette-classic"
  507. },
  508. "custom": {
  509. "axisBorderShow": false,
  510. "axisCenteredZero": false,
  511. "axisColorMode": "text",
  512. "axisLabel": "",
  513. "axisPlacement": "auto",
  514. "barAlignment": 0,
  515. "drawStyle": "line",
  516. "fillOpacity": 0,
  517. "gradientMode": "none",
  518. "hideFrom": {
  519. "legend": false,
  520. "tooltip": false,
  521. "viz": false
  522. },
  523. "insertNulls": false,
  524. "lineInterpolation": "linear",
  525. "lineWidth": 1,
  526. "pointSize": 5,
  527. "scaleDistribution": {
  528. "type": "linear"
  529. },
  530. "showPoints": "auto",
  531. "spanNulls": false,
  532. "stacking": {
  533. "group": "A",
  534. "mode": "none"
  535. },
  536. "thresholdsStyle": {
  537. "mode": "off"
  538. }
  539. },
  540. "decimals": 0,
  541. "mappings": [],
  542. "thresholds": {
  543. "mode": "absolute",
  544. "steps": [
  545. {
  546. "color": "green",
  547. "value": null
  548. },
  549. {
  550. "color": "red",
  551. "value": 80
  552. }
  553. ]
  554. },
  555. "unit": "binbps"
  556. },
  557. "overrides": []
  558. },
  559. "gridPos": {
  560. "h": 9,
  561. "w": 12,
  562. "x": 0,
  563. "y": 18
  564. },
  565. "id": 19,
  566. "options": {
  567. "legend": {
  568. "calcs": [
  569. "min",
  570. "max",
  571. "mean",
  572. "last"
  573. ],
  574. "displayMode": "table",
  575. "placement": "bottom",
  576. "showLegend": true,
  577. "sortBy": "Last",
  578. "sortDesc": true
  579. },
  580. "tooltip": {
  581. "mode": "single",
  582. "sort": "none"
  583. }
  584. },
  585. "targets": [
  586. {
  587. "datasource": {
  588. "type": "prometheus",
  589. "uid": "${datasource}"
  590. },
  591. "editorMode": "code",
  592. "exemplar": true,
  593. "expr": "sum by(device, instance) (rate(node_network_receive_bytes_total{instance=\"192.168.0.144:9100\"}[2m])) * 8",
  594. "interval": "",
  595. "legendFormat": "incoming {{device}}",
  596. "range": true,
  597. "refId": "A"
  598. },
  599. {
  600. "datasource": {
  601. "type": "prometheus",
  602. "uid": "${datasource}"
  603. },
  604. "editorMode": "code",
  605. "exemplar": true,
  606. "expr": "sum by(device, instance) (rate(node_network_transmit_bytes_total{instance=\"192.168.0.144:9100\"}[2m])) * 8",
  607. "hide": false,
  608. "interval": "",
  609. "legendFormat": "outgoing {{device}}",
  610. "range": true,
  611. "refId": "B"
  612. }
  613. ],
  614. "title": "guix.wugi.info bps",
  615. "type": "timeseries"
  616. },
  617. {
  618. "datasource": {
  619. "type": "prometheus",
  620. "uid": "${datasource}"
  621. },
  622. "fieldConfig": {
  623. "defaults": {
  624. "color": {
  625. "mode": "palette-classic"
  626. },
  627. "custom": {
  628. "axisBorderShow": false,
  629. "axisCenteredZero": false,
  630. "axisColorMode": "text",
  631. "axisLabel": "",
  632. "axisPlacement": "auto",
  633. "barAlignment": 0,
  634. "drawStyle": "line",
  635. "fillOpacity": 0,
  636. "gradientMode": "none",
  637. "hideFrom": {
  638. "legend": false,
  639. "tooltip": false,
  640. "viz": false
  641. },
  642. "insertNulls": false,
  643. "lineInterpolation": "linear",
  644. "lineWidth": 1,
  645. "pointSize": 5,
  646. "scaleDistribution": {
  647. "type": "linear"
  648. },
  649. "showPoints": "auto",
  650. "spanNulls": false,
  651. "stacking": {
  652. "group": "A",
  653. "mode": "none"
  654. },
  655. "thresholdsStyle": {
  656. "mode": "off"
  657. }
  658. },
  659. "decimals": 0,
  660. "mappings": [],
  661. "thresholds": {
  662. "mode": "absolute",
  663. "steps": [
  664. {
  665. "color": "green",
  666. "value": null
  667. },
  668. {
  669. "color": "red",
  670. "value": 80
  671. }
  672. ]
  673. },
  674. "unit": "pps"
  675. },
  676. "overrides": []
  677. },
  678. "gridPos": {
  679. "h": 9,
  680. "w": 12,
  681. "x": 12,
  682. "y": 18
  683. },
  684. "id": 20,
  685. "options": {
  686. "legend": {
  687. "calcs": [
  688. "min",
  689. "max",
  690. "mean",
  691. "last"
  692. ],
  693. "displayMode": "table",
  694. "placement": "bottom",
  695. "showLegend": true,
  696. "sortBy": "Last",
  697. "sortDesc": true
  698. },
  699. "tooltip": {
  700. "mode": "single",
  701. "sort": "none"
  702. }
  703. },
  704. "targets": [
  705. {
  706. "datasource": {
  707. "type": "prometheus",
  708. "uid": "${datasource}"
  709. },
  710. "editorMode": "code",
  711. "exemplar": true,
  712. "expr": "sum by(device, instance) (rate(node_network_receive_packets_total{instance=\"192.168.0.144:9100\"}[2m])) * 8",
  713. "interval": "",
  714. "legendFormat": "incoming {{device}}",
  715. "range": true,
  716. "refId": "A"
  717. },
  718. {
  719. "datasource": {
  720. "type": "prometheus",
  721. "uid": "${datasource}"
  722. },
  723. "editorMode": "code",
  724. "exemplar": true,
  725. "expr": "sum by(device, instance) (rate(node_network_transmit_packets_total{instance=\"192.168.0.144:9100\"}[2m])) * 8",
  726. "hide": false,
  727. "interval": "",
  728. "legendFormat": "outgoing {{device}}",
  729. "range": true,
  730. "refId": "B"
  731. }
  732. ],
  733. "title": "guix.wugi.info pps",
  734. "type": "timeseries"
  735. },
  736. {
  737. "datasource": {
  738. "type": "prometheus",
  739. "uid": "${datasource}"
  740. },
  741. "fieldConfig": {
  742. "defaults": {
  743. "color": {
  744. "mode": "palette-classic"
  745. },
  746. "custom": {
  747. "axisBorderShow": false,
  748. "axisCenteredZero": false,
  749. "axisColorMode": "text",
  750. "axisLabel": "",
  751. "axisPlacement": "auto",
  752. "barAlignment": 0,
  753. "drawStyle": "line",
  754. "fillOpacity": 0,
  755. "gradientMode": "none",
  756. "hideFrom": {
  757. "legend": false,
  758. "tooltip": false,
  759. "viz": false
  760. },
  761. "insertNulls": false,
  762. "lineInterpolation": "linear",
  763. "lineWidth": 1,
  764. "pointSize": 5,
  765. "scaleDistribution": {
  766. "type": "linear"
  767. },
  768. "showPoints": "auto",
  769. "spanNulls": false,
  770. "stacking": {
  771. "group": "A",
  772. "mode": "none"
  773. },
  774. "thresholdsStyle": {
  775. "mode": "off"
  776. }
  777. },
  778. "decimals": 0,
  779. "mappings": [],
  780. "thresholds": {
  781. "mode": "absolute",
  782. "steps": [
  783. {
  784. "color": "green",
  785. "value": null
  786. },
  787. {
  788. "color": "red",
  789. "value": 80
  790. }
  791. ]
  792. },
  793. "unit": "binbps"
  794. },
  795. "overrides": []
  796. },
  797. "gridPos": {
  798. "h": 9,
  799. "w": 12,
  800. "x": 0,
  801. "y": 27
  802. },
  803. "id": 3,
  804. "options": {
  805. "legend": {
  806. "calcs": [
  807. "min",
  808. "max",
  809. "mean",
  810. "last"
  811. ],
  812. "displayMode": "table",
  813. "placement": "bottom",
  814. "showLegend": true,
  815. "sortBy": "Last",
  816. "sortDesc": true
  817. },
  818. "tooltip": {
  819. "mode": "single",
  820. "sort": "none"
  821. }
  822. },
  823. "targets": [
  824. {
  825. "datasource": {
  826. "type": "prometheus",
  827. "uid": "${datasource}"
  828. },
  829. "editorMode": "code",
  830. "exemplar": true,
  831. "expr": "sum by(device, instance) (rate(node_network_receive_bytes_total{instance=\"192.168.0.192:9100\"}[2m])) * 8",
  832. "interval": "",
  833. "legendFormat": "incoming {{device}}",
  834. "range": true,
  835. "refId": "A"
  836. },
  837. {
  838. "datasource": {
  839. "type": "prometheus",
  840. "uid": "${datasource}"
  841. },
  842. "editorMode": "code",
  843. "exemplar": true,
  844. "expr": "sum by(device, instance) (rate(node_network_transmit_bytes_total{instance=\"192.168.0.192:9100\"}[2m])) * 8",
  845. "hide": false,
  846. "interval": "",
  847. "legendFormat": "outgoing {{device}}",
  848. "range": true,
  849. "refId": "B"
  850. }
  851. ],
  852. "title": "pc0 bps",
  853. "type": "timeseries"
  854. },
  855. {
  856. "datasource": {
  857. "type": "prometheus",
  858. "uid": "${datasource}"
  859. },
  860. "fieldConfig": {
  861. "defaults": {
  862. "color": {
  863. "mode": "palette-classic"
  864. },
  865. "custom": {
  866. "axisBorderShow": false,
  867. "axisCenteredZero": false,
  868. "axisColorMode": "text",
  869. "axisLabel": "",
  870. "axisPlacement": "auto",
  871. "barAlignment": 0,
  872. "drawStyle": "line",
  873. "fillOpacity": 0,
  874. "gradientMode": "none",
  875. "hideFrom": {
  876. "legend": false,
  877. "tooltip": false,
  878. "viz": false
  879. },
  880. "insertNulls": false,
  881. "lineInterpolation": "linear",
  882. "lineWidth": 1,
  883. "pointSize": 5,
  884. "scaleDistribution": {
  885. "type": "linear"
  886. },
  887. "showPoints": "auto",
  888. "spanNulls": false,
  889. "stacking": {
  890. "group": "A",
  891. "mode": "none"
  892. },
  893. "thresholdsStyle": {
  894. "mode": "off"
  895. }
  896. },
  897. "decimals": 0,
  898. "mappings": [],
  899. "thresholds": {
  900. "mode": "absolute",
  901. "steps": [
  902. {
  903. "color": "green",
  904. "value": null
  905. },
  906. {
  907. "color": "red",
  908. "value": 80
  909. }
  910. ]
  911. },
  912. "unit": "pps"
  913. },
  914. "overrides": []
  915. },
  916. "gridPos": {
  917. "h": 9,
  918. "w": 12,
  919. "x": 12,
  920. "y": 27
  921. },
  922. "id": 8,
  923. "options": {
  924. "legend": {
  925. "calcs": [
  926. "min",
  927. "max",
  928. "mean",
  929. "last"
  930. ],
  931. "displayMode": "table",
  932. "placement": "bottom",
  933. "showLegend": true,
  934. "sortBy": "Last",
  935. "sortDesc": true
  936. },
  937. "tooltip": {
  938. "mode": "single",
  939. "sort": "none"
  940. }
  941. },
  942. "targets": [
  943. {
  944. "datasource": {
  945. "type": "prometheus",
  946. "uid": "${datasource}"
  947. },
  948. "editorMode": "code",
  949. "exemplar": true,
  950. "expr": "sum by(device, instance) (rate(node_network_receive_packets_total{instance=\"192.168.0.192:9100\"}[2m])) * 8",
  951. "interval": "",
  952. "legendFormat": "incoming {{device}}",
  953. "range": true,
  954. "refId": "A"
  955. },
  956. {
  957. "datasource": {
  958. "type": "prometheus",
  959. "uid": "${datasource}"
  960. },
  961. "editorMode": "code",
  962. "exemplar": true,
  963. "expr": "sum by(device, instance) (rate(node_network_transmit_packets_total{instance=\"192.168.0.192:9100\"}[2m])) * 8",
  964. "hide": false,
  965. "interval": "",
  966. "legendFormat": "outgoing {{device}}",
  967. "range": true,
  968. "refId": "B"
  969. }
  970. ],
  971. "title": "pc0 pps",
  972. "type": "timeseries"
  973. },
  974. {
  975. "datasource": {
  976. "type": "prometheus",
  977. "uid": "${datasource}"
  978. },
  979. "fieldConfig": {
  980. "defaults": {
  981. "color": {
  982. "mode": "palette-classic"
  983. },
  984. "custom": {
  985. "axisBorderShow": false,
  986. "axisCenteredZero": false,
  987. "axisColorMode": "text",
  988. "axisLabel": "",
  989. "axisPlacement": "auto",
  990. "barAlignment": 0,
  991. "drawStyle": "line",
  992. "fillOpacity": 0,
  993. "gradientMode": "none",
  994. "hideFrom": {
  995. "legend": false,
  996. "tooltip": false,
  997. "viz": false
  998. },
  999. "insertNulls": false,
  1000. "lineInterpolation": "linear",
  1001. "lineWidth": 1,
  1002. "pointSize": 5,
  1003. "scaleDistribution": {
  1004. "type": "linear"
  1005. },
  1006. "showPoints": "auto",
  1007. "spanNulls": false,
  1008. "stacking": {
  1009. "group": "A",
  1010. "mode": "none"
  1011. },
  1012. "thresholdsStyle": {
  1013. "mode": "off"
  1014. }
  1015. },
  1016. "decimals": 0,
  1017. "mappings": [],
  1018. "thresholds": {
  1019. "mode": "absolute",
  1020. "steps": [
  1021. {
  1022. "color": "green",
  1023. "value": null
  1024. },
  1025. {
  1026. "color": "red",
  1027. "value": 80
  1028. }
  1029. ]
  1030. },
  1031. "unit": "binbps"
  1032. },
  1033. "overrides": []
  1034. },
  1035. "gridPos": {
  1036. "h": 9,
  1037. "w": 12,
  1038. "x": 0,
  1039. "y": 36
  1040. },
  1041. "id": 15,
  1042. "options": {
  1043. "legend": {
  1044. "calcs": [
  1045. "min",
  1046. "max",
  1047. "mean",
  1048. "last"
  1049. ],
  1050. "displayMode": "table",
  1051. "placement": "bottom",
  1052. "showLegend": true,
  1053. "sortBy": "Last",
  1054. "sortDesc": true
  1055. },
  1056. "tooltip": {
  1057. "mode": "single",
  1058. "sort": "none"
  1059. }
  1060. },
  1061. "targets": [
  1062. {
  1063. "datasource": {
  1064. "type": "prometheus",
  1065. "uid": "${datasource}"
  1066. },
  1067. "editorMode": "code",
  1068. "exemplar": true,
  1069. "expr": "sum by(device, instance) (rate(windows_net_bytes_received_total{instance=\"192.168.0.178:9182\"}[2m])) * 8",
  1070. "interval": "",
  1071. "legendFormat": "incoming {{device}}",
  1072. "range": true,
  1073. "refId": "A"
  1074. },
  1075. {
  1076. "datasource": {
  1077. "type": "prometheus",
  1078. "uid": "${datasource}"
  1079. },
  1080. "editorMode": "code",
  1081. "exemplar": true,
  1082. "expr": "sum by(device, instance) (rate(windows_net_bytes_sent_total{instance=\"192.168.0.178:9182\"}[2m])) * 8",
  1083. "hide": false,
  1084. "interval": "",
  1085. "legendFormat": "outgoing {{device}}",
  1086. "range": true,
  1087. "refId": "B"
  1088. }
  1089. ],
  1090. "title": "windows bps",
  1091. "type": "timeseries"
  1092. },
  1093. {
  1094. "datasource": {
  1095. "type": "prometheus",
  1096. "uid": "${datasource}"
  1097. },
  1098. "fieldConfig": {
  1099. "defaults": {
  1100. "color": {
  1101. "mode": "palette-classic"
  1102. },
  1103. "custom": {
  1104. "axisBorderShow": false,
  1105. "axisCenteredZero": false,
  1106. "axisColorMode": "text",
  1107. "axisLabel": "",
  1108. "axisPlacement": "auto",
  1109. "barAlignment": 0,
  1110. "drawStyle": "line",
  1111. "fillOpacity": 0,
  1112. "gradientMode": "none",
  1113. "hideFrom": {
  1114. "legend": false,
  1115. "tooltip": false,
  1116. "viz": false
  1117. },
  1118. "insertNulls": false,
  1119. "lineInterpolation": "linear",
  1120. "lineWidth": 1,
  1121. "pointSize": 5,
  1122. "scaleDistribution": {
  1123. "type": "linear"
  1124. },
  1125. "showPoints": "auto",
  1126. "spanNulls": false,
  1127. "stacking": {
  1128. "group": "A",
  1129. "mode": "none"
  1130. },
  1131. "thresholdsStyle": {
  1132. "mode": "off"
  1133. }
  1134. },
  1135. "decimals": 0,
  1136. "mappings": [],
  1137. "thresholds": {
  1138. "mode": "absolute",
  1139. "steps": [
  1140. {
  1141. "color": "green",
  1142. "value": null
  1143. },
  1144. {
  1145. "color": "red",
  1146. "value": 80
  1147. }
  1148. ]
  1149. },
  1150. "unit": "pps"
  1151. },
  1152. "overrides": []
  1153. },
  1154. "gridPos": {
  1155. "h": 9,
  1156. "w": 12,
  1157. "x": 12,
  1158. "y": 36
  1159. },
  1160. "id": 16,
  1161. "options": {
  1162. "legend": {
  1163. "calcs": [
  1164. "min",
  1165. "max",
  1166. "mean",
  1167. "last"
  1168. ],
  1169. "displayMode": "table",
  1170. "placement": "bottom",
  1171. "showLegend": true,
  1172. "sortBy": "Last",
  1173. "sortDesc": true
  1174. },
  1175. "tooltip": {
  1176. "mode": "single",
  1177. "sort": "none"
  1178. }
  1179. },
  1180. "targets": [
  1181. {
  1182. "datasource": {
  1183. "type": "prometheus",
  1184. "uid": "${datasource}"
  1185. },
  1186. "editorMode": "code",
  1187. "exemplar": true,
  1188. "expr": "sum by(device, instance) (rate(windows_net_packets_received_total{instance=\"192.168.0.178:9182\"}[2m])) * 8",
  1189. "interval": "",
  1190. "legendFormat": "incoming {{device}}",
  1191. "range": true,
  1192. "refId": "A"
  1193. },
  1194. {
  1195. "datasource": {
  1196. "type": "prometheus",
  1197. "uid": "${datasource}"
  1198. },
  1199. "editorMode": "code",
  1200. "exemplar": true,
  1201. "expr": "sum by(device, instance) (rate(windows_net_packets_sent_total{instance=\"192.168.0.178:9182\"}[2m])) * 8",
  1202. "hide": false,
  1203. "interval": "",
  1204. "legendFormat": "outgoing {{device}}",
  1205. "range": true,
  1206. "refId": "B"
  1207. }
  1208. ],
  1209. "title": "windows pps",
  1210. "type": "timeseries"
  1211. },
  1212. {
  1213. "datasource": {
  1214. "type": "prometheus",
  1215. "uid": "${datasource}"
  1216. },
  1217. "fieldConfig": {
  1218. "defaults": {
  1219. "color": {
  1220. "mode": "palette-classic"
  1221. },
  1222. "custom": {
  1223. "axisBorderShow": false,
  1224. "axisCenteredZero": false,
  1225. "axisColorMode": "text",
  1226. "axisLabel": "",
  1227. "axisPlacement": "auto",
  1228. "barAlignment": 0,
  1229. "drawStyle": "line",
  1230. "fillOpacity": 0,
  1231. "gradientMode": "none",
  1232. "hideFrom": {
  1233. "legend": false,
  1234. "tooltip": false,
  1235. "viz": false
  1236. },
  1237. "insertNulls": false,
  1238. "lineInterpolation": "linear",
  1239. "lineWidth": 1,
  1240. "pointSize": 5,
  1241. "scaleDistribution": {
  1242. "type": "linear"
  1243. },
  1244. "showPoints": "auto",
  1245. "spanNulls": false,
  1246. "stacking": {
  1247. "group": "A",
  1248. "mode": "none"
  1249. },
  1250. "thresholdsStyle": {
  1251. "mode": "off"
  1252. }
  1253. },
  1254. "decimals": 0,
  1255. "mappings": [],
  1256. "thresholds": {
  1257. "mode": "absolute",
  1258. "steps": [
  1259. {
  1260. "color": "green",
  1261. "value": null
  1262. },
  1263. {
  1264. "color": "red",
  1265. "value": 80
  1266. }
  1267. ]
  1268. },
  1269. "unit": "binbps"
  1270. },
  1271. "overrides": []
  1272. },
  1273. "gridPos": {
  1274. "h": 9,
  1275. "w": 12,
  1276. "x": 0,
  1277. "y": 45
  1278. },
  1279. "id": 4,
  1280. "options": {
  1281. "legend": {
  1282. "calcs": [
  1283. "min",
  1284. "max",
  1285. "mean",
  1286. "last"
  1287. ],
  1288. "displayMode": "table",
  1289. "placement": "bottom",
  1290. "showLegend": true
  1291. },
  1292. "tooltip": {
  1293. "mode": "single",
  1294. "sort": "none"
  1295. }
  1296. },
  1297. "targets": [
  1298. {
  1299. "datasource": {
  1300. "type": "prometheus",
  1301. "uid": "${datasource}"
  1302. },
  1303. "exemplar": true,
  1304. "expr": "sum by(device, instance) (rate(node_network_receive_bytes_total{instance=\"vm1.wugi.info:9100\", device=\"eth0\"}[2m])) * 8",
  1305. "interval": "",
  1306. "legendFormat": "incoming {{device}}",
  1307. "refId": "A"
  1308. },
  1309. {
  1310. "datasource": {
  1311. "type": "prometheus",
  1312. "uid": "${datasource}"
  1313. },
  1314. "exemplar": true,
  1315. "expr": "sum by(device, instance) (rate(node_network_transmit_bytes_total{instance=\"vm1.wugi.info:9100\", device=\"eth0\"}[2m])) * 8",
  1316. "hide": false,
  1317. "interval": "",
  1318. "legendFormat": "outgoing {{device}}",
  1319. "refId": "B"
  1320. }
  1321. ],
  1322. "title": "vm1.wugi.info bps",
  1323. "type": "timeseries"
  1324. },
  1325. {
  1326. "datasource": {
  1327. "type": "prometheus",
  1328. "uid": "${datasource}"
  1329. },
  1330. "fieldConfig": {
  1331. "defaults": {
  1332. "color": {
  1333. "mode": "palette-classic"
  1334. },
  1335. "custom": {
  1336. "axisBorderShow": false,
  1337. "axisCenteredZero": false,
  1338. "axisColorMode": "text",
  1339. "axisLabel": "",
  1340. "axisPlacement": "auto",
  1341. "barAlignment": 0,
  1342. "drawStyle": "line",
  1343. "fillOpacity": 0,
  1344. "gradientMode": "none",
  1345. "hideFrom": {
  1346. "legend": false,
  1347. "tooltip": false,
  1348. "viz": false
  1349. },
  1350. "insertNulls": false,
  1351. "lineInterpolation": "linear",
  1352. "lineWidth": 1,
  1353. "pointSize": 5,
  1354. "scaleDistribution": {
  1355. "type": "linear"
  1356. },
  1357. "showPoints": "auto",
  1358. "spanNulls": false,
  1359. "stacking": {
  1360. "group": "A",
  1361. "mode": "none"
  1362. },
  1363. "thresholdsStyle": {
  1364. "mode": "off"
  1365. }
  1366. },
  1367. "decimals": 0,
  1368. "mappings": [],
  1369. "thresholds": {
  1370. "mode": "absolute",
  1371. "steps": [
  1372. {
  1373. "color": "green"
  1374. },
  1375. {
  1376. "color": "red",
  1377. "value": 80
  1378. }
  1379. ]
  1380. },
  1381. "unit": "binbps"
  1382. },
  1383. "overrides": []
  1384. },
  1385. "gridPos": {
  1386. "h": 9,
  1387. "w": 12,
  1388. "x": 12,
  1389. "y": 45
  1390. },
  1391. "id": 10,
  1392. "options": {
  1393. "legend": {
  1394. "calcs": [
  1395. "min",
  1396. "max",
  1397. "mean",
  1398. "last"
  1399. ],
  1400. "displayMode": "table",
  1401. "placement": "bottom",
  1402. "showLegend": true
  1403. },
  1404. "tooltip": {
  1405. "mode": "single",
  1406. "sort": "none"
  1407. }
  1408. },
  1409. "targets": [
  1410. {
  1411. "datasource": {
  1412. "type": "prometheus",
  1413. "uid": "${datasource}"
  1414. },
  1415. "exemplar": true,
  1416. "expr": "sum by(device, instance) (rate(node_network_receive_packets_total{instance=\"vm1.wugi.info:9100\", device=\"eth0\"}[2m])) * 8",
  1417. "interval": "",
  1418. "legendFormat": "incoming {{device}}",
  1419. "refId": "A"
  1420. },
  1421. {
  1422. "datasource": {
  1423. "type": "prometheus",
  1424. "uid": "${datasource}"
  1425. },
  1426. "exemplar": true,
  1427. "expr": "sum by(device, instance) (rate(node_network_transmit_packets_total{instance=\"vm1.wugi.info:9100\", device=\"eth0\"}[2m])) * 8",
  1428. "hide": false,
  1429. "interval": "",
  1430. "legendFormat": "outgoing {{device}}",
  1431. "refId": "B"
  1432. }
  1433. ],
  1434. "title": "vm1.wugi.info pps",
  1435. "type": "timeseries"
  1436. },
  1437. {
  1438. "datasource": {
  1439. "type": "prometheus",
  1440. "uid": "${datasource}"
  1441. },
  1442. "fieldConfig": {
  1443. "defaults": {
  1444. "color": {
  1445. "mode": "palette-classic"
  1446. },
  1447. "custom": {
  1448. "axisBorderShow": false,
  1449. "axisCenteredZero": false,
  1450. "axisColorMode": "text",
  1451. "axisLabel": "",
  1452. "axisPlacement": "auto",
  1453. "barAlignment": 0,
  1454. "drawStyle": "line",
  1455. "fillOpacity": 0,
  1456. "gradientMode": "none",
  1457. "hideFrom": {
  1458. "legend": false,
  1459. "tooltip": false,
  1460. "viz": false
  1461. },
  1462. "insertNulls": false,
  1463. "lineInterpolation": "linear",
  1464. "lineWidth": 1,
  1465. "pointSize": 5,
  1466. "scaleDistribution": {
  1467. "type": "linear"
  1468. },
  1469. "showPoints": "auto",
  1470. "spanNulls": false,
  1471. "stacking": {
  1472. "group": "A",
  1473. "mode": "none"
  1474. },
  1475. "thresholdsStyle": {
  1476. "mode": "off"
  1477. }
  1478. },
  1479. "decimals": 0,
  1480. "mappings": [],
  1481. "thresholds": {
  1482. "mode": "absolute",
  1483. "steps": [
  1484. {
  1485. "color": "green"
  1486. },
  1487. {
  1488. "color": "red",
  1489. "value": 80
  1490. }
  1491. ]
  1492. },
  1493. "unit": "binbps"
  1494. },
  1495. "overrides": []
  1496. },
  1497. "gridPos": {
  1498. "h": 9,
  1499. "w": 12,
  1500. "x": 0,
  1501. "y": 54
  1502. },
  1503. "id": 5,
  1504. "options": {
  1505. "legend": {
  1506. "calcs": [
  1507. "min",
  1508. "max",
  1509. "mean",
  1510. "last"
  1511. ],
  1512. "displayMode": "table",
  1513. "placement": "bottom",
  1514. "showLegend": true
  1515. },
  1516. "tooltip": {
  1517. "mode": "single",
  1518. "sort": "none"
  1519. }
  1520. },
  1521. "targets": [
  1522. {
  1523. "datasource": {
  1524. "type": "prometheus",
  1525. "uid": "${datasource}"
  1526. },
  1527. "exemplar": true,
  1528. "expr": "sum by(device, instance) (rate(node_network_receive_bytes_total{instance=\"vm1.wugi.info:9100\", device=\"de2.g-load.eu\"}[2m])) * 8",
  1529. "interval": "",
  1530. "legendFormat": "incoming {{device}}",
  1531. "refId": "A"
  1532. },
  1533. {
  1534. "datasource": {
  1535. "type": "prometheus",
  1536. "uid": "${datasource}"
  1537. },
  1538. "exemplar": true,
  1539. "expr": "sum by(device, instance) (rate(node_network_transmit_bytes_total{instance=\"vm1.wugi.info:9100\", device=\"de2.g-load.eu\"}[2m])) * 8",
  1540. "hide": false,
  1541. "interval": "",
  1542. "legendFormat": "outgoing {{device}}",
  1543. "refId": "B"
  1544. }
  1545. ],
  1546. "title": "de2.g-load.eu bps",
  1547. "type": "timeseries"
  1548. },
  1549. {
  1550. "datasource": {
  1551. "type": "prometheus",
  1552. "uid": "${datasource}"
  1553. },
  1554. "fieldConfig": {
  1555. "defaults": {
  1556. "color": {
  1557. "mode": "palette-classic"
  1558. },
  1559. "custom": {
  1560. "axisBorderShow": false,
  1561. "axisCenteredZero": false,
  1562. "axisColorMode": "text",
  1563. "axisLabel": "",
  1564. "axisPlacement": "auto",
  1565. "barAlignment": 0,
  1566. "drawStyle": "line",
  1567. "fillOpacity": 0,
  1568. "gradientMode": "none",
  1569. "hideFrom": {
  1570. "legend": false,
  1571. "tooltip": false,
  1572. "viz": false
  1573. },
  1574. "insertNulls": false,
  1575. "lineInterpolation": "linear",
  1576. "lineWidth": 1,
  1577. "pointSize": 5,
  1578. "scaleDistribution": {
  1579. "type": "linear"
  1580. },
  1581. "showPoints": "auto",
  1582. "spanNulls": false,
  1583. "stacking": {
  1584. "group": "A",
  1585. "mode": "none"
  1586. },
  1587. "thresholdsStyle": {
  1588. "mode": "off"
  1589. }
  1590. },
  1591. "decimals": 0,
  1592. "mappings": [],
  1593. "thresholds": {
  1594. "mode": "absolute",
  1595. "steps": [
  1596. {
  1597. "color": "green"
  1598. },
  1599. {
  1600. "color": "red",
  1601. "value": 80
  1602. }
  1603. ]
  1604. },
  1605. "unit": "binbps"
  1606. },
  1607. "overrides": []
  1608. },
  1609. "gridPos": {
  1610. "h": 9,
  1611. "w": 12,
  1612. "x": 12,
  1613. "y": 54
  1614. },
  1615. "id": 11,
  1616. "options": {
  1617. "legend": {
  1618. "calcs": [
  1619. "min",
  1620. "max",
  1621. "mean",
  1622. "last"
  1623. ],
  1624. "displayMode": "table",
  1625. "placement": "bottom",
  1626. "showLegend": true
  1627. },
  1628. "tooltip": {
  1629. "mode": "single",
  1630. "sort": "none"
  1631. }
  1632. },
  1633. "targets": [
  1634. {
  1635. "datasource": {
  1636. "type": "prometheus",
  1637. "uid": "${datasource}"
  1638. },
  1639. "exemplar": true,
  1640. "expr": "sum by(device, instance) (rate(node_network_receive_packets_total{instance=\"vm1.wugi.info:9100\", device=\"de2.g-load.eu\"}[2m])) * 8",
  1641. "interval": "",
  1642. "legendFormat": "incoming {{device}}",
  1643. "refId": "A"
  1644. },
  1645. {
  1646. "datasource": {
  1647. "type": "prometheus",
  1648. "uid": "${datasource}"
  1649. },
  1650. "exemplar": true,
  1651. "expr": "sum by(device, instance) (rate(node_network_transmit_packets_total{instance=\"vm1.wugi.info:9100\", device=\"de2.g-load.eu\"}[2m])) * 8",
  1652. "hide": false,
  1653. "interval": "",
  1654. "legendFormat": "outgoing {{device}}",
  1655. "refId": "B"
  1656. }
  1657. ],
  1658. "title": "de2.g-load.eu pps",
  1659. "type": "timeseries"
  1660. },
  1661. {
  1662. "datasource": {
  1663. "type": "prometheus",
  1664. "uid": "${datasource}"
  1665. },
  1666. "fieldConfig": {
  1667. "defaults": {
  1668. "color": {
  1669. "mode": "palette-classic"
  1670. },
  1671. "custom": {
  1672. "axisBorderShow": false,
  1673. "axisCenteredZero": false,
  1674. "axisColorMode": "text",
  1675. "axisLabel": "",
  1676. "axisPlacement": "auto",
  1677. "barAlignment": 0,
  1678. "drawStyle": "line",
  1679. "fillOpacity": 0,
  1680. "gradientMode": "none",
  1681. "hideFrom": {
  1682. "legend": false,
  1683. "tooltip": false,
  1684. "viz": false
  1685. },
  1686. "insertNulls": false,
  1687. "lineInterpolation": "linear",
  1688. "lineWidth": 1,
  1689. "pointSize": 5,
  1690. "scaleDistribution": {
  1691. "type": "linear"
  1692. },
  1693. "showPoints": "auto",
  1694. "spanNulls": false,
  1695. "stacking": {
  1696. "group": "A",
  1697. "mode": "none"
  1698. },
  1699. "thresholdsStyle": {
  1700. "mode": "off"
  1701. }
  1702. },
  1703. "decimals": 0,
  1704. "mappings": [],
  1705. "thresholds": {
  1706. "mode": "absolute",
  1707. "steps": [
  1708. {
  1709. "color": "green"
  1710. },
  1711. {
  1712. "color": "red",
  1713. "value": 80
  1714. }
  1715. ]
  1716. },
  1717. "unit": "binbps"
  1718. },
  1719. "overrides": []
  1720. },
  1721. "gridPos": {
  1722. "h": 9,
  1723. "w": 12,
  1724. "x": 0,
  1725. "y": 63
  1726. },
  1727. "id": 13,
  1728. "options": {
  1729. "legend": {
  1730. "calcs": [
  1731. "min",
  1732. "max",
  1733. "mean",
  1734. "last"
  1735. ],
  1736. "displayMode": "table",
  1737. "placement": "bottom",
  1738. "showLegend": true,
  1739. "sortBy": "Last",
  1740. "sortDesc": true
  1741. },
  1742. "tooltip": {
  1743. "mode": "single",
  1744. "sort": "none"
  1745. }
  1746. },
  1747. "targets": [
  1748. {
  1749. "datasource": {
  1750. "type": "prometheus",
  1751. "uid": "${datasource}"
  1752. },
  1753. "exemplar": true,
  1754. "expr": "sum by(device, instance) (rate(node_network_receive_bytes_total{instance=\"192.168.0.1\",target=\"192.168.0.177\"}[2m])) * 8",
  1755. "interval": "",
  1756. "legendFormat": "incoming {{device}}",
  1757. "refId": "A"
  1758. },
  1759. {
  1760. "datasource": {
  1761. "type": "prometheus",
  1762. "uid": "${datasource}"
  1763. },
  1764. "exemplar": true,
  1765. "expr": "sum by(device, instance) (rate(node_network_transmit_bytes_total{instance=\"192.168.0.1\",target=\"192.168.0.177\"}[2m])) * 8",
  1766. "hide": false,
  1767. "interval": "",
  1768. "legendFormat": "outgoing {{device}}",
  1769. "refId": "B"
  1770. }
  1771. ],
  1772. "title": "Mi MIX 2S bps",
  1773. "type": "timeseries"
  1774. },
  1775. {
  1776. "datasource": {
  1777. "type": "prometheus",
  1778. "uid": "${datasource}"
  1779. },
  1780. "fieldConfig": {
  1781. "defaults": {
  1782. "color": {
  1783. "mode": "palette-classic"
  1784. },
  1785. "custom": {
  1786. "axisBorderShow": false,
  1787. "axisCenteredZero": false,
  1788. "axisColorMode": "text",
  1789. "axisLabel": "",
  1790. "axisPlacement": "auto",
  1791. "barAlignment": 0,
  1792. "drawStyle": "line",
  1793. "fillOpacity": 0,
  1794. "gradientMode": "none",
  1795. "hideFrom": {
  1796. "legend": false,
  1797. "tooltip": false,
  1798. "viz": false
  1799. },
  1800. "insertNulls": false,
  1801. "lineInterpolation": "linear",
  1802. "lineWidth": 1,
  1803. "pointSize": 5,
  1804. "scaleDistribution": {
  1805. "type": "linear"
  1806. },
  1807. "showPoints": "auto",
  1808. "spanNulls": false,
  1809. "stacking": {
  1810. "group": "A",
  1811. "mode": "none"
  1812. },
  1813. "thresholdsStyle": {
  1814. "mode": "off"
  1815. }
  1816. },
  1817. "decimals": 0,
  1818. "mappings": [],
  1819. "thresholds": {
  1820. "mode": "absolute",
  1821. "steps": [
  1822. {
  1823. "color": "green"
  1824. },
  1825. {
  1826. "color": "red",
  1827. "value": 80
  1828. }
  1829. ]
  1830. },
  1831. "unit": "pps"
  1832. },
  1833. "overrides": []
  1834. },
  1835. "gridPos": {
  1836. "h": 9,
  1837. "w": 12,
  1838. "x": 12,
  1839. "y": 63
  1840. },
  1841. "id": 12,
  1842. "options": {
  1843. "legend": {
  1844. "calcs": [
  1845. "min",
  1846. "max",
  1847. "mean",
  1848. "last"
  1849. ],
  1850. "displayMode": "table",
  1851. "placement": "bottom",
  1852. "showLegend": true,
  1853. "sortBy": "Last",
  1854. "sortDesc": true
  1855. },
  1856. "tooltip": {
  1857. "mode": "single",
  1858. "sort": "none"
  1859. }
  1860. },
  1861. "targets": [
  1862. {
  1863. "datasource": {
  1864. "type": "prometheus",
  1865. "uid": "${datasource}"
  1866. },
  1867. "exemplar": true,
  1868. "expr": "sum by(device, instance) (rate(node_network_receive_packets_total{instance=\"192.168.0.1\", target=\"192.168.0.177\"}[2m])) * 8",
  1869. "interval": "",
  1870. "legendFormat": "incoming {{device}}",
  1871. "refId": "A"
  1872. },
  1873. {
  1874. "datasource": {
  1875. "type": "prometheus",
  1876. "uid": "${datasource}"
  1877. },
  1878. "exemplar": true,
  1879. "expr": "sum by(device, instance) (rate(node_network_transmit_packets_total{instance=\"192.168.0.1\", target=\"192.168.0.177\"}[2m])) * 8",
  1880. "hide": false,
  1881. "interval": "",
  1882. "legendFormat": "outgoing {{device}}",
  1883. "refId": "B"
  1884. }
  1885. ],
  1886. "title": "Mi MIX 2S pps",
  1887. "type": "timeseries"
  1888. }
  1889. ],
  1890. "refresh": "10s",
  1891. "schemaVersion": 39,
  1892. "tags": [],
  1893. "templating": {
  1894. "list": [
  1895. {
  1896. "current": {
  1897. "selected": false,
  1898. "text": "Prometheus",
  1899. "value": "prometheus"
  1900. },
  1901. "hide": 0,
  1902. "includeAll": false,
  1903. "label": "Data Source",
  1904. "multi": false,
  1905. "name": "datasource",
  1906. "options": [],
  1907. "query": "prometheus",
  1908. "queryValue": "",
  1909. "refresh": 1,
  1910. "regex": "",
  1911. "skipUrlSync": false,
  1912. "type": "datasource"
  1913. }
  1914. ]
  1915. },
  1916. "time": {
  1917. "from": "now-15m",
  1918. "to": "now"
  1919. },
  1920. "timepicker": {},
  1921. "timezone": "",
  1922. "title": "Networking Interfaces",
  1923. "uid": "7oinAda7z",
  1924. "version": 1,
  1925. "weekStart": ""
  1926. }