dc.json 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  1. {
  2. "annotations": {
  3. "list": [
  4. {
  5. "builtIn": 1,
  6. "datasource": "-- Grafana --",
  7. "enable": true,
  8. "hide": true,
  9. "iconColor": "rgba(0, 211, 255, 1)",
  10. "name": "Annotations & Alerts",
  11. "type": "dashboard"
  12. }
  13. ]
  14. },
  15. "editable": true,
  16. "gnetId": null,
  17. "graphTooltip": 0,
  18. "hideControls": false,
  19. "id": 9,
  20. "links": [],
  21. "refresh": "1m",
  22. "rows": [
  23. {
  24. "collapse": false,
  25. "height": 235,
  26. "panels": [
  27. {
  28. "aliasColors": {},
  29. "bars": false,
  30. "dashLength": 10,
  31. "dashes": false,
  32. "datasource": null,
  33. "fill": 1,
  34. "id": 1,
  35. "legend": {
  36. "alignAsTable": false,
  37. "avg": true,
  38. "current": true,
  39. "hideZero": true,
  40. "max": true,
  41. "min": false,
  42. "show": true,
  43. "total": false,
  44. "values": true
  45. },
  46. "lines": true,
  47. "linewidth": 1,
  48. "links": [],
  49. "nullPointMode": "null",
  50. "percentage": false,
  51. "pointradius": 5,
  52. "points": false,
  53. "renderer": "flot",
  54. "seriesOverrides": [],
  55. "spaceLength": 10,
  56. "span": 6,
  57. "stack": false,
  58. "steppedLine": false,
  59. "targets": [
  60. {
  61. "expr": "irate(ifHCInOctets{job='snmp_ifalias',instance=~\"10.127.0.249\",ifDescr=~'Ethernet.*'}[30s])",
  62. "format": "time_series",
  63. "intervalFactor": 2,
  64. "legendFormat": "{{sysName}} : {{ifDescr}} ({{ifAlias}}) IN",
  65. "refId": "A"
  66. },
  67. {
  68. "expr": "irate(ifHCOutOctets{job=\"snmp_ifalias\",instance=~'10.127.0.249',ifDescr=~'Ethernet.*'}[30s])",
  69. "format": "time_series",
  70. "instant": false,
  71. "intervalFactor": 2,
  72. "legendFormat": "{{sysName}} : {{ifDescr}} ({{ifAlias}}) OUT",
  73. "refId": "B"
  74. },
  75. {
  76. "expr": "",
  77. "format": "time_series",
  78. "intervalFactor": 2,
  79. "refId": "C"
  80. }
  81. ],
  82. "thresholds": [],
  83. "timeFrom": null,
  84. "timeShift": null,
  85. "title": "DC1-ETHSW-1 Interface Utilization",
  86. "tooltip": {
  87. "shared": true,
  88. "sort": 0,
  89. "value_type": "individual"
  90. },
  91. "type": "graph",
  92. "xaxis": {
  93. "buckets": null,
  94. "mode": "time",
  95. "name": null,
  96. "show": true,
  97. "values": []
  98. },
  99. "yaxes": [
  100. {
  101. "format": "Bps",
  102. "label": null,
  103. "logBase": 1,
  104. "max": null,
  105. "min": null,
  106. "show": true
  107. },
  108. {
  109. "format": "short",
  110. "label": null,
  111. "logBase": 1,
  112. "max": null,
  113. "min": null,
  114. "show": false
  115. }
  116. ]
  117. },
  118. {
  119. "aliasColors": {},
  120. "bars": false,
  121. "dashLength": 10,
  122. "dashes": false,
  123. "datasource": null,
  124. "fill": 1,
  125. "id": 2,
  126. "legend": {
  127. "alignAsTable": false,
  128. "avg": true,
  129. "current": true,
  130. "hideZero": true,
  131. "max": true,
  132. "min": false,
  133. "show": true,
  134. "total": false,
  135. "values": true
  136. },
  137. "lines": true,
  138. "linewidth": 1,
  139. "links": [],
  140. "nullPointMode": "null",
  141. "percentage": false,
  142. "pointradius": 5,
  143. "points": false,
  144. "renderer": "flot",
  145. "seriesOverrides": [],
  146. "spaceLength": 10,
  147. "span": 6,
  148. "stack": false,
  149. "steppedLine": false,
  150. "targets": [
  151. {
  152. "expr": "irate(ifHCInOctets{job='snmp_ifalias',instance=~\"10.127.0.250\",ifDescr=~'Ethernet.*'}[30s])",
  153. "format": "time_series",
  154. "intervalFactor": 2,
  155. "legendFormat": "{{sysName}} : {{ifDescr}} ({{ifAlias}}) IN",
  156. "refId": "A"
  157. },
  158. {
  159. "expr": "irate(ifHCOutOctets{job=\"snmp_ifalias\",instance=~'10.127.0.250',ifDescr=~'Ethernet.*'}[30s])",
  160. "format": "time_series",
  161. "instant": false,
  162. "intervalFactor": 2,
  163. "legendFormat": "{{sysName}} : {{ifDescr}} ({{ifAlias}}) OUT",
  164. "refId": "B"
  165. },
  166. {
  167. "expr": "",
  168. "format": "time_series",
  169. "intervalFactor": 2,
  170. "refId": "C"
  171. }
  172. ],
  173. "thresholds": [],
  174. "timeFrom": null,
  175. "timeShift": null,
  176. "title": "DC1-ETHSW-2 Interface Utilization",
  177. "tooltip": {
  178. "shared": true,
  179. "sort": 0,
  180. "value_type": "individual"
  181. },
  182. "type": "graph",
  183. "xaxis": {
  184. "buckets": null,
  185. "mode": "time",
  186. "name": null,
  187. "show": true,
  188. "values": []
  189. },
  190. "yaxes": [
  191. {
  192. "format": "Bps",
  193. "label": null,
  194. "logBase": 1,
  195. "max": null,
  196. "min": null,
  197. "show": true
  198. },
  199. {
  200. "format": "short",
  201. "label": null,
  202. "logBase": 1,
  203. "max": null,
  204. "min": null,
  205. "show": false
  206. }
  207. ]
  208. }
  209. ],
  210. "repeat": null,
  211. "repeatIteration": null,
  212. "repeatRowId": null,
  213. "showTitle": false,
  214. "title": "Dashboard Row",
  215. "titleSize": "h6"
  216. },
  217. {
  218. "collapse": false,
  219. "height": 250,
  220. "panels": [
  221. {
  222. "aliasColors": {},
  223. "bars": false,
  224. "dashLength": 10,
  225. "dashes": false,
  226. "datasource": null,
  227. "fill": 1,
  228. "id": 3,
  229. "legend": {
  230. "alignAsTable": false,
  231. "avg": true,
  232. "current": true,
  233. "hideZero": true,
  234. "max": true,
  235. "min": false,
  236. "show": true,
  237. "total": false,
  238. "values": true
  239. },
  240. "lines": true,
  241. "linewidth": 1,
  242. "links": [],
  243. "nullPointMode": "null",
  244. "percentage": false,
  245. "pointradius": 5,
  246. "points": false,
  247. "renderer": "flot",
  248. "seriesOverrides": [],
  249. "spaceLength": 10,
  250. "span": 6,
  251. "stack": false,
  252. "steppedLine": false,
  253. "targets": [
  254. {
  255. "expr": "irate(ifHCInOctets{job='snmp_ifalias',instance=~\"10.127.0.247\",ifDescr=~'Ethernet.*'}[30s])",
  256. "format": "time_series",
  257. "intervalFactor": 2,
  258. "legendFormat": "{{sysName}} : {{ifDescr}} ({{ifAlias}}) IN",
  259. "refId": "A"
  260. },
  261. {
  262. "expr": "irate(ifHCOutOctets{job=\"snmp_ifalias\",instance=~'10.127.0.247',ifDescr=~'Ethernet.*'}[30s])",
  263. "format": "time_series",
  264. "instant": false,
  265. "intervalFactor": 2,
  266. "legendFormat": "{{sysName}} : {{ifDescr}} ({{ifAlias}}) OUT",
  267. "refId": "B"
  268. },
  269. {
  270. "expr": "",
  271. "format": "time_series",
  272. "intervalFactor": 2,
  273. "refId": "C"
  274. }
  275. ],
  276. "thresholds": [],
  277. "timeFrom": null,
  278. "timeShift": null,
  279. "title": "DC2-ETHSW-1 Interface Utilization",
  280. "tooltip": {
  281. "shared": true,
  282. "sort": 0,
  283. "value_type": "individual"
  284. },
  285. "type": "graph",
  286. "xaxis": {
  287. "buckets": null,
  288. "mode": "time",
  289. "name": null,
  290. "show": true,
  291. "values": []
  292. },
  293. "yaxes": [
  294. {
  295. "format": "Bps",
  296. "label": null,
  297. "logBase": 1,
  298. "max": null,
  299. "min": null,
  300. "show": true
  301. },
  302. {
  303. "format": "short",
  304. "label": null,
  305. "logBase": 1,
  306. "max": null,
  307. "min": null,
  308. "show": false
  309. }
  310. ]
  311. },
  312. {
  313. "aliasColors": {},
  314. "bars": false,
  315. "dashLength": 10,
  316. "dashes": false,
  317. "datasource": null,
  318. "fill": 1,
  319. "id": 4,
  320. "legend": {
  321. "alignAsTable": false,
  322. "avg": true,
  323. "current": true,
  324. "hideZero": true,
  325. "max": true,
  326. "min": false,
  327. "show": true,
  328. "total": false,
  329. "values": true
  330. },
  331. "lines": true,
  332. "linewidth": 1,
  333. "links": [],
  334. "nullPointMode": "null",
  335. "percentage": false,
  336. "pointradius": 5,
  337. "points": false,
  338. "renderer": "flot",
  339. "seriesOverrides": [],
  340. "spaceLength": 10,
  341. "span": 6,
  342. "stack": false,
  343. "steppedLine": false,
  344. "targets": [
  345. {
  346. "expr": "irate(ifHCInOctets{job='snmp_ifalias',instance=~\"10.127.0.248\",ifDescr=~'Ethernet.*'}[30s])",
  347. "format": "time_series",
  348. "intervalFactor": 2,
  349. "legendFormat": "{{sysName}} : {{ifDescr}} ({{ifAlias}}) IN",
  350. "refId": "A"
  351. },
  352. {
  353. "expr": "irate(ifHCOutOctets{job=\"snmp_ifalias\",instance=~'10.127.0.248',ifDescr=~'Ethernet.*'}[30s])",
  354. "format": "time_series",
  355. "instant": false,
  356. "intervalFactor": 2,
  357. "legendFormat": "{{sysName}} : {{ifDescr}} ({{ifAlias}}) OUT",
  358. "refId": "B"
  359. },
  360. {
  361. "expr": "",
  362. "format": "time_series",
  363. "intervalFactor": 2,
  364. "refId": "C"
  365. }
  366. ],
  367. "thresholds": [],
  368. "timeFrom": null,
  369. "timeShift": null,
  370. "title": "DC2-ETHSW-2 Interface Utilization",
  371. "tooltip": {
  372. "shared": true,
  373. "sort": 0,
  374. "value_type": "individual"
  375. },
  376. "type": "graph",
  377. "xaxis": {
  378. "buckets": null,
  379. "mode": "time",
  380. "name": null,
  381. "show": true,
  382. "values": []
  383. },
  384. "yaxes": [
  385. {
  386. "format": "Bps",
  387. "label": null,
  388. "logBase": 1,
  389. "max": null,
  390. "min": null,
  391. "show": true
  392. },
  393. {
  394. "format": "short",
  395. "label": null,
  396. "logBase": 1,
  397. "max": null,
  398. "min": null,
  399. "show": false
  400. }
  401. ]
  402. }
  403. ],
  404. "repeat": null,
  405. "repeatIteration": null,
  406. "repeatRowId": null,
  407. "showTitle": false,
  408. "title": "Dashboard Row",
  409. "titleSize": "h6"
  410. }
  411. ],
  412. "schemaVersion": 14,
  413. "style": "dark",
  414. "tags": [],
  415. "templating": {
  416. "list": [
  417. {
  418. "allValue": null,
  419. "current": {
  420. "text": "10.127.0.248",
  421. "value": [
  422. "10.127.0.248"
  423. ]
  424. },
  425. "datasource": "Prometheus",
  426. "hide": 2,
  427. "includeAll": false,
  428. "label": null,
  429. "multi": true,
  430. "name": "Device",
  431. "options": [],
  432. "query": "query_result(sum by (instance)(ifHCInOctets{job=\"snmp_ifalias\"}))",
  433. "refresh": 1,
  434. "regex": ".*instance=\"(.*?)\".*",
  435. "sort": 1,
  436. "tagValuesQuery": "",
  437. "tags": [],
  438. "tagsQuery": "",
  439. "type": "query",
  440. "useTags": false
  441. },
  442. {
  443. "allValue": null,
  444. "current": {
  445. "text": "All",
  446. "value": "$__all"
  447. },
  448. "datasource": "Prometheus",
  449. "hide": 2,
  450. "includeAll": true,
  451. "label": null,
  452. "multi": false,
  453. "name": "Interface",
  454. "options": [],
  455. "query": "query_result(ifHCInOctets{job=\"snmp_ifalias\",instance=~\"$Device\"})",
  456. "refresh": 1,
  457. "regex": ".*ifDescr=\"(.*?)\",.*",
  458. "sort": 3,
  459. "tagValuesQuery": "",
  460. "tags": [],
  461. "tagsQuery": "",
  462. "type": "query",
  463. "useTags": false
  464. }
  465. ]
  466. },
  467. "time": {
  468. "from": "now-6h",
  469. "to": "now"
  470. },
  471. "timepicker": {
  472. "refresh_intervals": [
  473. "5s",
  474. "10s",
  475. "30s",
  476. "1m",
  477. "5m",
  478. "15m",
  479. "30m",
  480. "1h",
  481. "2h",
  482. "1d"
  483. ],
  484. "time_options": [
  485. "5m",
  486. "15m",
  487. "1h",
  488. "6h",
  489. "12h",
  490. "24h",
  491. "2d",
  492. "7d",
  493. "30d"
  494. ]
  495. },
  496. "timezone": "utc",
  497. "title": "New DC",
  498. "version": 6
  499. }