04179ef6b6ba91b5e0c43d31b591b979d1325211
[barometer.git] / docker / barometer-grafana / dashboards / ipmi_dashboard.json
1 {
2   "dashboard": {
3     "annotations": {
4       "list": [
5         {
6           "builtIn": 1,
7           "datasource": "-- Grafana --",
8           "enable": true,
9           "hide": true,
10           "iconColor": "rgba(0, 211, 255, 1)",
11           "name": "Annotations & Alerts",
12           "type": "dashboard"
13         }
14       ]
15     },
16     "editable": true,
17     "gnetId": null,
18     "graphTooltip": 0,
19     "hideControls": false,
20     "id": null,
21     "links": [],
22     "rows": [
23       {
24         "collapse": false,
25         "height": "250px",
26         "panels": [
27           {
28             "aliasColors": {},
29             "bars": false,
30             "dashLength": 10,
31             "dashes": false,
32             "datasource": "collectd",
33             "fill": 1,
34             "id": 1,
35             "legend": {
36               "alignAsTable": true,
37               "avg": true,
38               "current": true,
39               "max": true,
40               "min": true,
41               "rightSide": true,
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": 12,
57             "stack": false,
58             "steppedLine": false,
59             "targets": [
60               {
61                 "alias": "$tag_type_instance",
62                 "dsType": "influxdb",
63                 "groupBy": [
64                   {
65                     "params": [
66                       "$__interval"
67                     ],
68                     "type": "time"
69                   },
70                   {
71                     "params": [
72                       "type_instance"
73                     ],
74                     "type": "tag"
75                   },
76                   {
77                     "params": [
78                       "null"
79                     ],
80                     "type": "fill"
81                   }
82                 ],
83                 "measurement": "ipmi_value",
84                 "orderByTime": "ASC",
85                 "policy": "default",
86                 "refId": "A",
87                 "resultFormat": "time_series",
88                 "select": [
89                   [
90                     {
91                       "params": [
92                         "value"
93                       ],
94                       "type": "field"
95                     },
96                     {
97                       "params": [],
98                       "type": "last"
99                     }
100                   ]
101                 ],
102                 "tags": [
103                   {
104                     "key": "host",
105                     "operator": "=~",
106                     "value": "/^$host$/"
107                   },
108                   {
109                     "condition": "AND",
110                     "key": "type",
111                     "operator": "=",
112                     "value": "fanspeed"
113                   }
114                 ]
115               }
116             ],
117             "thresholds": [],
118             "timeFrom": null,
119             "timeShift": null,
120             "title": "Fanspeed (RPM)",
121             "tooltip": {
122               "shared": true,
123               "sort": 0,
124               "value_type": "individual"
125             },
126             "type": "graph",
127             "xaxis": {
128               "buckets": null,
129               "mode": "time",
130               "name": null,
131               "show": true,
132               "values": []
133             },
134             "yaxes": [
135               {
136                 "format": "short",
137                 "label": null,
138                 "logBase": 1,
139                 "max": null,
140                 "min": null,
141                 "show": true
142               },
143               {
144                 "format": "short",
145                 "label": null,
146                 "logBase": 1,
147                 "max": null,
148                 "min": null,
149                 "show": true
150               }
151             ]
152           },
153           {
154             "aliasColors": {},
155             "bars": false,
156             "dashLength": 10,
157             "dashes": false,
158             "datasource": "collectd",
159             "fill": 1,
160             "id": 2,
161             "legend": {
162               "alignAsTable": true,
163               "avg": true,
164               "current": true,
165               "max": true,
166               "min": true,
167               "rightSide": 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": 5,
178             "points": false,
179             "renderer": "flot",
180             "seriesOverrides": [],
181             "spaceLength": 10,
182             "span": 12,
183             "stack": false,
184             "steppedLine": false,
185             "targets": [
186               {
187                 "alias": "$tag_type_instance",
188                 "dsType": "influxdb",
189                 "groupBy": [
190                   {
191                     "params": [
192                       "$__interval"
193                     ],
194                     "type": "time"
195                   },
196                   {
197                     "params": [
198                       "type_instance"
199                     ],
200                     "type": "tag"
201                   },
202                   {
203                     "params": [
204                       "null"
205                     ],
206                     "type": "fill"
207                   }
208                 ],
209                 "measurement": "ipmi_value",
210                 "orderByTime": "ASC",
211                 "policy": "default",
212                 "refId": "A",
213                 "resultFormat": "time_series",
214                 "select": [
215                   [
216                     {
217                       "params": [
218                         "value"
219                       ],
220                       "type": "field"
221                     },
222                     {
223                       "params": [],
224                       "type": "last"
225                     }
226                   ]
227                 ],
228                 "tags": [
229                   {
230                     "key": "host",
231                     "operator": "=~",
232                     "value": "/^$host$/"
233                   },
234                   {
235                     "condition": "AND",
236                     "key": "type",
237                     "operator": "=",
238                     "value": "flow"
239                   }
240                 ]
241               }
242             ],
243             "thresholds": [],
244             "timeFrom": null,
245             "timeShift": null,
246             "title": "Airflow (CFM)",
247             "tooltip": {
248               "shared": true,
249               "sort": 0,
250               "value_type": "individual"
251             },
252             "type": "graph",
253             "xaxis": {
254               "buckets": null,
255               "mode": "time",
256               "name": null,
257               "show": true,
258               "values": []
259             },
260             "yaxes": [
261               {
262                 "format": "short",
263                 "label": null,
264                 "logBase": 1,
265                 "max": null,
266                 "min": null,
267                 "show": true
268               },
269               {
270                 "format": "short",
271                 "label": null,
272                 "logBase": 1,
273                 "max": null,
274                 "min": null,
275                 "show": true
276               }
277             ]
278           },
279           {
280             "aliasColors": {},
281             "bars": false,
282             "dashLength": 10,
283             "dashes": false,
284             "datasource": "collectd",
285             "fill": 1,
286             "id": 3,
287             "legend": {
288               "alignAsTable": true,
289               "avg": true,
290               "current": true,
291               "max": true,
292               "min": true,
293               "rightSide": true,
294               "show": true,
295               "total": false,
296               "values": true
297             },
298             "lines": true,
299             "linewidth": 1,
300             "links": [],
301             "nullPointMode": "null",
302             "percentage": false,
303             "pointradius": 5,
304             "points": false,
305             "renderer": "flot",
306             "seriesOverrides": [],
307             "spaceLength": 10,
308             "span": 12,
309             "stack": false,
310             "steppedLine": false,
311             "targets": [
312               {
313                 "alias": "$tag_type_instance",
314                 "dsType": "influxdb",
315                 "groupBy": [
316                   {
317                     "params": [
318                       "$__interval"
319                     ],
320                     "type": "time"
321                   },
322                   {
323                     "params": [
324                       "type_instance"
325                     ],
326                     "type": "tag"
327                   },
328                   {
329                     "params": [
330                       "null"
331                     ],
332                     "type": "fill"
333                   }
334                 ],
335                 "measurement": "ipmi_value",
336                 "orderByTime": "ASC",
337                 "policy": "default",
338                 "refId": "A",
339                 "resultFormat": "time_series",
340                 "select": [
341                   [
342                     {
343                       "params": [
344                         "value"
345                       ],
346                       "type": "field"
347                     },
348                     {
349                       "params": [],
350                       "type": "last"
351                     }
352                   ]
353                 ],
354                 "tags": [
355                   {
356                     "key": "host",
357                     "operator": "=~",
358                     "value": "/^$host$/"
359                   },
360                   {
361                     "condition": "AND",
362                     "key": "type",
363                     "operator": "=",
364                     "value": "percent"
365                   }
366                 ]
367               }
368             ],
369             "thresholds": [],
370             "timeFrom": null,
371             "timeShift": null,
372             "title": "percent",
373             "tooltip": {
374               "shared": true,
375               "sort": 0,
376               "value_type": "individual"
377             },
378             "type": "graph",
379             "xaxis": {
380               "buckets": null,
381               "mode": "time",
382               "name": null,
383               "show": true,
384               "values": []
385             },
386             "yaxes": [
387               {
388                 "format": "short",
389                 "label": null,
390                 "logBase": 1,
391                 "max": null,
392                 "min": null,
393                 "show": true
394               },
395               {
396                 "format": "short",
397                 "label": null,
398                 "logBase": 1,
399                 "max": null,
400                 "min": null,
401                 "show": true
402               }
403             ]
404           },
405           {
406             "aliasColors": {},
407             "bars": false,
408             "dashLength": 10,
409             "dashes": false,
410             "datasource": "collectd",
411             "fill": 1,
412             "id": 4,
413             "legend": {
414               "alignAsTable": true,
415               "avg": true,
416               "current": true,
417               "max": true,
418               "min": true,
419               "rightSide": true,
420               "show": true,
421               "total": false,
422               "values": true
423             },
424             "lines": true,
425             "linewidth": 1,
426             "links": [],
427             "nullPointMode": "null",
428             "percentage": false,
429             "pointradius": 5,
430             "points": false,
431             "renderer": "flot",
432             "seriesOverrides": [],
433             "spaceLength": 10,
434             "span": 12,
435             "stack": false,
436             "steppedLine": false,
437             "targets": [
438               {
439                 "alias": "$tag_type_instance",
440                 "dsType": "influxdb",
441                 "groupBy": [
442                   {
443                     "params": [
444                       "$__interval"
445                     ],
446                     "type": "time"
447                   },
448                   {
449                     "params": [
450                       "type_instance"
451                     ],
452                     "type": "tag"
453                   },
454                   {
455                     "params": [
456                       "null"
457                     ],
458                     "type": "fill"
459                   }
460                 ],
461                 "measurement": "ipmi_value",
462                 "orderByTime": "ASC",
463                 "policy": "default",
464                 "refId": "A",
465                 "resultFormat": "time_series",
466                 "select": [
467                   [
468                     {
469                       "params": [
470                         "value"
471                       ],
472                       "type": "field"
473                     },
474                     {
475                       "params": [],
476                       "type": "last"
477                     }
478                   ]
479                 ],
480                 "tags": [
481                   {
482                     "key": "host",
483                     "operator": "=~",
484                     "value": "/^$host$/"
485                   },
486                   {
487                     "condition": "AND",
488                     "key": "type",
489                     "operator": "=",
490                     "value": "power"
491                   }
492                 ]
493               }
494             ],
495             "thresholds": [],
496             "timeFrom": null,
497             "timeShift": null,
498             "title": "power in watts",
499             "tooltip": {
500               "shared": true,
501               "sort": 0,
502               "value_type": "individual"
503             },
504             "type": "graph",
505             "xaxis": {
506               "buckets": null,
507               "mode": "time",
508               "name": null,
509               "show": true,
510               "values": []
511             },
512             "yaxes": [
513               {
514                 "format": "short",
515                 "label": null,
516                 "logBase": 1,
517                 "max": null,
518                 "min": null,
519                 "show": true
520               },
521               {
522                 "format": "short",
523                 "label": null,
524                 "logBase": 1,
525                 "max": null,
526                 "min": null,
527                 "show": true
528               }
529             ]
530           },
531           {
532             "aliasColors": {},
533             "bars": false,
534             "dashLength": 10,
535             "dashes": false,
536             "datasource": "collectd",
537             "fill": 1,
538             "id": 5,
539             "legend": {
540               "alignAsTable": true,
541               "avg": true,
542               "current": true,
543               "max": true,
544               "min": true,
545               "rightSide": true,
546               "show": true,
547               "total": false,
548               "values": true
549             },
550             "lines": true,
551             "linewidth": 1,
552             "links": [],
553             "nullPointMode": "null",
554             "percentage": false,
555             "pointradius": 5,
556             "points": false,
557             "renderer": "flot",
558             "seriesOverrides": [],
559             "spaceLength": 10,
560             "span": 12,
561             "stack": false,
562             "steppedLine": false,
563             "targets": [
564               {
565                 "alias": "$tag_type_instance",
566                 "dsType": "influxdb",
567                 "groupBy": [
568                   {
569                     "params": [
570                       "$__interval"
571                     ],
572                     "type": "time"
573                   },
574                   {
575                     "params": [
576                       "type_instance"
577                     ],
578                     "type": "tag"
579                   },
580                   {
581                     "params": [
582                       "null"
583                     ],
584                     "type": "fill"
585                   }
586                 ],
587                 "measurement": "ipmi_value",
588                 "orderByTime": "ASC",
589                 "policy": "default",
590                 "refId": "A",
591                 "resultFormat": "time_series",
592                 "select": [
593                   [
594                     {
595                       "params": [
596                         "value"
597                       ],
598                       "type": "field"
599                     },
600                     {
601                       "params": [],
602                       "type": "last"
603                     }
604                   ]
605                 ],
606                 "tags": [
607                   {
608                     "key": "host",
609                     "operator": "=~",
610                     "value": "/^$host$/"
611                   },
612                   {
613                     "condition": "AND",
614                     "key": "type",
615                     "operator": "=",
616                     "value": "temperature"
617                   }
618                 ]
619               }
620             ],
621             "thresholds": [],
622             "timeFrom": null,
623             "timeShift": null,
624             "title": "temperature in degrees C",
625             "tooltip": {
626               "shared": true,
627               "sort": 0,
628               "value_type": "individual"
629             },
630             "type": "graph",
631             "xaxis": {
632               "buckets": null,
633               "mode": "time",
634               "name": null,
635               "show": true,
636               "values": []
637             },
638             "yaxes": [
639               {
640                 "format": "short",
641                 "label": null,
642                 "logBase": 1,
643                 "max": null,
644                 "min": null,
645                 "show": true
646               },
647               {
648                 "format": "short",
649                 "label": null,
650                 "logBase": 1,
651                 "max": null,
652                 "min": null,
653                 "show": true
654               }
655             ]
656           },
657           {
658             "aliasColors": {},
659             "bars": false,
660             "dashLength": 10,
661             "dashes": false,
662             "datasource": "collectd",
663             "fill": 1,
664             "id": 6,
665             "legend": {
666               "alignAsTable": true,
667               "avg": true,
668               "current": true,
669               "max": true,
670               "min": true,
671               "rightSide": true,
672               "show": true,
673               "total": false,
674               "values": true
675             },
676             "lines": true,
677             "linewidth": 1,
678             "links": [],
679             "nullPointMode": "null",
680             "percentage": false,
681             "pointradius": 5,
682             "points": false,
683             "renderer": "flot",
684             "seriesOverrides": [],
685             "spaceLength": 10,
686             "span": 12,
687             "stack": false,
688             "steppedLine": false,
689             "targets": [
690               {
691                 "alias": "$tag_type_instance",
692                 "dsType": "influxdb",
693                 "groupBy": [
694                   {
695                     "params": [
696                       "$__interval"
697                     ],
698                     "type": "time"
699                   },
700                   {
701                     "params": [
702                       "type_instance"
703                     ],
704                     "type": "tag"
705                   },
706                   {
707                     "params": [
708                       "null"
709                     ],
710                     "type": "fill"
711                   }
712                 ],
713                 "measurement": "ipmi_value",
714                 "orderByTime": "ASC",
715                 "policy": "default",
716                 "refId": "A",
717                 "resultFormat": "time_series",
718                 "select": [
719                   [
720                     {
721                       "params": [
722                         "value"
723                       ],
724                       "type": "field"
725                     },
726                     {
727                       "params": [],
728                       "type": "last"
729                     }
730                   ]
731                 ],
732                 "tags": [
733                   {
734                     "key": "host",
735                     "operator": "=~",
736                     "value": "/^$host$/"
737                   },
738                   {
739                     "condition": "AND",
740                     "key": "type",
741                     "operator": "=",
742                     "value": "voltage"
743                   }
744                 ]
745               }
746             ],
747             "thresholds": [],
748             "timeFrom": null,
749             "timeShift": null,
750             "title": "voltage",
751             "tooltip": {
752               "shared": true,
753               "sort": 0,
754               "value_type": "individual"
755             },
756             "type": "graph",
757             "xaxis": {
758               "buckets": null,
759               "mode": "time",
760               "name": null,
761               "show": true,
762               "values": []
763             },
764             "yaxes": [
765               {
766                 "format": "short",
767                 "label": null,
768                 "logBase": 1,
769                 "max": null,
770                 "min": null,
771                 "show": true
772               },
773               {
774                 "format": "short",
775                 "label": null,
776                 "logBase": 1,
777                 "max": null,
778                 "min": null,
779                 "show": true
780               }
781             ]
782           }
783         ],
784         "repeat": null,
785         "repeatIteration": null,
786         "repeatRowId": null,
787         "showTitle": false,
788         "title": "Dashboard Row",
789         "titleSize": "h6"
790       }
791     ],
792     "schemaVersion": 14,
793     "style": "dark",
794     "tags": [
795       "Barometer"
796     ],
797     "templating": {
798       "list": [
799         {
800           "current": {
801             "text": "collectd",
802             "value": "collectd"
803           },
804           "hide": 0,
805           "label": null,
806           "name": "datasource",
807           "options": [],
808           "query": "influxdb",
809           "refresh": 1,
810           "regex": "",
811           "type": "datasource"
812         },
813         {
814           "allValue": null,
815           "current": {
816             "text": "silpixa00398941.ir.intel.com",
817             "value": "silpixa00398941.ir.intel.com"
818           },
819           "datasource": "collectd",
820           "hide": 0,
821           "includeAll": false,
822           "label": null,
823           "multi": false,
824           "name": "host",
825           "options": [
826             {
827               "selected": true,
828               "text": "silpixa00398941.ir.intel.com",
829               "value": "silpixa00398941.ir.intel.com"
830             }
831           ],
832           "query": "SHOW TAG VALUES FROM ipmi_value WITH KEY=host",
833           "refresh": 0,
834           "regex": "",
835           "sort": 0,
836           "tagValuesQuery": "",
837           "tags": [],
838           "tagsQuery": "",
839           "type": "query",
840           "useTags": false
841         }
842       ]
843     },
844     "time": {
845       "from": "now-6h",
846       "to": "now"
847     },
848     "timepicker": {
849       "refresh_intervals": [
850         "5s",
851         "10s",
852         "30s",
853         "1m",
854         "5m",
855         "15m",
856         "30m",
857         "1h",
858         "2h",
859         "1d"
860       ],
861       "time_options": [
862         "5m",
863         "15m",
864         "1h",
865         "6h",
866         "12h",
867         "24h",
868         "2d",
869         "7d",
870         "30d"
871       ]
872     },
873     "timezone": "",
874     "title": "IPMI",
875     "version": 2
876   },
877   "overwrite": false
878 }