ONU.json 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683
  1. {
  2. "__inputs": [
  3. {
  4. "name": "DS_JSONENDPOINT",
  5. "label": "jsonendpoint",
  6. "description": "",
  7. "type": "datasource",
  8. "pluginId": "grafana-simple-json-datasource",
  9. "pluginName": "SimpleJson"
  10. }
  11. ],
  12. "__requires": [
  13. {
  14. "type": "grafana",
  15. "id": "grafana",
  16. "name": "Grafana",
  17. "version": "4.7.0-pre1"
  18. },
  19. {
  20. "type": "datasource",
  21. "id": "grafana-simple-json-datasource",
  22. "name": "SimpleJson",
  23. "version": "1.3.5"
  24. },
  25. {
  26. "type": "panel",
  27. "id": "graph",
  28. "name": "Graph",
  29. "version": ""
  30. }
  31. ],
  32. "annotations": {
  33. "list": [
  34. {
  35. "builtIn": 1,
  36. "datasource": "-- Grafana --",
  37. "enable": true,
  38. "hide": true,
  39. "iconColor": "rgba(0, 211, 255, 1)",
  40. "name": "Annotations & Alerts",
  41. "type": "dashboard"
  42. }
  43. ]
  44. },
  45. "editable": true,
  46. "gnetId": null,
  47. "graphTooltip": 0,
  48. "hideControls": false,
  49. "id": null,
  50. "links": [],
  51. "refresh": "5m",
  52. "rows": [
  53. {
  54. "collapse": false,
  55. "height": "250px",
  56. "panels": [
  57. {
  58. "aliasColors": {},
  59. "bars": false,
  60. "dashLength": 10,
  61. "dashes": false,
  62. "datasource": "${DS_JSONENDPOINT}",
  63. "decimals": 2,
  64. "fill": 1,
  65. "id": 1,
  66. "legend": {
  67. "alignAsTable": false,
  68. "avg": true,
  69. "current": false,
  70. "hideEmpty": false,
  71. "max": true,
  72. "min": true,
  73. "rightSide": false,
  74. "show": true,
  75. "total": false,
  76. "values": true
  77. },
  78. "lines": true,
  79. "linewidth": 1,
  80. "links": [],
  81. "nullPointMode": "null",
  82. "percentage": false,
  83. "pointradius": 1,
  84. "points": true,
  85. "renderer": "flot",
  86. "seriesOverrides": [
  87. {
  88. "alias": "/onu_rx_/",
  89. "color": "#BF1B00"
  90. }
  91. ],
  92. "spaceLength": 10,
  93. "span": 12,
  94. "stack": false,
  95. "steppedLine": false,
  96. "targets": [
  97. {
  98. "rawQuery": true,
  99. "refId": "B",
  100. "target": "onu_rx_[[serialnumber]]",
  101. "type": "timeserie"
  102. }
  103. ],
  104. "thresholds": [],
  105. "timeFrom": null,
  106. "timeShift": null,
  107. "title": "RX Power",
  108. "tooltip": {
  109. "shared": true,
  110. "sort": 0,
  111. "value_type": "individual"
  112. },
  113. "type": "graph",
  114. "xaxis": {
  115. "buckets": null,
  116. "mode": "time",
  117. "name": null,
  118. "show": true,
  119. "values": []
  120. },
  121. "yaxes": [
  122. {
  123. "decimals": null,
  124. "format": "dBm",
  125. "label": "RX Power",
  126. "logBase": 1,
  127. "max": null,
  128. "min": null,
  129. "show": true
  130. },
  131. {
  132. "decimals": 2,
  133. "format": "short",
  134. "label": "",
  135. "logBase": 1,
  136. "max": null,
  137. "min": null,
  138. "show": true
  139. }
  140. ]
  141. }
  142. ],
  143. "repeat": null,
  144. "repeatIteration": null,
  145. "repeatRowId": null,
  146. "showTitle": false,
  147. "title": "Dashboard Row",
  148. "titleSize": "h6"
  149. },
  150. {
  151. "collapse": false,
  152. "height": 250,
  153. "panels": [
  154. {
  155. "aliasColors": {},
  156. "bars": false,
  157. "dashLength": 10,
  158. "dashes": false,
  159. "datasource": "${DS_JSONENDPOINT}",
  160. "decimals": 2,
  161. "fill": 1,
  162. "id": 2,
  163. "legend": {
  164. "avg": true,
  165. "current": false,
  166. "max": true,
  167. "min": true,
  168. "show": true,
  169. "total": false,
  170. "values": true
  171. },
  172. "lines": true,
  173. "linewidth": 1,
  174. "links": [],
  175. "nullPointMode": "null",
  176. "percentage": false,
  177. "pointradius": 1,
  178. "points": true,
  179. "renderer": "flot",
  180. "seriesOverrides": [
  181. {
  182. "alias": "/onu_tx_/",
  183. "color": "#BF1B00"
  184. }
  185. ],
  186. "spaceLength": 10,
  187. "span": 12,
  188. "stack": false,
  189. "steppedLine": false,
  190. "targets": [
  191. {
  192. "rawQuery": true,
  193. "refId": "A",
  194. "target": "onu_tx_[[serialnumber]]",
  195. "type": "timeserie"
  196. }
  197. ],
  198. "thresholds": [],
  199. "timeFrom": null,
  200. "timeShift": null,
  201. "title": "TX Power",
  202. "tooltip": {
  203. "shared": true,
  204. "sort": 0,
  205. "value_type": "individual"
  206. },
  207. "type": "graph",
  208. "xaxis": {
  209. "buckets": null,
  210. "mode": "time",
  211. "name": null,
  212. "show": true,
  213. "values": []
  214. },
  215. "yaxes": [
  216. {
  217. "decimals": 2,
  218. "format": "dBm",
  219. "label": "TX Power",
  220. "logBase": 1,
  221. "max": null,
  222. "min": null,
  223. "show": true
  224. },
  225. {
  226. "decimals": 2,
  227. "format": "short",
  228. "label": null,
  229. "logBase": 1,
  230. "max": null,
  231. "min": null,
  232. "show": true
  233. }
  234. ]
  235. }
  236. ],
  237. "repeat": null,
  238. "repeatIteration": null,
  239. "repeatRowId": null,
  240. "showTitle": false,
  241. "title": "Dashboard Row",
  242. "titleSize": "h6"
  243. },
  244. {
  245. "collapse": false,
  246. "height": 250,
  247. "panels": [
  248. {
  249. "aliasColors": {},
  250. "bars": false,
  251. "dashLength": 10,
  252. "dashes": false,
  253. "datasource": "${DS_JSONENDPOINT}",
  254. "decimals": 2,
  255. "fill": 1,
  256. "id": 3,
  257. "legend": {
  258. "avg": true,
  259. "current": false,
  260. "max": true,
  261. "min": true,
  262. "show": true,
  263. "total": false,
  264. "values": true
  265. },
  266. "lines": true,
  267. "linewidth": 1,
  268. "links": [],
  269. "nullPointMode": "null",
  270. "percentage": false,
  271. "pointradius": 1,
  272. "points": true,
  273. "renderer": "flot",
  274. "seriesOverrides": [
  275. {
  276. "alias": "/onu_voltage/",
  277. "color": "#0A50A1"
  278. }
  279. ],
  280. "spaceLength": 10,
  281. "span": 12,
  282. "stack": false,
  283. "steppedLine": false,
  284. "targets": [
  285. {
  286. "rawQuery": true,
  287. "refId": "A",
  288. "target": "onu_voltage_[[serialnumber]]",
  289. "type": "timeserie"
  290. }
  291. ],
  292. "thresholds": [],
  293. "timeFrom": null,
  294. "timeShift": null,
  295. "title": "Voltage",
  296. "tooltip": {
  297. "shared": true,
  298. "sort": 0,
  299. "value_type": "individual"
  300. },
  301. "type": "graph",
  302. "xaxis": {
  303. "buckets": null,
  304. "mode": "time",
  305. "name": null,
  306. "show": true,
  307. "values": []
  308. },
  309. "yaxes": [
  310. {
  311. "decimals": 2,
  312. "format": "volt",
  313. "label": "Voltage ",
  314. "logBase": 1,
  315. "max": null,
  316. "min": null,
  317. "show": true
  318. },
  319. {
  320. "decimals": 2,
  321. "format": "short",
  322. "label": "",
  323. "logBase": 1,
  324. "max": null,
  325. "min": null,
  326. "show": true
  327. }
  328. ]
  329. }
  330. ],
  331. "repeat": null,
  332. "repeatIteration": null,
  333. "repeatRowId": null,
  334. "showTitle": false,
  335. "title": "Dashboard Row",
  336. "titleSize": "h6"
  337. },
  338. {
  339. "collapse": false,
  340. "height": 250,
  341. "panels": [
  342. {
  343. "aliasColors": {},
  344. "bars": false,
  345. "dashLength": 10,
  346. "dashes": false,
  347. "datasource": "${DS_JSONENDPOINT}",
  348. "decimals": 2,
  349. "fill": 1,
  350. "id": 4,
  351. "legend": {
  352. "avg": true,
  353. "current": false,
  354. "max": true,
  355. "min": true,
  356. "show": true,
  357. "total": false,
  358. "values": true
  359. },
  360. "lines": true,
  361. "linewidth": 1,
  362. "links": [],
  363. "nullPointMode": "null",
  364. "percentage": false,
  365. "pointradius": 1,
  366. "points": true,
  367. "renderer": "flot",
  368. "seriesOverrides": [
  369. {
  370. "alias": "/onu_temperature/",
  371. "color": "#0A50A1"
  372. }
  373. ],
  374. "spaceLength": 10,
  375. "span": 12,
  376. "stack": false,
  377. "steppedLine": false,
  378. "targets": [
  379. {
  380. "rawQuery": true,
  381. "refId": "A",
  382. "target": "onu_temperature_[[serialnumber]]",
  383. "type": "timeserie"
  384. }
  385. ],
  386. "thresholds": [],
  387. "timeFrom": null,
  388. "timeShift": null,
  389. "title": "Temperature",
  390. "tooltip": {
  391. "shared": true,
  392. "sort": 0,
  393. "value_type": "individual"
  394. },
  395. "type": "graph",
  396. "xaxis": {
  397. "buckets": null,
  398. "mode": "time",
  399. "name": null,
  400. "show": true,
  401. "values": []
  402. },
  403. "yaxes": [
  404. {
  405. "decimals": 2,
  406. "format": "celsius",
  407. "label": "Temperature",
  408. "logBase": 1,
  409. "max": null,
  410. "min": null,
  411. "show": true
  412. },
  413. {
  414. "decimals": 2,
  415. "format": "short",
  416. "label": null,
  417. "logBase": 1,
  418. "max": null,
  419. "min": null,
  420. "show": true
  421. }
  422. ]
  423. }
  424. ],
  425. "repeat": null,
  426. "repeatIteration": null,
  427. "repeatRowId": null,
  428. "showTitle": false,
  429. "title": "Dashboard Row",
  430. "titleSize": "h6"
  431. },
  432. {
  433. "collapse": false,
  434. "height": 250,
  435. "panels": [
  436. {
  437. "aliasColors": {},
  438. "bars": false,
  439. "dashLength": 10,
  440. "dashes": false,
  441. "datasource": "${DS_JSONENDPOINT}",
  442. "decimals": 0,
  443. "fill": 1,
  444. "id": 5,
  445. "legend": {
  446. "avg": false,
  447. "current": false,
  448. "hideEmpty": false,
  449. "hideZero": false,
  450. "max": false,
  451. "min": false,
  452. "show": true,
  453. "total": false,
  454. "values": false
  455. },
  456. "lines": true,
  457. "linewidth": 1,
  458. "links": [],
  459. "nullPointMode": "null",
  460. "percentage": false,
  461. "pointradius": 1,
  462. "points": true,
  463. "renderer": "flot",
  464. "seriesOverrides": [],
  465. "spaceLength": 10,
  466. "span": 12,
  467. "stack": false,
  468. "steppedLine": true,
  469. "targets": [
  470. {
  471. "rawQuery": true,
  472. "refId": "A",
  473. "target": "onu_status_[[serialnumber]]",
  474. "type": "timeserie"
  475. }
  476. ],
  477. "thresholds": [],
  478. "timeFrom": null,
  479. "timeShift": null,
  480. "title": "Estado",
  481. "tooltip": {
  482. "shared": true,
  483. "sort": 0,
  484. "value_type": "individual"
  485. },
  486. "type": "graph",
  487. "xaxis": {
  488. "buckets": null,
  489. "mode": "time",
  490. "name": null,
  491. "show": true,
  492. "values": []
  493. },
  494. "yaxes": [
  495. {
  496. "decimals": 0,
  497. "format": "none",
  498. "label": "Estado",
  499. "logBase": 1,
  500. "max": null,
  501. "min": null,
  502. "show": true
  503. },
  504. {
  505. "format": "short",
  506. "label": null,
  507. "logBase": 1,
  508. "max": null,
  509. "min": null,
  510. "show": true
  511. }
  512. ]
  513. }
  514. ],
  515. "repeat": null,
  516. "repeatIteration": null,
  517. "repeatRowId": null,
  518. "showTitle": false,
  519. "title": "Dashboard Row",
  520. "titleSize": "h6"
  521. },
  522. {
  523. "collapse": false,
  524. "height": 250,
  525. "panels": [
  526. {
  527. "aliasColors": {},
  528. "bars": false,
  529. "dashLength": 10,
  530. "dashes": false,
  531. "datasource": "${DS_JSONENDPOINT}",
  532. "fill": 1,
  533. "id": 6,
  534. "legend": {
  535. "avg": false,
  536. "current": false,
  537. "max": false,
  538. "min": false,
  539. "show": true,
  540. "total": false,
  541. "values": false
  542. },
  543. "lines": true,
  544. "linewidth": 1,
  545. "links": [],
  546. "nullPointMode": "null",
  547. "percentage": false,
  548. "pointradius": 1,
  549. "points": true,
  550. "renderer": "flot",
  551. "seriesOverrides": [
  552. {
  553. "alias": "/inbandwidth/",
  554. "color": "#3f6833"
  555. },
  556. {
  557. "alias": "/outbandwidth/",
  558. "color": "#e24d42"
  559. }
  560. ],
  561. "spaceLength": 10,
  562. "span": 12,
  563. "stack": false,
  564. "steppedLine": false,
  565. "targets": [
  566. {
  567. "rawQuery": true,
  568. "refId": "A",
  569. "target": "inbandwidth_onu_[[serialnumber]]",
  570. "type": "timeserie"
  571. },
  572. {
  573. "rawQuery": true,
  574. "refId": "B",
  575. "target": "outbandwidth_onu_[[serialnumber]]",
  576. "type": "timeserie"
  577. }
  578. ],
  579. "thresholds": [],
  580. "timeFrom": null,
  581. "timeShift": null,
  582. "title": "IN / OUT",
  583. "tooltip": {
  584. "shared": true,
  585. "sort": 0,
  586. "value_type": "individual"
  587. },
  588. "type": "graph",
  589. "xaxis": {
  590. "buckets": null,
  591. "mode": "time",
  592. "name": null,
  593. "show": true,
  594. "values": []
  595. },
  596. "yaxes": [
  597. {
  598. "format": "bps",
  599. "label": null,
  600. "logBase": 1,
  601. "max": null,
  602. "min": null,
  603. "show": true
  604. },
  605. {
  606. "format": "short",
  607. "label": null,
  608. "logBase": 1,
  609. "max": null,
  610. "min": null,
  611. "show": true
  612. }
  613. ]
  614. }
  615. ],
  616. "repeat": null,
  617. "repeatIteration": null,
  618. "repeatRowId": null,
  619. "showTitle": false,
  620. "title": "Dashboard Row",
  621. "titleSize": "h6"
  622. }
  623. ],
  624. "schemaVersion": 14,
  625. "style": "dark",
  626. "tags": [],
  627. "templating": {
  628. "list": [
  629. {
  630. "allValue": null,
  631. "current": {},
  632. "datasource": "${DS_JSONENDPOINT}",
  633. "hide": 0,
  634. "includeAll": false,
  635. "label": "ONU",
  636. "multi": false,
  637. "name": "serialnumber",
  638. "options": [],
  639. "query": "name",
  640. "refresh": 1,
  641. "regex": "onu_status_([a-z0-9]*)",
  642. "sort": 0,
  643. "tagValuesQuery": "",
  644. "tags": [],
  645. "tagsQuery": "",
  646. "type": "query",
  647. "useTags": false
  648. }
  649. ]
  650. },
  651. "time": {
  652. "from": "now-3h",
  653. "to": "now"
  654. },
  655. "timepicker": {
  656. "refresh_intervals": [
  657. "5s",
  658. "10s",
  659. "30s",
  660. "1m",
  661. "5m",
  662. "15m",
  663. "30m",
  664. "1h",
  665. "2h",
  666. "1d"
  667. ],
  668. "time_options": [
  669. "5m",
  670. "15m",
  671. "1h",
  672. "6h",
  673. "12h",
  674. "24h",
  675. "2d",
  676. "7d",
  677. "30d"
  678. ]
  679. },
  680. "timezone": "browser",
  681. "title": "ONU",
  682. "version": 14
  683. }