Last active 1 week ago

Revision 132c4d5c9018e5578e22708601ac5a67b33606a3

grafana.json Raw
1{
2 "apiVersion": "dashboard.grafana.app/v2",
3 "kind": "Dashboard",
4 "metadata": {
5 "name": "ad-samba-audit2",
6 "generation": 43,
7 "creationTimestamp": "2026-07-03T12:41:09Z",
8 "labels": {},
9 "annotations": {}
10 },
11 "spec": {
12 "annotations": [
13 {
14 "kind": "AnnotationQuery",
15 "spec": {
16 "query": {
17 "kind": "DataQuery",
18 "group": "grafana",
19 "version": "v0",
20 "spec": {}
21 },
22 "enable": true,
23 "hide": true,
24 "iconColor": "rgba(0, 211, 255, 1)",
25 "name": "Annotations & Alerts",
26 "builtIn": true
27 }
28 }
29 ],
30 "cursorSync": "Crosshair",
31 "editable": true,
32 "elements": {
33 "panel-1": {
34 "kind": "Panel",
35 "spec": {
36 "id": 1,
37 "title": "Logins OK",
38 "description": "Успешные входы в домен (samba_auth): машинные и пользовательские, разбивка по домену.",
39 "links": [],
40 "data": {
41 "kind": "QueryGroup",
42 "spec": {
43 "queries": [
44 {
45 "kind": "PanelQuery",
46 "spec": {
47 "query": {
48 "kind": "DataQuery",
49 "group": "influxdb",
50 "version": "v0",
51 "spec": {
52 "alias": "machine_login",
53 "groupBy": [
54 {
55 "params": [
56 "$interval"
57 ],
58 "type": "time"
59 },
60 {
61 "params": [
62 "domain::tag"
63 ],
64 "type": "tag"
65 },
66 {
67 "params": [
68 "null"
69 ],
70 "type": "fill"
71 }
72 ],
73 "measurement": "samba_auth",
74 "orderByTime": "ASC",
75 "policy": "default",
76 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
77 "rawQuery": false,
78 "resultFormat": "time_series",
79 "select": [
80 [
81 {
82 "params": [
83 "client_account"
84 ],
85 "type": "field"
86 },
87 {
88 "params": [],
89 "type": "count"
90 }
91 ]
92 ],
93 "tags": [
94 {
95 "key": "status::tag",
96 "operator": "=",
97 "value": "NT_STATUS_OK"
98 },
99 {
100 "condition": "AND",
101 "key": "account::tag",
102 "operator": "=~",
103 "value": "/^MACHINE/"
104 }
105 ]
106 },
107 "labels": {
108 "grafana.app/export-label": "influxdb-1"
109 }
110 },
111 "refId": "A",
112 "hidden": false
113 }
114 },
115 {
116 "kind": "PanelQuery",
117 "spec": {
118 "query": {
119 "kind": "DataQuery",
120 "group": "influxdb",
121 "version": "v0",
122 "spec": {
123 "alias": "user_login",
124 "groupBy": [
125 {
126 "params": [
127 "$interval"
128 ],
129 "type": "time"
130 },
131 {
132 "params": [
133 "domain::tag"
134 ],
135 "type": "tag"
136 },
137 {
138 "params": [
139 "null"
140 ],
141 "type": "fill"
142 }
143 ],
144 "measurement": "samba_auth",
145 "orderByTime": "ASC",
146 "policy": "default",
147 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^user/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
148 "rawQuery": false,
149 "resultFormat": "time_series",
150 "select": [
151 [
152 {
153 "params": [
154 "client_account"
155 ],
156 "type": "field"
157 },
158 {
159 "params": [],
160 "type": "count"
161 }
162 ]
163 ],
164 "tags": [
165 {
166 "key": "status::tag",
167 "operator": "=",
168 "value": "NT_STATUS_OK"
169 },
170 {
171 "condition": "AND",
172 "key": "account::tag",
173 "operator": "=~",
174 "value": "/^user/"
175 },
176 {
177 "condition": "OR",
178 "key": "account::tag",
179 "operator": "=~",
180 "value": "/^loadtest/"
181 }
182 ]
183 },
184 "labels": {
185 "grafana.app/export-label": "influxdb-1"
186 }
187 },
188 "refId": "B",
189 "hidden": false
190 }
191 }
192 ],
193 "transformations": [],
194 "queryOptions": {}
195 }
196 },
197 "vizConfig": {
198 "kind": "VizConfig",
199 "group": "timeseries",
200 "version": "13.0.1+security-01",
201 "spec": {
202 "options": {
203 "annotations": {
204 "clustering": -1,
205 "multiLane": false
206 },
207 "legend": {
208 "calcs": [],
209 "displayMode": "list",
210 "placement": "bottom",
211 "showLegend": true
212 },
213 "tooltip": {
214 "hideZeros": false,
215 "mode": "single",
216 "sort": "none"
217 }
218 },
219 "fieldConfig": {
220 "defaults": {
221 "thresholds": {
222 "mode": "absolute",
223 "steps": [
224 {
225 "value": 0,
226 "color": "green"
227 },
228 {
229 "value": 80,
230 "color": "red"
231 }
232 ]
233 },
234 "color": {
235 "mode": "palette-classic"
236 },
237 "custom": {
238 "axisBorderShow": false,
239 "axisCenteredZero": false,
240 "axisColorMode": "text",
241 "axisLabel": "",
242 "axisPlacement": "auto",
243 "barAlignment": 0,
244 "barWidthFactor": 0.6,
245 "drawStyle": "line",
246 "fillOpacity": 10,
247 "gradientMode": "none",
248 "hideFrom": {
249 "legend": false,
250 "tooltip": false,
251 "viz": false
252 },
253 "insertNulls": false,
254 "lineInterpolation": "smooth",
255 "lineWidth": 1,
256 "pointSize": 5,
257 "scaleDistribution": {
258 "type": "linear"
259 },
260 "showPoints": "auto",
261 "showValues": false,
262 "spanNulls": false,
263 "stacking": {
264 "group": "A",
265 "mode": "none"
266 },
267 "thresholdsStyle": {
268 "mode": "off"
269 }
270 }
271 },
272 "overrides": []
273 }
274 }
275 }
276 }
277 },
278 "panel-10": {
279 "kind": "Panel",
280 "spec": {
281 "id": 10,
282 "title": "Samba: подключённых клиентов",
283 "description": "История числа подключённых SMB-клиентов (samba_clients.count).",
284 "links": [],
285 "data": {
286 "kind": "QueryGroup",
287 "spec": {
288 "queries": [
289 {
290 "kind": "PanelQuery",
291 "spec": {
292 "query": {
293 "kind": "DataQuery",
294 "group": "influxdb",
295 "version": "v0",
296 "spec": {
297 "alias": "clients",
298 "groupBy": [
299 {
300 "params": [
301 "$__interval"
302 ],
303 "type": "time"
304 },
305 {
306 "params": [
307 "null"
308 ],
309 "type": "fill"
310 }
311 ],
312 "measurement": "samba_clients",
313 "orderByTime": "ASC",
314 "policy": "default",
315 "query": "SELECT last(\"count\") FROM \"samba_clients\" WHERE $timeFilter GROUP BY time($__interval) fill(null)",
316 "rawQuery": false,
317 "resultFormat": "time_series",
318 "select": [
319 [
320 {
321 "params": [
322 "count"
323 ],
324 "type": "field"
325 },
326 {
327 "params": [],
328 "type": "last"
329 }
330 ]
331 ],
332 "tags": []
333 },
334 "labels": {
335 "grafana.app/export-label": "influxdb-1"
336 }
337 },
338 "refId": "A",
339 "hidden": false
340 }
341 }
342 ],
343 "transformations": [],
344 "queryOptions": {}
345 }
346 },
347 "vizConfig": {
348 "kind": "VizConfig",
349 "group": "timeseries",
350 "version": "13.0.1+security-01",
351 "spec": {
352 "options": {
353 "annotations": {
354 "clustering": -1,
355 "multiLane": false
356 },
357 "legend": {
358 "calcs": [],
359 "displayMode": "list",
360 "placement": "bottom",
361 "showLegend": true
362 },
363 "tooltip": {
364 "hideZeros": false,
365 "mode": "single",
366 "sort": "none"
367 }
368 },
369 "fieldConfig": {
370 "defaults": {
371 "unit": "none",
372 "thresholds": {
373 "mode": "absolute",
374 "steps": [
375 {
376 "value": 0,
377 "color": "green"
378 }
379 ]
380 },
381 "color": {
382 "mode": "palette-classic"
383 },
384 "custom": {
385 "axisBorderShow": false,
386 "axisCenteredZero": false,
387 "axisColorMode": "text",
388 "axisLabel": "",
389 "axisPlacement": "auto",
390 "barAlignment": 0,
391 "barWidthFactor": 0.6,
392 "drawStyle": "line",
393 "fillOpacity": 15,
394 "gradientMode": "none",
395 "hideFrom": {
396 "legend": false,
397 "tooltip": false,
398 "viz": false
399 },
400 "insertNulls": false,
401 "lineInterpolation": "stepAfter",
402 "lineWidth": 2,
403 "pointSize": 5,
404 "scaleDistribution": {
405 "type": "linear"
406 },
407 "showPoints": "auto",
408 "showValues": false,
409 "spanNulls": false,
410 "stacking": {
411 "group": "A",
412 "mode": "none"
413 },
414 "thresholdsStyle": {
415 "mode": "off"
416 }
417 }
418 },
419 "overrides": []
420 }
421 }
422 }
423 }
424 },
425 "panel-11": {
426 "kind": "Panel",
427 "spec": {
428 "id": 11,
429 "title": "Authentifications",
430 "description": "Успешные входы в домен (samba_auth): машинные и пользовательские, разбивка по домену.",
431 "links": [],
432 "data": {
433 "kind": "QueryGroup",
434 "spec": {
435 "queries": [
436 {
437 "kind": "PanelQuery",
438 "spec": {
439 "query": {
440 "kind": "DataQuery",
441 "group": "influxdb",
442 "version": "v0",
443 "spec": {
444 "alias": "machine_logins",
445 "groupBy": [
446 {
447 "params": [
448 "$interval"
449 ],
450 "type": "time"
451 },
452 {
453 "params": [
454 "domain::tag"
455 ],
456 "type": "tag"
457 },
458 {
459 "params": [
460 "null"
461 ],
462 "type": "fill"
463 }
464 ],
465 "measurement": "samba_auth",
466 "orderByTime": "ASC",
467 "policy": "default",
468 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
469 "rawQuery": false,
470 "resultFormat": "time_series",
471 "select": [
472 [
473 {
474 "params": [
475 "client_account"
476 ],
477 "type": "field"
478 },
479 {
480 "params": [],
481 "type": "count"
482 }
483 ]
484 ],
485 "tags": [
486 {
487 "key": "status::tag",
488 "operator": "=",
489 "value": "NT_STATUS_OK"
490 },
491 {
492 "condition": "AND",
493 "key": "account::tag",
494 "operator": "=~",
495 "value": "/^MACHINE/"
496 }
497 ]
498 },
499 "labels": {
500 "grafana.app/export-label": "influxdb-1"
501 }
502 },
503 "refId": "A",
504 "hidden": false
505 }
506 },
507 {
508 "kind": "PanelQuery",
509 "spec": {
510 "query": {
511 "kind": "DataQuery",
512 "group": "influxdb",
513 "version": "v0",
514 "spec": {
515 "alias": "user_logins",
516 "groupBy": [
517 {
518 "params": [
519 "$interval"
520 ],
521 "type": "time"
522 },
523 {
524 "params": [
525 "domain::tag"
526 ],
527 "type": "tag"
528 },
529 {
530 "params": [
531 "null"
532 ],
533 "type": "fill"
534 }
535 ],
536 "measurement": "samba_auth",
537 "orderByTime": "ASC",
538 "policy": "default",
539 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^user/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
540 "rawQuery": false,
541 "resultFormat": "time_series",
542 "select": [
543 [
544 {
545 "params": [
546 "client_account"
547 ],
548 "type": "field"
549 },
550 {
551 "params": [],
552 "type": "count"
553 }
554 ]
555 ],
556 "tags": [
557 {
558 "key": "status::tag",
559 "operator": "=",
560 "value": "NT_STATUS_OK"
561 },
562 {
563 "condition": "AND",
564 "key": "account::tag",
565 "operator": "=~",
566 "value": "/^user/"
567 },
568 {
569 "condition": "OR",
570 "key": "account::tag",
571 "operator": "=~",
572 "value": "/^loadtest/"
573 }
574 ]
575 },
576 "labels": {
577 "grafana.app/export-label": "influxdb-1"
578 }
579 },
580 "refId": "B",
581 "hidden": false
582 }
583 }
584 ],
585 "transformations": [],
586 "queryOptions": {}
587 }
588 },
589 "vizConfig": {
590 "kind": "VizConfig",
591 "group": "stat",
592 "version": "13.0.1+security-01",
593 "spec": {
594 "options": {
595 "colorMode": "value",
596 "graphMode": "area",
597 "justifyMode": "auto",
598 "orientation": "auto",
599 "percentChangeColorMode": "standard",
600 "reduceOptions": {
601 "calcs": [
602 "sum"
603 ],
604 "fields": "",
605 "values": false
606 },
607 "showPercentChange": false,
608 "textMode": "auto",
609 "wideLayout": true
610 },
611 "fieldConfig": {
612 "defaults": {
613 "thresholds": {
614 "mode": "absolute",
615 "steps": [
616 {
617 "value": 0,
618 "color": "green"
619 },
620 {
621 "value": 80,
622 "color": "red"
623 }
624 ]
625 },
626 "color": {
627 "mode": "palette-classic"
628 }
629 },
630 "overrides": []
631 }
632 }
633 }
634 }
635 },
636 "panel-12": {
637 "kind": "Panel",
638 "spec": {
639 "id": 12,
640 "title": "vfs_fsync ops",
641 "description": "Метрика за каждую секунду: Каждый блок или строчка — это отчет за 1 секунду времени (так как в скрипте задан интервал interval:s:1).Имя функции (vfs_fsync_range): Ядро Linux обрабатывает запросы к файлу .ldb именно через системный вызов vfs_fsync_range. Это означает, что приложение не просто сохраняет весь файл целиком, а пытается очень часто и точечно сбрасывать из оперативной памяти на диск конкретные измененные участки (диапазоны байт).",
642 "links": [],
643 "data": {
644 "kind": "QueryGroup",
645 "spec": {
646 "queries": [
647 {
648 "kind": "PanelQuery",
649 "spec": {
650 "query": {
651 "kind": "DataQuery",
652 "group": "influxdb",
653 "version": "v0",
654 "spec": {
655 "alias": "machine_login",
656 "groupBy": [
657 {
658 "params": [
659 "$interval"
660 ],
661 "type": "time"
662 },
663 {
664 "params": [
665 "null"
666 ],
667 "type": "fill"
668 }
669 ],
670 "measurement": "samba_sync_ops",
671 "orderByTime": "ASC",
672 "policy": "default",
673 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
674 "rawQuery": false,
675 "resultFormat": "time_series",
676 "select": [
677 [
678 {
679 "params": [
680 "count"
681 ],
682 "type": "field"
683 },
684 {
685 "params": [],
686 "type": "sum"
687 }
688 ]
689 ],
690 "tags": []
691 },
692 "labels": {
693 "grafana.app/export-label": "influxdb-1"
694 }
695 },
696 "refId": "A",
697 "hidden": false
698 }
699 }
700 ],
701 "transformations": [],
702 "queryOptions": {}
703 }
704 },
705 "vizConfig": {
706 "kind": "VizConfig",
707 "group": "timeseries",
708 "version": "13.0.1+security-01",
709 "spec": {
710 "options": {
711 "annotations": {
712 "clustering": -1,
713 "multiLane": false
714 },
715 "legend": {
716 "calcs": [],
717 "displayMode": "list",
718 "placement": "bottom",
719 "showLegend": true
720 },
721 "tooltip": {
722 "hideZeros": false,
723 "mode": "single",
724 "sort": "none"
725 }
726 },
727 "fieldConfig": {
728 "defaults": {
729 "thresholds": {
730 "mode": "absolute",
731 "steps": [
732 {
733 "value": 0,
734 "color": "green"
735 },
736 {
737 "value": 80,
738 "color": "red"
739 }
740 ]
741 },
742 "color": {
743 "mode": "palette-classic"
744 },
745 "custom": {
746 "axisBorderShow": false,
747 "axisCenteredZero": false,
748 "axisColorMode": "text",
749 "axisLabel": "",
750 "axisPlacement": "auto",
751 "barAlignment": 0,
752 "barWidthFactor": 0.6,
753 "drawStyle": "line",
754 "fillOpacity": 10,
755 "gradientMode": "none",
756 "hideFrom": {
757 "legend": false,
758 "tooltip": false,
759 "viz": false
760 },
761 "insertNulls": false,
762 "lineInterpolation": "smooth",
763 "lineWidth": 1,
764 "pointSize": 5,
765 "scaleDistribution": {
766 "type": "linear"
767 },
768 "showPoints": "auto",
769 "showValues": false,
770 "spanNulls": false,
771 "stacking": {
772 "group": "A",
773 "mode": "none"
774 },
775 "thresholdsStyle": {
776 "mode": "off"
777 }
778 }
779 },
780 "overrides": []
781 }
782 }
783 }
784 }
785 },
786 "panel-13": {
787 "kind": "Panel",
788 "spec": {
789 "id": 13,
790 "title": "ldb ops process operation",
791 "description": "* Режим чистого чтения [ R ]: Метрика ldb_search_events растет (пользователи входят \n в сеть), а syscall_fsync_events держится около нуля. База в RAM работает идеально.\n* Режим записи [ W ] / [ CW ]: Метрика syscall_fsync_events начинает расти синхронно \n с действиями пользователей. Это означает, что изменения фиксируются на диск. \n Если график упирается в производительность ваших дисков, время ответа Samba \n будет увеличиваться (растут задержки аутентификации).\n\nO=Open (Открытие файла для записи/изменения)\n\nRO=Read Only (Открытие файла строго для чтения)\n\nR=Read (Чтение данных из файла)\n\nW=Write (Запись измененных данных в кэш памяти)\n\nCW=Commit/Close Write (Фиксация транзакции и принудительный сброс на диск)",
792 "links": [],
793 "data": {
794 "kind": "QueryGroup",
795 "spec": {
796 "queries": [
797 {
798 "kind": "PanelQuery",
799 "spec": {
800 "query": {
801 "kind": "DataQuery",
802 "group": "influxdb",
803 "version": "v0",
804 "spec": {
805 "groupBy": [
806 {
807 "params": [
808 "$interval"
809 ],
810 "type": "time"
811 },
812 {
813 "params": [
814 "prog::tag"
815 ],
816 "type": "tag"
817 },
818 {
819 "params": [
820 "action::tag"
821 ],
822 "type": "tag"
823 },
824 {
825 "params": [
826 "null"
827 ],
828 "type": "fill"
829 }
830 ],
831 "measurement": "samba_file_access",
832 "orderByTime": "ASC",
833 "policy": "default",
834 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
835 "rawQuery": false,
836 "resultFormat": "time_series",
837 "select": [
838 [
839 {
840 "params": [
841 "path"
842 ],
843 "type": "field"
844 },
845 {
846 "params": [],
847 "type": "count"
848 }
849 ]
850 ],
851 "tags": []
852 },
853 "labels": {
854 "grafana.app/export-label": "influxdb-1"
855 }
856 },
857 "refId": "A",
858 "hidden": false
859 }
860 }
861 ],
862 "transformations": [],
863 "queryOptions": {}
864 }
865 },
866 "vizConfig": {
867 "kind": "VizConfig",
868 "group": "timeseries",
869 "version": "13.0.1+security-01",
870 "spec": {
871 "options": {
872 "annotations": {
873 "clustering": -1,
874 "multiLane": false
875 },
876 "legend": {
877 "calcs": [],
878 "displayMode": "list",
879 "placement": "bottom",
880 "showLegend": true
881 },
882 "tooltip": {
883 "hideZeros": false,
884 "mode": "single",
885 "sort": "none"
886 }
887 },
888 "fieldConfig": {
889 "defaults": {
890 "thresholds": {
891 "mode": "absolute",
892 "steps": [
893 {
894 "value": 0,
895 "color": "green"
896 },
897 {
898 "value": 80,
899 "color": "red"
900 }
901 ]
902 },
903 "color": {
904 "mode": "palette-classic"
905 },
906 "custom": {
907 "axisBorderShow": false,
908 "axisCenteredZero": false,
909 "axisColorMode": "text",
910 "axisLabel": "",
911 "axisPlacement": "auto",
912 "barAlignment": 0,
913 "barWidthFactor": 0.6,
914 "drawStyle": "line",
915 "fillOpacity": 10,
916 "gradientMode": "none",
917 "hideFrom": {
918 "legend": false,
919 "tooltip": false,
920 "viz": false
921 },
922 "insertNulls": false,
923 "lineInterpolation": "smooth",
924 "lineWidth": 1,
925 "pointSize": 5,
926 "scaleDistribution": {
927 "type": "linear"
928 },
929 "showPoints": "auto",
930 "showValues": false,
931 "spanNulls": false,
932 "stacking": {
933 "group": "A",
934 "mode": "none"
935 },
936 "thresholdsStyle": {
937 "mode": "off"
938 }
939 }
940 },
941 "overrides": []
942 }
943 }
944 }
945 }
946 },
947 "panel-14": {
948 "kind": "Panel",
949 "spec": {
950 "id": 14,
951 "title": "vmstat",
952 "description": "si=Swap In, Объем данных в КБ/сек, считываемый из свопа обратно в ОЗУ. Высокое значение = жесткие тормоза.\nso=Swap Out, Объем данных в КБ/сек, сбрасываемый из ОЗУ в своп на диск из-за нехватки памяти.\n\nbi=Blocks In, Количество блоков, считанных с диска в КБ/сек. Показывает активность чтения.\nbo=Blocks Out, Количество блоков, записанных на диск в КБ/сек. Связано с операциями W, CW и fsync.\n\nin=Interrupts, Количество аппаратных прерываний в секунду, включая системные часы.\n\nid=Idle Time, Процент времени, когда CPU ничем не занят. Если около 0 — процессор загружен полностью.",
953 "links": [],
954 "data": {
955 "kind": "QueryGroup",
956 "spec": {
957 "queries": [
958 {
959 "kind": "PanelQuery",
960 "spec": {
961 "query": {
962 "kind": "DataQuery",
963 "group": "influxdb",
964 "version": "v0",
965 "spec": {
966 "alias": "si",
967 "groupBy": [
968 {
969 "params": [
970 "$interval"
971 ],
972 "type": "time"
973 },
974 {
975 "params": [
976 "null"
977 ],
978 "type": "fill"
979 }
980 ],
981 "measurement": "host_vmstat",
982 "orderByTime": "ASC",
983 "policy": "default",
984 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
985 "rawQuery": false,
986 "resultFormat": "time_series",
987 "select": [
988 [
989 {
990 "params": [
991 "si"
992 ],
993 "type": "field"
994 },
995 {
996 "params": [],
997 "type": "sum"
998 }
999 ]
1000 ],
1001 "tags": []
1002 },
1003 "labels": {
1004 "grafana.app/export-label": "influxdb-1"
1005 }
1006 },
1007 "refId": "A",
1008 "hidden": false
1009 }
1010 },
1011 {
1012 "kind": "PanelQuery",
1013 "spec": {
1014 "query": {
1015 "kind": "DataQuery",
1016 "group": "influxdb",
1017 "version": "v0",
1018 "spec": {
1019 "alias": "so",
1020 "groupBy": [
1021 {
1022 "params": [
1023 "$interval"
1024 ],
1025 "type": "time"
1026 },
1027 {
1028 "params": [
1029 "null"
1030 ],
1031 "type": "fill"
1032 }
1033 ],
1034 "measurement": "host_vmstat",
1035 "orderByTime": "ASC",
1036 "policy": "default",
1037 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
1038 "rawQuery": false,
1039 "resultFormat": "time_series",
1040 "select": [
1041 [
1042 {
1043 "params": [
1044 "so"
1045 ],
1046 "type": "field"
1047 },
1048 {
1049 "params": [],
1050 "type": "sum"
1051 }
1052 ]
1053 ],
1054 "tags": []
1055 },
1056 "labels": {
1057 "grafana.app/export-label": "influxdb-1"
1058 }
1059 },
1060 "refId": "E",
1061 "hidden": false
1062 }
1063 },
1064 {
1065 "kind": "PanelQuery",
1066 "spec": {
1067 "query": {
1068 "kind": "DataQuery",
1069 "group": "influxdb",
1070 "version": "v0",
1071 "spec": {
1072 "alias": "bi",
1073 "groupBy": [
1074 {
1075 "params": [
1076 "$interval"
1077 ],
1078 "type": "time"
1079 },
1080 {
1081 "params": [
1082 "null"
1083 ],
1084 "type": "fill"
1085 }
1086 ],
1087 "measurement": "host_vmstat",
1088 "orderByTime": "ASC",
1089 "policy": "default",
1090 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
1091 "rawQuery": false,
1092 "resultFormat": "time_series",
1093 "select": [
1094 [
1095 {
1096 "params": [
1097 "bi"
1098 ],
1099 "type": "field"
1100 },
1101 {
1102 "params": [],
1103 "type": "sum"
1104 }
1105 ]
1106 ],
1107 "tags": []
1108 },
1109 "labels": {
1110 "grafana.app/export-label": "influxdb-1"
1111 }
1112 },
1113 "refId": "B",
1114 "hidden": false
1115 }
1116 },
1117 {
1118 "kind": "PanelQuery",
1119 "spec": {
1120 "query": {
1121 "kind": "DataQuery",
1122 "group": "influxdb",
1123 "version": "v0",
1124 "spec": {
1125 "alias": "bo",
1126 "groupBy": [
1127 {
1128 "params": [
1129 "$interval"
1130 ],
1131 "type": "time"
1132 },
1133 {
1134 "params": [
1135 "null"
1136 ],
1137 "type": "fill"
1138 }
1139 ],
1140 "measurement": "host_vmstat",
1141 "orderByTime": "ASC",
1142 "policy": "default",
1143 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
1144 "rawQuery": false,
1145 "resultFormat": "time_series",
1146 "select": [
1147 [
1148 {
1149 "params": [
1150 "bo"
1151 ],
1152 "type": "field"
1153 },
1154 {
1155 "params": [],
1156 "type": "sum"
1157 }
1158 ]
1159 ],
1160 "tags": []
1161 },
1162 "labels": {
1163 "grafana.app/export-label": "influxdb-1"
1164 }
1165 },
1166 "refId": "F",
1167 "hidden": false
1168 }
1169 },
1170 {
1171 "kind": "PanelQuery",
1172 "spec": {
1173 "query": {
1174 "kind": "DataQuery",
1175 "group": "influxdb",
1176 "version": "v0",
1177 "spec": {
1178 "alias": "in",
1179 "groupBy": [
1180 {
1181 "params": [
1182 "$interval"
1183 ],
1184 "type": "time"
1185 },
1186 {
1187 "params": [
1188 "null"
1189 ],
1190 "type": "fill"
1191 }
1192 ],
1193 "measurement": "host_vmstat",
1194 "orderByTime": "ASC",
1195 "policy": "default",
1196 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
1197 "rawQuery": false,
1198 "resultFormat": "time_series",
1199 "select": [
1200 [
1201 {
1202 "params": [
1203 "intr"
1204 ],
1205 "type": "field"
1206 },
1207 {
1208 "params": [],
1209 "type": "sum"
1210 }
1211 ]
1212 ],
1213 "tags": []
1214 },
1215 "labels": {
1216 "grafana.app/export-label": "influxdb-1"
1217 }
1218 },
1219 "refId": "C",
1220 "hidden": false
1221 }
1222 },
1223 {
1224 "kind": "PanelQuery",
1225 "spec": {
1226 "query": {
1227 "kind": "DataQuery",
1228 "group": "influxdb",
1229 "version": "v0",
1230 "spec": {
1231 "alias": "id",
1232 "groupBy": [
1233 {
1234 "params": [
1235 "$interval"
1236 ],
1237 "type": "time"
1238 },
1239 {
1240 "params": [
1241 "null"
1242 ],
1243 "type": "fill"
1244 }
1245 ],
1246 "measurement": "host_vmstat",
1247 "orderByTime": "ASC",
1248 "policy": "default",
1249 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
1250 "rawQuery": false,
1251 "resultFormat": "time_series",
1252 "select": [
1253 [
1254 {
1255 "params": [
1256 "idle"
1257 ],
1258 "type": "field"
1259 },
1260 {
1261 "params": [],
1262 "type": "sum"
1263 }
1264 ]
1265 ],
1266 "tags": []
1267 },
1268 "labels": {
1269 "grafana.app/export-label": "influxdb-1"
1270 }
1271 },
1272 "refId": "D",
1273 "hidden": false
1274 }
1275 }
1276 ],
1277 "transformations": [],
1278 "queryOptions": {}
1279 }
1280 },
1281 "vizConfig": {
1282 "kind": "VizConfig",
1283 "group": "timeseries",
1284 "version": "13.0.1+security-01",
1285 "spec": {
1286 "options": {
1287 "annotations": {
1288 "clustering": -1,
1289 "multiLane": false
1290 },
1291 "legend": {
1292 "calcs": [],
1293 "displayMode": "list",
1294 "placement": "bottom",
1295 "showLegend": true
1296 },
1297 "tooltip": {
1298 "hideZeros": false,
1299 "mode": "single",
1300 "sort": "none"
1301 }
1302 },
1303 "fieldConfig": {
1304 "defaults": {
1305 "thresholds": {
1306 "mode": "absolute",
1307 "steps": [
1308 {
1309 "value": 0,
1310 "color": "green"
1311 },
1312 {
1313 "value": 80,
1314 "color": "red"
1315 }
1316 ]
1317 },
1318 "color": {
1319 "mode": "palette-classic"
1320 },
1321 "custom": {
1322 "axisBorderShow": false,
1323 "axisCenteredZero": false,
1324 "axisColorMode": "text",
1325 "axisLabel": "",
1326 "axisPlacement": "auto",
1327 "barAlignment": 0,
1328 "barWidthFactor": 0.6,
1329 "drawStyle": "line",
1330 "fillOpacity": 10,
1331 "gradientMode": "none",
1332 "hideFrom": {
1333 "legend": false,
1334 "tooltip": false,
1335 "viz": false
1336 },
1337 "insertNulls": false,
1338 "lineInterpolation": "smooth",
1339 "lineWidth": 1,
1340 "pointSize": 5,
1341 "scaleDistribution": {
1342 "type": "linear"
1343 },
1344 "showPoints": "auto",
1345 "showValues": false,
1346 "spanNulls": false,
1347 "stacking": {
1348 "group": "A",
1349 "mode": "none"
1350 },
1351 "thresholdsStyle": {
1352 "mode": "off"
1353 }
1354 }
1355 },
1356 "overrides": [
1357 {
1358 "__systemRef": "hideSeriesFrom",
1359 "matcher": {
1360 "id": "byNames",
1361 "options": {
1362 "mode": "exclude",
1363 "names": [
1364 "bo"
1365 ],
1366 "prefix": "All except:",
1367 "readOnly": true
1368 }
1369 },
1370 "properties": [
1371 {
1372 "id": "custom.hideFrom",
1373 "value": {
1374 "legend": false,
1375 "tooltip": true,
1376 "viz": true
1377 }
1378 }
1379 ]
1380 }
1381 ]
1382 }
1383 }
1384 }
1385 }
1386 },
1387 "panel-15": {
1388 "kind": "Panel",
1389 "spec": {
1390 "id": 15,
1391 "title": "pidstat",
1392 "description": "minflt/s = Скорость работы с ОЗУ. Сколько раз в секунду процесс запрашивал данные, \n которые ядро Linux успешно выдало из оперативной памяти (из кэша).\n Высокое значение — это норма при активных вычислениях или LDAP-запросах.\n\nmajflt/s = Скорость просадки на диск. Сколько раз в секунду процесс лез за данными \n на физический диск (или в SWAP), потому что их не оказалость в ОЗУ.\n В идеале должно быть равно 0. Если число растет — сервер сильно тормозит.\n\n%MEM = Процент ОЗУ. Доля оперативной памяти сервера, которую съел этот PID.",
1393 "links": [],
1394 "data": {
1395 "kind": "QueryGroup",
1396 "spec": {
1397 "queries": [
1398 {
1399 "kind": "PanelQuery",
1400 "spec": {
1401 "query": {
1402 "kind": "DataQuery",
1403 "group": "influxdb",
1404 "version": "v0",
1405 "spec": {
1406 "alias": "minfit",
1407 "groupBy": [
1408 {
1409 "params": [
1410 "$interval"
1411 ],
1412 "type": "time"
1413 },
1414 {
1415 "params": [
1416 "comm::tag"
1417 ],
1418 "type": "tag"
1419 },
1420 {
1421 "params": [
1422 "null"
1423 ],
1424 "type": "fill"
1425 }
1426 ],
1427 "measurement": "samba_pidstat",
1428 "orderByTime": "ASC",
1429 "policy": "default",
1430 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
1431 "rawQuery": false,
1432 "resultFormat": "time_series",
1433 "select": [
1434 [
1435 {
1436 "params": [
1437 "minflt"
1438 ],
1439 "type": "field"
1440 },
1441 {
1442 "params": [],
1443 "type": "mean"
1444 }
1445 ]
1446 ],
1447 "tags": []
1448 },
1449 "labels": {
1450 "grafana.app/export-label": "influxdb-1"
1451 }
1452 },
1453 "refId": "A",
1454 "hidden": false
1455 }
1456 },
1457 {
1458 "kind": "PanelQuery",
1459 "spec": {
1460 "query": {
1461 "kind": "DataQuery",
1462 "group": "influxdb",
1463 "version": "v0",
1464 "spec": {
1465 "alias": "majfit",
1466 "groupBy": [
1467 {
1468 "params": [
1469 "$interval"
1470 ],
1471 "type": "time"
1472 },
1473 {
1474 "params": [
1475 "comm::tag"
1476 ],
1477 "type": "tag"
1478 },
1479 {
1480 "params": [
1481 "null"
1482 ],
1483 "type": "fill"
1484 }
1485 ],
1486 "measurement": "samba_pidstat",
1487 "orderByTime": "ASC",
1488 "policy": "default",
1489 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
1490 "rawQuery": false,
1491 "resultFormat": "time_series",
1492 "select": [
1493 [
1494 {
1495 "params": [
1496 "majflt"
1497 ],
1498 "type": "field"
1499 },
1500 {
1501 "params": [],
1502 "type": "median"
1503 }
1504 ]
1505 ],
1506 "tags": []
1507 },
1508 "labels": {
1509 "grafana.app/export-label": "influxdb-1"
1510 }
1511 },
1512 "refId": "B",
1513 "hidden": false
1514 }
1515 }
1516 ],
1517 "transformations": [],
1518 "queryOptions": {}
1519 }
1520 },
1521 "vizConfig": {
1522 "kind": "VizConfig",
1523 "group": "timeseries",
1524 "version": "13.0.1+security-01",
1525 "spec": {
1526 "options": {
1527 "annotations": {
1528 "clustering": -1,
1529 "multiLane": false
1530 },
1531 "legend": {
1532 "calcs": [],
1533 "displayMode": "list",
1534 "placement": "bottom",
1535 "showLegend": true
1536 },
1537 "tooltip": {
1538 "hideZeros": false,
1539 "mode": "single",
1540 "sort": "none"
1541 }
1542 },
1543 "fieldConfig": {
1544 "defaults": {
1545 "thresholds": {
1546 "mode": "absolute",
1547 "steps": [
1548 {
1549 "value": 0,
1550 "color": "green"
1551 },
1552 {
1553 "value": 80,
1554 "color": "red"
1555 }
1556 ]
1557 },
1558 "color": {
1559 "mode": "palette-classic"
1560 },
1561 "custom": {
1562 "axisBorderShow": false,
1563 "axisCenteredZero": false,
1564 "axisColorMode": "text",
1565 "axisLabel": "",
1566 "axisPlacement": "auto",
1567 "barAlignment": 0,
1568 "barWidthFactor": 0.6,
1569 "drawStyle": "line",
1570 "fillOpacity": 10,
1571 "gradientMode": "none",
1572 "hideFrom": {
1573 "legend": false,
1574 "tooltip": false,
1575 "viz": false
1576 },
1577 "insertNulls": false,
1578 "lineInterpolation": "smooth",
1579 "lineWidth": 1,
1580 "pointSize": 5,
1581 "scaleDistribution": {
1582 "type": "linear"
1583 },
1584 "showPoints": "auto",
1585 "showValues": false,
1586 "spanNulls": false,
1587 "stacking": {
1588 "group": "A",
1589 "mode": "none"
1590 },
1591 "thresholdsStyle": {
1592 "mode": "off"
1593 }
1594 }
1595 },
1596 "overrides": [
1597 {
1598 "__systemRef": "hideSeriesFrom",
1599 "matcher": {
1600 "id": "byNames",
1601 "options": {
1602 "mode": "exclude",
1603 "names": [
1604 "MEM"
1605 ],
1606 "prefix": "All except:",
1607 "readOnly": true
1608 }
1609 },
1610 "properties": [
1611 {
1612 "id": "custom.hideFrom",
1613 "value": {
1614 "legend": false,
1615 "tooltip": true,
1616 "viz": true
1617 }
1618 }
1619 ]
1620 }
1621 ]
1622 }
1623 }
1624 }
1625 }
1626 },
1627 "panel-16": {
1628 "kind": "Panel",
1629 "spec": {
1630 "id": 16,
1631 "title": "ldb ops operation",
1632 "description": "* Режим чистого чтения [ R ]: Метрика ldb_search_events растет (пользователи входят \n в сеть), а syscall_fsync_events держится около нуля. База в RAM работает идеально.\n* Режим записи [ W ] / [ CW ]: Метрика syscall_fsync_events начинает расти синхронно \n с действиями пользователей. Это означает, что изменения фиксируются на диск. \n Если график упирается в производительность ваших дисков, время ответа Samba \n будет увеличиваться (растут задержки аутентификации).\n\nO=Open (Открытие файла для записи/изменения)\n\nRO=Read Only (Открытие файла строго для чтения)\n\nR=Read (Чтение данных из файла)\n\nW=Write (Запись измененных данных в кэш памяти)\n\nCW=Commit/Close Write (Фиксация транзакции и принудительный сброс на диск)",
1633 "links": [],
1634 "data": {
1635 "kind": "QueryGroup",
1636 "spec": {
1637 "queries": [
1638 {
1639 "kind": "PanelQuery",
1640 "spec": {
1641 "query": {
1642 "kind": "DataQuery",
1643 "group": "influxdb",
1644 "version": "v0",
1645 "spec": {
1646 "groupBy": [
1647 {
1648 "params": [
1649 "$interval"
1650 ],
1651 "type": "time"
1652 },
1653 {
1654 "params": [
1655 "action::tag"
1656 ],
1657 "type": "tag"
1658 },
1659 {
1660 "params": [
1661 "null"
1662 ],
1663 "type": "fill"
1664 }
1665 ],
1666 "measurement": "samba_file_access",
1667 "orderByTime": "ASC",
1668 "policy": "default",
1669 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
1670 "rawQuery": false,
1671 "resultFormat": "time_series",
1672 "select": [
1673 [
1674 {
1675 "params": [
1676 "path"
1677 ],
1678 "type": "field"
1679 },
1680 {
1681 "params": [],
1682 "type": "count"
1683 }
1684 ]
1685 ],
1686 "tags": []
1687 },
1688 "labels": {
1689 "grafana.app/export-label": "influxdb-1"
1690 }
1691 },
1692 "refId": "A",
1693 "hidden": false
1694 }
1695 }
1696 ],
1697 "transformations": [],
1698 "queryOptions": {}
1699 }
1700 },
1701 "vizConfig": {
1702 "kind": "VizConfig",
1703 "group": "timeseries",
1704 "version": "13.0.1+security-01",
1705 "spec": {
1706 "options": {
1707 "annotations": {
1708 "clustering": -1,
1709 "multiLane": false
1710 },
1711 "legend": {
1712 "calcs": [],
1713 "displayMode": "list",
1714 "placement": "bottom",
1715 "showLegend": true
1716 },
1717 "tooltip": {
1718 "hideZeros": false,
1719 "mode": "single",
1720 "sort": "none"
1721 }
1722 },
1723 "fieldConfig": {
1724 "defaults": {
1725 "thresholds": {
1726 "mode": "absolute",
1727 "steps": [
1728 {
1729 "value": 0,
1730 "color": "green"
1731 },
1732 {
1733 "value": 80,
1734 "color": "red"
1735 }
1736 ]
1737 },
1738 "color": {
1739 "mode": "palette-classic"
1740 },
1741 "custom": {
1742 "axisBorderShow": false,
1743 "axisCenteredZero": false,
1744 "axisColorMode": "text",
1745 "axisLabel": "",
1746 "axisPlacement": "auto",
1747 "barAlignment": 0,
1748 "barWidthFactor": 0.6,
1749 "drawStyle": "line",
1750 "fillOpacity": 0,
1751 "gradientMode": "none",
1752 "hideFrom": {
1753 "legend": false,
1754 "tooltip": false,
1755 "viz": false
1756 },
1757 "insertNulls": false,
1758 "lineInterpolation": "linear",
1759 "lineWidth": 1,
1760 "pointSize": 5,
1761 "scaleDistribution": {
1762 "type": "linear"
1763 },
1764 "showPoints": "auto",
1765 "showValues": false,
1766 "spanNulls": false,
1767 "stacking": {
1768 "group": "A",
1769 "mode": "none"
1770 },
1771 "thresholdsStyle": {
1772 "mode": "off"
1773 }
1774 }
1775 },
1776 "overrides": []
1777 }
1778 }
1779 }
1780 }
1781 },
1782 "panel-17": {
1783 "kind": "Panel",
1784 "spec": {
1785 "id": 17,
1786 "title": "Iostat await",
1787 "description": "",
1788 "links": [],
1789 "data": {
1790 "kind": "QueryGroup",
1791 "spec": {
1792 "queries": [
1793 {
1794 "kind": "PanelQuery",
1795 "spec": {
1796 "query": {
1797 "kind": "DataQuery",
1798 "group": "influxdb",
1799 "version": "v0",
1800 "spec": {
1801 "alias": "$tag_device f_await",
1802 "groupBy": [
1803 {
1804 "params": [
1805 "$interval"
1806 ],
1807 "type": "time"
1808 },
1809 {
1810 "params": [
1811 "device::tag"
1812 ],
1813 "type": "tag"
1814 },
1815 {
1816 "params": [
1817 "null"
1818 ],
1819 "type": "fill"
1820 }
1821 ],
1822 "measurement": "host_iostat",
1823 "orderByTime": "ASC",
1824 "policy": "default",
1825 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
1826 "rawQuery": false,
1827 "resultFormat": "time_series",
1828 "select": [
1829 [
1830 {
1831 "params": [
1832 "f_await"
1833 ],
1834 "type": "field"
1835 },
1836 {
1837 "params": [],
1838 "type": "mean"
1839 }
1840 ]
1841 ],
1842 "tags": []
1843 },
1844 "labels": {
1845 "grafana.app/export-label": "influxdb-1"
1846 }
1847 },
1848 "refId": "A",
1849 "hidden": false
1850 }
1851 },
1852 {
1853 "kind": "PanelQuery",
1854 "spec": {
1855 "query": {
1856 "kind": "DataQuery",
1857 "group": "influxdb",
1858 "version": "v0",
1859 "spec": {
1860 "alias": "$tag_device r_await",
1861 "groupBy": [
1862 {
1863 "params": [
1864 "$interval"
1865 ],
1866 "type": "time"
1867 },
1868 {
1869 "params": [
1870 "device::tag"
1871 ],
1872 "type": "tag"
1873 },
1874 {
1875 "params": [
1876 "null"
1877 ],
1878 "type": "fill"
1879 }
1880 ],
1881 "measurement": "host_iostat",
1882 "orderByTime": "ASC",
1883 "policy": "default",
1884 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
1885 "rawQuery": false,
1886 "resultFormat": "time_series",
1887 "select": [
1888 [
1889 {
1890 "params": [
1891 "r_await"
1892 ],
1893 "type": "field"
1894 },
1895 {
1896 "params": [],
1897 "type": "mean"
1898 }
1899 ]
1900 ],
1901 "tags": []
1902 },
1903 "labels": {
1904 "grafana.app/export-label": "influxdb-1"
1905 }
1906 },
1907 "refId": "B",
1908 "hidden": false
1909 }
1910 },
1911 {
1912 "kind": "PanelQuery",
1913 "spec": {
1914 "query": {
1915 "kind": "DataQuery",
1916 "group": "influxdb",
1917 "version": "v0",
1918 "spec": {
1919 "alias": "$tag_device w_await",
1920 "groupBy": [
1921 {
1922 "params": [
1923 "$interval"
1924 ],
1925 "type": "time"
1926 },
1927 {
1928 "params": [
1929 "device::tag"
1930 ],
1931 "type": "tag"
1932 },
1933 {
1934 "params": [
1935 "null"
1936 ],
1937 "type": "fill"
1938 }
1939 ],
1940 "measurement": "host_iostat",
1941 "orderByTime": "ASC",
1942 "policy": "default",
1943 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
1944 "rawQuery": false,
1945 "resultFormat": "time_series",
1946 "select": [
1947 [
1948 {
1949 "params": [
1950 "w_await"
1951 ],
1952 "type": "field"
1953 },
1954 {
1955 "params": [],
1956 "type": "mean"
1957 }
1958 ]
1959 ],
1960 "tags": []
1961 },
1962 "labels": {
1963 "grafana.app/export-label": "influxdb-1"
1964 }
1965 },
1966 "refId": "C",
1967 "hidden": false
1968 }
1969 }
1970 ],
1971 "transformations": [],
1972 "queryOptions": {}
1973 }
1974 },
1975 "vizConfig": {
1976 "kind": "VizConfig",
1977 "group": "timeseries",
1978 "version": "13.0.1+security-01",
1979 "spec": {
1980 "options": {
1981 "annotations": {
1982 "clustering": -1,
1983 "multiLane": false
1984 },
1985 "legend": {
1986 "calcs": [],
1987 "displayMode": "list",
1988 "placement": "bottom",
1989 "showLegend": true
1990 },
1991 "tooltip": {
1992 "hideZeros": false,
1993 "mode": "single",
1994 "sort": "none"
1995 }
1996 },
1997 "fieldConfig": {
1998 "defaults": {
1999 "thresholds": {
2000 "mode": "absolute",
2001 "steps": [
2002 {
2003 "value": 0,
2004 "color": "green"
2005 },
2006 {
2007 "value": 80,
2008 "color": "red"
2009 }
2010 ]
2011 },
2012 "color": {
2013 "mode": "palette-classic"
2014 },
2015 "custom": {
2016 "axisBorderShow": false,
2017 "axisCenteredZero": false,
2018 "axisColorMode": "text",
2019 "axisLabel": "",
2020 "axisPlacement": "auto",
2021 "barAlignment": 0,
2022 "barWidthFactor": 0.6,
2023 "drawStyle": "line",
2024 "fillOpacity": 0,
2025 "gradientMode": "none",
2026 "hideFrom": {
2027 "legend": false,
2028 "tooltip": false,
2029 "viz": false
2030 },
2031 "insertNulls": false,
2032 "lineInterpolation": "linear",
2033 "lineWidth": 1,
2034 "pointSize": 5,
2035 "scaleDistribution": {
2036 "type": "linear"
2037 },
2038 "showPoints": "auto",
2039 "showValues": false,
2040 "spanNulls": false,
2041 "stacking": {
2042 "group": "A",
2043 "mode": "none"
2044 },
2045 "thresholdsStyle": {
2046 "mode": "off"
2047 }
2048 }
2049 },
2050 "overrides": []
2051 }
2052 }
2053 }
2054 }
2055 },
2056 "panel-18": {
2057 "kind": "Panel",
2058 "spec": {
2059 "id": 18,
2060 "title": "pidstat mem",
2061 "description": "minflt/s = Скорость работы с ОЗУ. Сколько раз в секунду процесс запрашивал данные, \n которые ядро Linux успешно выдало из оперативной памяти (из кэша).\n Высокое значение — это норма при активных вычислениях или LDAP-запросах.\n\nmajflt/s = Скорость просадки на диск. Сколько раз в секунду процесс лез за данными \n на физический диск (или в SWAP), потому что их не оказалость в ОЗУ.\n В идеале должно быть равно 0. Если число растет — сервер сильно тормозит.\n\n%MEM = Процент ОЗУ. Доля оперативной памяти сервера, которую съел этот PID.",
2062 "links": [],
2063 "data": {
2064 "kind": "QueryGroup",
2065 "spec": {
2066 "queries": [
2067 {
2068 "kind": "PanelQuery",
2069 "spec": {
2070 "query": {
2071 "kind": "DataQuery",
2072 "group": "influxdb",
2073 "version": "v0",
2074 "spec": {
2075 "alias": "MEM",
2076 "groupBy": [
2077 {
2078 "params": [
2079 "$interval"
2080 ],
2081 "type": "time"
2082 },
2083 {
2084 "params": [
2085 "comm::tag"
2086 ],
2087 "type": "tag"
2088 },
2089 {
2090 "params": [
2091 "null"
2092 ],
2093 "type": "fill"
2094 }
2095 ],
2096 "measurement": "samba_pidstat",
2097 "orderByTime": "ASC",
2098 "policy": "default",
2099 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
2100 "rawQuery": false,
2101 "resultFormat": "time_series",
2102 "select": [
2103 [
2104 {
2105 "params": [
2106 "mem"
2107 ],
2108 "type": "field"
2109 },
2110 {
2111 "params": [],
2112 "type": "median"
2113 }
2114 ]
2115 ],
2116 "tags": []
2117 },
2118 "labels": {
2119 "grafana.app/export-label": "influxdb-1"
2120 }
2121 },
2122 "refId": "C",
2123 "hidden": false
2124 }
2125 }
2126 ],
2127 "transformations": [],
2128 "queryOptions": {}
2129 }
2130 },
2131 "vizConfig": {
2132 "kind": "VizConfig",
2133 "group": "timeseries",
2134 "version": "13.0.1+security-01",
2135 "spec": {
2136 "options": {
2137 "annotations": {
2138 "clustering": -1,
2139 "multiLane": false
2140 },
2141 "legend": {
2142 "calcs": [],
2143 "displayMode": "list",
2144 "placement": "bottom",
2145 "showLegend": true
2146 },
2147 "tooltip": {
2148 "hideZeros": false,
2149 "mode": "single",
2150 "sort": "none"
2151 }
2152 },
2153 "fieldConfig": {
2154 "defaults": {
2155 "thresholds": {
2156 "mode": "absolute",
2157 "steps": [
2158 {
2159 "value": 0,
2160 "color": "green"
2161 },
2162 {
2163 "value": 80,
2164 "color": "red"
2165 }
2166 ]
2167 },
2168 "color": {
2169 "mode": "palette-classic"
2170 },
2171 "custom": {
2172 "axisBorderShow": false,
2173 "axisCenteredZero": false,
2174 "axisColorMode": "text",
2175 "axisLabel": "",
2176 "axisPlacement": "auto",
2177 "barAlignment": 0,
2178 "barWidthFactor": 0.6,
2179 "drawStyle": "line",
2180 "fillOpacity": 10,
2181 "gradientMode": "none",
2182 "hideFrom": {
2183 "legend": false,
2184 "tooltip": false,
2185 "viz": false
2186 },
2187 "insertNulls": false,
2188 "lineInterpolation": "smooth",
2189 "lineWidth": 1,
2190 "pointSize": 5,
2191 "scaleDistribution": {
2192 "type": "linear"
2193 },
2194 "showPoints": "auto",
2195 "showValues": false,
2196 "spanNulls": false,
2197 "stacking": {
2198 "group": "A",
2199 "mode": "none"
2200 },
2201 "thresholdsStyle": {
2202 "mode": "off"
2203 }
2204 }
2205 },
2206 "overrides": [
2207 {
2208 "__systemRef": "hideSeriesFrom",
2209 "matcher": {
2210 "id": "byNames",
2211 "options": {
2212 "mode": "exclude",
2213 "names": [
2214 "MEM"
2215 ],
2216 "prefix": "All except:",
2217 "readOnly": true
2218 }
2219 },
2220 "properties": [
2221 {
2222 "id": "custom.hideFrom",
2223 "value": {
2224 "legend": false,
2225 "tooltip": true,
2226 "viz": true
2227 }
2228 }
2229 ]
2230 }
2231 ]
2232 }
2233 }
2234 }
2235 }
2236 },
2237 "panel-19": {
2238 "kind": "Panel",
2239 "spec": {
2240 "id": 19,
2241 "title": "RSS",
2242 "description": "minflt/s = Скорость работы с ОЗУ. Сколько раз в секунду процесс запрашивал данные, \n которые ядро Linux успешно выдало из оперативной памяти (из кэша).\n Высокое значение — это норма при активных вычислениях или LDAP-запросах.\n\nmajflt/s = Скорость просадки на диск. Сколько раз в секунду процесс лез за данными \n на физический диск (или в SWAP), потому что их не оказалость в ОЗУ.\n В идеале должно быть равно 0. Если число растет — сервер сильно тормозит.\n\n%MEM = Процент ОЗУ. Доля оперативной памяти сервера, которую съел этот PID.",
2243 "links": [],
2244 "data": {
2245 "kind": "QueryGroup",
2246 "spec": {
2247 "queries": [
2248 {
2249 "kind": "PanelQuery",
2250 "spec": {
2251 "query": {
2252 "kind": "DataQuery",
2253 "group": "influxdb",
2254 "version": "v0",
2255 "spec": {
2256 "alias": "RSS",
2257 "groupBy": [
2258 {
2259 "params": [
2260 "$interval"
2261 ],
2262 "type": "time"
2263 },
2264 {
2265 "params": [
2266 "comm::tag"
2267 ],
2268 "type": "tag"
2269 },
2270 {
2271 "params": [
2272 "null"
2273 ],
2274 "type": "fill"
2275 }
2276 ],
2277 "measurement": "samba_pidstat",
2278 "orderByTime": "ASC",
2279 "policy": "default",
2280 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
2281 "rawQuery": false,
2282 "resultFormat": "time_series",
2283 "select": [
2284 [
2285 {
2286 "params": [
2287 "rss"
2288 ],
2289 "type": "field"
2290 },
2291 {
2292 "params": [],
2293 "type": "median"
2294 }
2295 ]
2296 ],
2297 "tags": []
2298 },
2299 "labels": {
2300 "grafana.app/export-label": "influxdb-1"
2301 }
2302 },
2303 "refId": "C",
2304 "hidden": false
2305 }
2306 }
2307 ],
2308 "transformations": [],
2309 "queryOptions": {}
2310 }
2311 },
2312 "vizConfig": {
2313 "kind": "VizConfig",
2314 "group": "timeseries",
2315 "version": "13.0.1+security-01",
2316 "spec": {
2317 "options": {
2318 "annotations": {
2319 "clustering": -1,
2320 "multiLane": false
2321 },
2322 "legend": {
2323 "calcs": [],
2324 "displayMode": "list",
2325 "placement": "bottom",
2326 "showLegend": true
2327 },
2328 "tooltip": {
2329 "hideZeros": false,
2330 "mode": "single",
2331 "sort": "none"
2332 }
2333 },
2334 "fieldConfig": {
2335 "defaults": {
2336 "thresholds": {
2337 "mode": "absolute",
2338 "steps": [
2339 {
2340 "value": 0,
2341 "color": "green"
2342 },
2343 {
2344 "value": 80,
2345 "color": "red"
2346 }
2347 ]
2348 },
2349 "color": {
2350 "mode": "palette-classic"
2351 },
2352 "custom": {
2353 "axisBorderShow": false,
2354 "axisCenteredZero": false,
2355 "axisColorMode": "text",
2356 "axisLabel": "",
2357 "axisPlacement": "auto",
2358 "barAlignment": 0,
2359 "barWidthFactor": 0.6,
2360 "drawStyle": "line",
2361 "fillOpacity": 10,
2362 "gradientMode": "none",
2363 "hideFrom": {
2364 "legend": false,
2365 "tooltip": false,
2366 "viz": false
2367 },
2368 "insertNulls": false,
2369 "lineInterpolation": "smooth",
2370 "lineWidth": 1,
2371 "pointSize": 5,
2372 "scaleDistribution": {
2373 "type": "linear"
2374 },
2375 "showPoints": "auto",
2376 "showValues": false,
2377 "spanNulls": false,
2378 "stacking": {
2379 "group": "A",
2380 "mode": "none"
2381 },
2382 "thresholdsStyle": {
2383 "mode": "off"
2384 }
2385 }
2386 },
2387 "overrides": []
2388 }
2389 }
2390 }
2391 }
2392 },
2393 "panel-2": {
2394 "kind": "Panel",
2395 "spec": {
2396 "id": 2,
2397 "title": "DSDB: изменения по операциям",
2398 "description": "Число изменений объектов каталога (samba_dsdb), разбивка по типу операции.",
2399 "links": [],
2400 "data": {
2401 "kind": "QueryGroup",
2402 "spec": {
2403 "queries": [
2404 {
2405 "kind": "PanelQuery",
2406 "spec": {
2407 "query": {
2408 "kind": "DataQuery",
2409 "group": "influxdb",
2410 "version": "v0",
2411 "spec": {
2412 "groupBy": [],
2413 "measurement": "samba_dsdb",
2414 "orderByTime": "ASC",
2415 "policy": "default",
2416 "query": "SELECT count(\"status_code\") FROM \"samba_dsdb\" WHERE $timeFilter GROUP BY time($interval), \"operation\"::tag fill(null)",
2417 "rawQuery": true,
2418 "resultFormat": "time_series",
2419 "select": [],
2420 "tags": []
2421 },
2422 "labels": {
2423 "grafana.app/export-label": "influxdb-1"
2424 }
2425 },
2426 "refId": "A",
2427 "hidden": false
2428 }
2429 }
2430 ],
2431 "transformations": [],
2432 "queryOptions": {}
2433 }
2434 },
2435 "vizConfig": {
2436 "kind": "VizConfig",
2437 "group": "timeseries",
2438 "version": "13.0.1+security-01",
2439 "spec": {
2440 "options": {
2441 "annotations": {
2442 "clustering": -1,
2443 "multiLane": false
2444 },
2445 "legend": {
2446 "calcs": [],
2447 "displayMode": "list",
2448 "placement": "bottom",
2449 "showLegend": true
2450 },
2451 "tooltip": {
2452 "hideZeros": false,
2453 "mode": "multi",
2454 "sort": "desc"
2455 }
2456 },
2457 "fieldConfig": {
2458 "defaults": {
2459 "thresholds": {
2460 "mode": "absolute",
2461 "steps": [
2462 {
2463 "value": 0,
2464 "color": "green"
2465 },
2466 {
2467 "value": 80,
2468 "color": "red"
2469 }
2470 ]
2471 },
2472 "color": {
2473 "mode": "palette-classic"
2474 },
2475 "custom": {
2476 "axisBorderShow": false,
2477 "axisCenteredZero": false,
2478 "axisColorMode": "text",
2479 "axisLabel": "",
2480 "axisPlacement": "auto",
2481 "barAlignment": 0,
2482 "barWidthFactor": 0.6,
2483 "drawStyle": "bars",
2484 "fillOpacity": 50,
2485 "gradientMode": "none",
2486 "hideFrom": {
2487 "legend": false,
2488 "tooltip": false,
2489 "viz": false
2490 },
2491 "insertNulls": false,
2492 "lineInterpolation": "linear",
2493 "lineWidth": 1,
2494 "pointSize": 5,
2495 "scaleDistribution": {
2496 "type": "linear"
2497 },
2498 "showPoints": "auto",
2499 "showValues": false,
2500 "spanNulls": false,
2501 "stacking": {
2502 "group": "A",
2503 "mode": "normal"
2504 },
2505 "thresholdsStyle": {
2506 "mode": "off"
2507 }
2508 }
2509 },
2510 "overrides": []
2511 }
2512 }
2513 }
2514 }
2515 },
2516 "panel-20": {
2517 "kind": "Panel",
2518 "spec": {
2519 "id": 20,
2520 "title": "ldb ops",
2521 "description": "* Режим чистого чтения [ R ]: Метрика ldb_search_events растет (пользователи входят \n в сеть), а syscall_fsync_events держится около нуля. База в RAM работает идеально.\n* Режим записи [ W ] / [ CW ]: Метрика syscall_fsync_events начинает расти синхронно \n с действиями пользователей. Это означает, что изменения фиксируются на диск. \n Если график упирается в производительность ваших дисков, время ответа Samba \n будет увеличиваться (растут задержки аутентификации).\n\nO=Open (Открытие файла для записи/изменения)\n\nRO=Read Only (Открытие файла строго для чтения)\n\nR=Read (Чтение данных из файла)\n\nW=Write (Запись измененных данных в кэш памяти)\n\nCW=Commit/Close Write (Фиксация транзакции и принудительный сброс на диск)",
2522 "links": [],
2523 "data": {
2524 "kind": "QueryGroup",
2525 "spec": {
2526 "queries": [
2527 {
2528 "kind": "PanelQuery",
2529 "spec": {
2530 "query": {
2531 "kind": "DataQuery",
2532 "group": "influxdb",
2533 "version": "v0",
2534 "spec": {
2535 "groupBy": [
2536 {
2537 "params": [
2538 "$interval"
2539 ],
2540 "type": "time"
2541 },
2542 {
2543 "params": [
2544 "null"
2545 ],
2546 "type": "fill"
2547 }
2548 ],
2549 "measurement": "samba_file_access",
2550 "orderByTime": "ASC",
2551 "policy": "default",
2552 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
2553 "rawQuery": false,
2554 "resultFormat": "time_series",
2555 "select": [
2556 [
2557 {
2558 "params": [
2559 "path"
2560 ],
2561 "type": "field"
2562 },
2563 {
2564 "params": [],
2565 "type": "count"
2566 }
2567 ]
2568 ],
2569 "tags": []
2570 },
2571 "labels": {
2572 "grafana.app/export-label": "influxdb-1"
2573 }
2574 },
2575 "refId": "A",
2576 "hidden": false
2577 }
2578 }
2579 ],
2580 "transformations": [],
2581 "queryOptions": {}
2582 }
2583 },
2584 "vizConfig": {
2585 "kind": "VizConfig",
2586 "group": "timeseries",
2587 "version": "13.0.1+security-01",
2588 "spec": {
2589 "options": {
2590 "annotations": {
2591 "clustering": -1,
2592 "multiLane": false
2593 },
2594 "legend": {
2595 "calcs": [],
2596 "displayMode": "list",
2597 "placement": "bottom",
2598 "showLegend": true
2599 },
2600 "tooltip": {
2601 "hideZeros": false,
2602 "mode": "single",
2603 "sort": "none"
2604 }
2605 },
2606 "fieldConfig": {
2607 "defaults": {
2608 "thresholds": {
2609 "mode": "absolute",
2610 "steps": [
2611 {
2612 "value": 0,
2613 "color": "green"
2614 },
2615 {
2616 "value": 80,
2617 "color": "red"
2618 }
2619 ]
2620 },
2621 "color": {
2622 "mode": "palette-classic"
2623 },
2624 "custom": {
2625 "axisBorderShow": false,
2626 "axisCenteredZero": false,
2627 "axisColorMode": "text",
2628 "axisLabel": "",
2629 "axisPlacement": "auto",
2630 "barAlignment": 0,
2631 "barWidthFactor": 0.6,
2632 "drawStyle": "line",
2633 "fillOpacity": 10,
2634 "gradientMode": "none",
2635 "hideFrom": {
2636 "legend": false,
2637 "tooltip": false,
2638 "viz": false
2639 },
2640 "insertNulls": false,
2641 "lineInterpolation": "smooth",
2642 "lineWidth": 1,
2643 "pointSize": 5,
2644 "scaleDistribution": {
2645 "type": "linear"
2646 },
2647 "showPoints": "auto",
2648 "showValues": false,
2649 "spanNulls": false,
2650 "stacking": {
2651 "group": "A",
2652 "mode": "none"
2653 },
2654 "thresholdsStyle": {
2655 "mode": "off"
2656 }
2657 }
2658 },
2659 "overrides": []
2660 }
2661 }
2662 }
2663 }
2664 },
2665 "panel-21": {
2666 "kind": "Panel",
2667 "spec": {
2668 "id": 21,
2669 "title": "ldb ops summ",
2670 "description": "* Режим чистого чтения [ R ]: Метрика ldb_search_events растет (пользователи входят \n в сеть), а syscall_fsync_events держится около нуля. База в RAM работает идеально.\n* Режим записи [ W ] / [ CW ]: Метрика syscall_fsync_events начинает расти синхронно \n с действиями пользователей. Это означает, что изменения фиксируются на диск. \n Если график упирается в производительность ваших дисков, время ответа Samba \n будет увеличиваться (растут задержки аутентификации).\n\nO=Open (Открытие файла для записи/изменения)\n\nRO=Read Only (Открытие файла строго для чтения)\n\nR=Read (Чтение данных из файла)\n\nW=Write (Запись измененных данных в кэш памяти)\n\nCW=Commit/Close Write (Фиксация транзакции и принудительный сброс на диск)",
2671 "links": [],
2672 "data": {
2673 "kind": "QueryGroup",
2674 "spec": {
2675 "queries": [
2676 {
2677 "kind": "PanelQuery",
2678 "spec": {
2679 "query": {
2680 "kind": "DataQuery",
2681 "group": "influxdb",
2682 "version": "v0",
2683 "spec": {
2684 "groupBy": [
2685 {
2686 "params": [
2687 "$interval"
2688 ],
2689 "type": "time"
2690 },
2691 {
2692 "params": [
2693 "null"
2694 ],
2695 "type": "fill"
2696 }
2697 ],
2698 "measurement": "samba_file_access",
2699 "orderByTime": "ASC",
2700 "policy": "default",
2701 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
2702 "rawQuery": false,
2703 "resultFormat": "time_series",
2704 "select": [
2705 [
2706 {
2707 "params": [
2708 "path"
2709 ],
2710 "type": "field"
2711 },
2712 {
2713 "params": [],
2714 "type": "count"
2715 },
2716 {
2717 "params": [],
2718 "type": "cumulative_sum"
2719 }
2720 ]
2721 ],
2722 "tags": []
2723 },
2724 "labels": {
2725 "grafana.app/export-label": "influxdb-1"
2726 }
2727 },
2728 "refId": "A",
2729 "hidden": false
2730 }
2731 }
2732 ],
2733 "transformations": [],
2734 "queryOptions": {}
2735 }
2736 },
2737 "vizConfig": {
2738 "kind": "VizConfig",
2739 "group": "stat",
2740 "version": "13.0.1+security-01",
2741 "spec": {
2742 "options": {
2743 "colorMode": "value",
2744 "graphMode": "area",
2745 "justifyMode": "auto",
2746 "orientation": "auto",
2747 "percentChangeColorMode": "standard",
2748 "reduceOptions": {
2749 "calcs": [
2750 "lastNotNull"
2751 ],
2752 "fields": "",
2753 "values": false
2754 },
2755 "showPercentChange": false,
2756 "textMode": "auto",
2757 "wideLayout": true
2758 },
2759 "fieldConfig": {
2760 "defaults": {
2761 "thresholds": {
2762 "mode": "absolute",
2763 "steps": [
2764 {
2765 "value": 0,
2766 "color": "green"
2767 },
2768 {
2769 "value": 80,
2770 "color": "red"
2771 }
2772 ]
2773 },
2774 "color": {
2775 "mode": "palette-classic"
2776 }
2777 },
2778 "overrides": []
2779 }
2780 }
2781 }
2782 }
2783 },
2784 "panel-22": {
2785 "kind": "Panel",
2786 "spec": {
2787 "id": 22,
2788 "title": "Iostat kb/s",
2789 "description": "",
2790 "links": [],
2791 "data": {
2792 "kind": "QueryGroup",
2793 "spec": {
2794 "queries": [
2795 {
2796 "kind": "PanelQuery",
2797 "spec": {
2798 "query": {
2799 "kind": "DataQuery",
2800 "group": "influxdb",
2801 "version": "v0",
2802 "spec": {
2803 "alias": "$tag_device d kb/s",
2804 "groupBy": [
2805 {
2806 "params": [
2807 "$interval"
2808 ],
2809 "type": "time"
2810 },
2811 {
2812 "params": [
2813 "device::tag"
2814 ],
2815 "type": "tag"
2816 },
2817 {
2818 "params": [
2819 "null"
2820 ],
2821 "type": "fill"
2822 }
2823 ],
2824 "measurement": "host_iostat",
2825 "orderByTime": "ASC",
2826 "policy": "default",
2827 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
2828 "rawQuery": false,
2829 "resultFormat": "time_series",
2830 "select": [
2831 [
2832 {
2833 "params": [
2834 "dkb_s"
2835 ],
2836 "type": "field"
2837 },
2838 {
2839 "params": [],
2840 "type": "mean"
2841 }
2842 ]
2843 ],
2844 "tags": []
2845 },
2846 "labels": {
2847 "grafana.app/export-label": "influxdb-1"
2848 }
2849 },
2850 "refId": "A",
2851 "hidden": false
2852 }
2853 },
2854 {
2855 "kind": "PanelQuery",
2856 "spec": {
2857 "query": {
2858 "kind": "DataQuery",
2859 "group": "influxdb",
2860 "version": "v0",
2861 "spec": {
2862 "alias": "$tag_device r kb/s",
2863 "groupBy": [
2864 {
2865 "params": [
2866 "$interval"
2867 ],
2868 "type": "time"
2869 },
2870 {
2871 "params": [
2872 "device::tag"
2873 ],
2874 "type": "tag"
2875 },
2876 {
2877 "params": [
2878 "null"
2879 ],
2880 "type": "fill"
2881 }
2882 ],
2883 "measurement": "host_iostat",
2884 "orderByTime": "ASC",
2885 "policy": "default",
2886 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
2887 "rawQuery": false,
2888 "resultFormat": "time_series",
2889 "select": [
2890 [
2891 {
2892 "params": [
2893 "rkb_s"
2894 ],
2895 "type": "field"
2896 },
2897 {
2898 "params": [],
2899 "type": "mean"
2900 }
2901 ]
2902 ],
2903 "tags": []
2904 },
2905 "labels": {
2906 "grafana.app/export-label": "influxdb-1"
2907 }
2908 },
2909 "refId": "B",
2910 "hidden": false
2911 }
2912 },
2913 {
2914 "kind": "PanelQuery",
2915 "spec": {
2916 "query": {
2917 "kind": "DataQuery",
2918 "group": "influxdb",
2919 "version": "v0",
2920 "spec": {
2921 "alias": "$tag_device w kb/s",
2922 "groupBy": [
2923 {
2924 "params": [
2925 "$interval"
2926 ],
2927 "type": "time"
2928 },
2929 {
2930 "params": [
2931 "device::tag"
2932 ],
2933 "type": "tag"
2934 },
2935 {
2936 "params": [
2937 "null"
2938 ],
2939 "type": "fill"
2940 }
2941 ],
2942 "measurement": "host_iostat",
2943 "orderByTime": "ASC",
2944 "policy": "default",
2945 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
2946 "rawQuery": false,
2947 "resultFormat": "time_series",
2948 "select": [
2949 [
2950 {
2951 "params": [
2952 "wkb_s"
2953 ],
2954 "type": "field"
2955 },
2956 {
2957 "params": [],
2958 "type": "mean"
2959 }
2960 ]
2961 ],
2962 "tags": []
2963 },
2964 "labels": {
2965 "grafana.app/export-label": "influxdb-1"
2966 }
2967 },
2968 "refId": "C",
2969 "hidden": false
2970 }
2971 }
2972 ],
2973 "transformations": [],
2974 "queryOptions": {}
2975 }
2976 },
2977 "vizConfig": {
2978 "kind": "VizConfig",
2979 "group": "timeseries",
2980 "version": "13.0.1+security-01",
2981 "spec": {
2982 "options": {
2983 "annotations": {
2984 "clustering": -1,
2985 "multiLane": false
2986 },
2987 "legend": {
2988 "calcs": [],
2989 "displayMode": "list",
2990 "placement": "bottom",
2991 "showLegend": true
2992 },
2993 "tooltip": {
2994 "hideZeros": false,
2995 "mode": "single",
2996 "sort": "none"
2997 }
2998 },
2999 "fieldConfig": {
3000 "defaults": {
3001 "thresholds": {
3002 "mode": "absolute",
3003 "steps": [
3004 {
3005 "value": 0,
3006 "color": "green"
3007 },
3008 {
3009 "value": 80,
3010 "color": "red"
3011 }
3012 ]
3013 },
3014 "color": {
3015 "mode": "palette-classic"
3016 },
3017 "custom": {
3018 "axisBorderShow": false,
3019 "axisCenteredZero": false,
3020 "axisColorMode": "text",
3021 "axisLabel": "",
3022 "axisPlacement": "auto",
3023 "barAlignment": 0,
3024 "barWidthFactor": 0.6,
3025 "drawStyle": "line",
3026 "fillOpacity": 0,
3027 "gradientMode": "none",
3028 "hideFrom": {
3029 "legend": false,
3030 "tooltip": false,
3031 "viz": false
3032 },
3033 "insertNulls": false,
3034 "lineInterpolation": "linear",
3035 "lineWidth": 1,
3036 "pointSize": 5,
3037 "scaleDistribution": {
3038 "type": "linear"
3039 },
3040 "showPoints": "auto",
3041 "showValues": false,
3042 "spanNulls": false,
3043 "stacking": {
3044 "group": "A",
3045 "mode": "none"
3046 },
3047 "thresholdsStyle": {
3048 "mode": "off"
3049 }
3050 }
3051 },
3052 "overrides": []
3053 }
3054 }
3055 }
3056 }
3057 },
3058 "panel-23": {
3059 "kind": "Panel",
3060 "spec": {
3061 "id": 23,
3062 "title": "Iostat util",
3063 "description": "",
3064 "links": [],
3065 "data": {
3066 "kind": "QueryGroup",
3067 "spec": {
3068 "queries": [
3069 {
3070 "kind": "PanelQuery",
3071 "spec": {
3072 "query": {
3073 "kind": "DataQuery",
3074 "group": "influxdb",
3075 "version": "v0",
3076 "spec": {
3077 "alias": "$tag_device util",
3078 "groupBy": [
3079 {
3080 "params": [
3081 "$interval"
3082 ],
3083 "type": "time"
3084 },
3085 {
3086 "params": [
3087 "device::tag"
3088 ],
3089 "type": "tag"
3090 },
3091 {
3092 "params": [
3093 "null"
3094 ],
3095 "type": "fill"
3096 }
3097 ],
3098 "measurement": "host_iostat",
3099 "orderByTime": "ASC",
3100 "policy": "default",
3101 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
3102 "rawQuery": false,
3103 "resultFormat": "time_series",
3104 "select": [
3105 [
3106 {
3107 "params": [
3108 "util"
3109 ],
3110 "type": "field"
3111 },
3112 {
3113 "params": [],
3114 "type": "mean"
3115 }
3116 ]
3117 ],
3118 "tags": []
3119 },
3120 "labels": {
3121 "grafana.app/export-label": "influxdb-1"
3122 }
3123 },
3124 "refId": "A",
3125 "hidden": false
3126 }
3127 }
3128 ],
3129 "transformations": [],
3130 "queryOptions": {}
3131 }
3132 },
3133 "vizConfig": {
3134 "kind": "VizConfig",
3135 "group": "timeseries",
3136 "version": "13.0.1+security-01",
3137 "spec": {
3138 "options": {
3139 "annotations": {
3140 "clustering": -1,
3141 "multiLane": false
3142 },
3143 "legend": {
3144 "calcs": [],
3145 "displayMode": "list",
3146 "placement": "bottom",
3147 "showLegend": true
3148 },
3149 "tooltip": {
3150 "hideZeros": false,
3151 "mode": "single",
3152 "sort": "none"
3153 }
3154 },
3155 "fieldConfig": {
3156 "defaults": {
3157 "thresholds": {
3158 "mode": "absolute",
3159 "steps": [
3160 {
3161 "value": 0,
3162 "color": "green"
3163 },
3164 {
3165 "value": 80,
3166 "color": "red"
3167 }
3168 ]
3169 },
3170 "color": {
3171 "mode": "palette-classic"
3172 },
3173 "custom": {
3174 "axisBorderShow": false,
3175 "axisCenteredZero": false,
3176 "axisColorMode": "text",
3177 "axisLabel": "",
3178 "axisPlacement": "auto",
3179 "barAlignment": 0,
3180 "barWidthFactor": 0.6,
3181 "drawStyle": "line",
3182 "fillOpacity": 0,
3183 "gradientMode": "none",
3184 "hideFrom": {
3185 "legend": false,
3186 "tooltip": false,
3187 "viz": false
3188 },
3189 "insertNulls": false,
3190 "lineInterpolation": "linear",
3191 "lineWidth": 1,
3192 "pointSize": 5,
3193 "scaleDistribution": {
3194 "type": "linear"
3195 },
3196 "showPoints": "auto",
3197 "showValues": false,
3198 "spanNulls": false,
3199 "stacking": {
3200 "group": "A",
3201 "mode": "none"
3202 },
3203 "thresholdsStyle": {
3204 "mode": "off"
3205 }
3206 }
3207 },
3208 "overrides": []
3209 }
3210 }
3211 }
3212 }
3213 },
3214 "panel-24": {
3215 "kind": "Panel",
3216 "spec": {
3217 "id": 24,
3218 "title": "Iostat s",
3219 "description": "",
3220 "links": [],
3221 "data": {
3222 "kind": "QueryGroup",
3223 "spec": {
3224 "queries": [
3225 {
3226 "kind": "PanelQuery",
3227 "spec": {
3228 "query": {
3229 "kind": "DataQuery",
3230 "group": "influxdb",
3231 "version": "v0",
3232 "spec": {
3233 "alias": "$tag_device f/s",
3234 "groupBy": [
3235 {
3236 "params": [
3237 "$interval"
3238 ],
3239 "type": "time"
3240 },
3241 {
3242 "params": [
3243 "device::tag"
3244 ],
3245 "type": "tag"
3246 },
3247 {
3248 "params": [
3249 "null"
3250 ],
3251 "type": "fill"
3252 }
3253 ],
3254 "measurement": "host_iostat",
3255 "orderByTime": "ASC",
3256 "policy": "default",
3257 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
3258 "rawQuery": false,
3259 "resultFormat": "time_series",
3260 "select": [
3261 [
3262 {
3263 "params": [
3264 "f_s"
3265 ],
3266 "type": "field"
3267 },
3268 {
3269 "params": [],
3270 "type": "mean"
3271 }
3272 ]
3273 ],
3274 "tags": []
3275 },
3276 "labels": {
3277 "grafana.app/export-label": "influxdb-1"
3278 }
3279 },
3280 "refId": "A",
3281 "hidden": false
3282 }
3283 },
3284 {
3285 "kind": "PanelQuery",
3286 "spec": {
3287 "query": {
3288 "kind": "DataQuery",
3289 "group": "influxdb",
3290 "version": "v0",
3291 "spec": {
3292 "alias": "$tag_device r/s",
3293 "groupBy": [
3294 {
3295 "params": [
3296 "$interval"
3297 ],
3298 "type": "time"
3299 },
3300 {
3301 "params": [
3302 "device::tag"
3303 ],
3304 "type": "tag"
3305 },
3306 {
3307 "params": [
3308 "null"
3309 ],
3310 "type": "fill"
3311 }
3312 ],
3313 "measurement": "host_iostat",
3314 "orderByTime": "ASC",
3315 "policy": "default",
3316 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
3317 "rawQuery": false,
3318 "resultFormat": "time_series",
3319 "select": [
3320 [
3321 {
3322 "params": [
3323 "r_s"
3324 ],
3325 "type": "field"
3326 },
3327 {
3328 "params": [],
3329 "type": "mean"
3330 }
3331 ]
3332 ],
3333 "tags": []
3334 },
3335 "labels": {
3336 "grafana.app/export-label": "influxdb-1"
3337 }
3338 },
3339 "refId": "B",
3340 "hidden": false
3341 }
3342 },
3343 {
3344 "kind": "PanelQuery",
3345 "spec": {
3346 "query": {
3347 "kind": "DataQuery",
3348 "group": "influxdb",
3349 "version": "v0",
3350 "spec": {
3351 "alias": "$tag_device w/s",
3352 "groupBy": [
3353 {
3354 "params": [
3355 "$interval"
3356 ],
3357 "type": "time"
3358 },
3359 {
3360 "params": [
3361 "device::tag"
3362 ],
3363 "type": "tag"
3364 },
3365 {
3366 "params": [
3367 "null"
3368 ],
3369 "type": "fill"
3370 }
3371 ],
3372 "measurement": "host_iostat",
3373 "orderByTime": "ASC",
3374 "policy": "default",
3375 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
3376 "rawQuery": false,
3377 "resultFormat": "time_series",
3378 "select": [
3379 [
3380 {
3381 "params": [
3382 "w_s"
3383 ],
3384 "type": "field"
3385 },
3386 {
3387 "params": [],
3388 "type": "mean"
3389 }
3390 ]
3391 ],
3392 "tags": []
3393 },
3394 "labels": {
3395 "grafana.app/export-label": "influxdb-1"
3396 }
3397 },
3398 "refId": "C",
3399 "hidden": false
3400 }
3401 }
3402 ],
3403 "transformations": [],
3404 "queryOptions": {}
3405 }
3406 },
3407 "vizConfig": {
3408 "kind": "VizConfig",
3409 "group": "timeseries",
3410 "version": "13.0.1+security-01",
3411 "spec": {
3412 "options": {
3413 "annotations": {
3414 "clustering": -1,
3415 "multiLane": false
3416 },
3417 "legend": {
3418 "calcs": [],
3419 "displayMode": "list",
3420 "placement": "bottom",
3421 "showLegend": true
3422 },
3423 "tooltip": {
3424 "hideZeros": false,
3425 "mode": "single",
3426 "sort": "none"
3427 }
3428 },
3429 "fieldConfig": {
3430 "defaults": {
3431 "thresholds": {
3432 "mode": "absolute",
3433 "steps": [
3434 {
3435 "value": 0,
3436 "color": "green"
3437 },
3438 {
3439 "value": 80,
3440 "color": "red"
3441 }
3442 ]
3443 },
3444 "color": {
3445 "mode": "palette-classic"
3446 },
3447 "custom": {
3448 "axisBorderShow": false,
3449 "axisCenteredZero": false,
3450 "axisColorMode": "text",
3451 "axisLabel": "",
3452 "axisPlacement": "auto",
3453 "barAlignment": 0,
3454 "barWidthFactor": 0.6,
3455 "drawStyle": "line",
3456 "fillOpacity": 0,
3457 "gradientMode": "none",
3458 "hideFrom": {
3459 "legend": false,
3460 "tooltip": false,
3461 "viz": false
3462 },
3463 "insertNulls": false,
3464 "lineInterpolation": "linear",
3465 "lineWidth": 1,
3466 "pointSize": 5,
3467 "scaleDistribution": {
3468 "type": "linear"
3469 },
3470 "showPoints": "auto",
3471 "showValues": false,
3472 "spanNulls": false,
3473 "stacking": {
3474 "group": "A",
3475 "mode": "none"
3476 },
3477 "thresholdsStyle": {
3478 "mode": "off"
3479 }
3480 }
3481 },
3482 "overrides": []
3483 }
3484 }
3485 }
3486 }
3487 },
3488 "panel-3": {
3489 "kind": "Panel",
3490 "spec": {
3491 "id": 3,
3492 "title": "DSDB: система vs пользователь",
3493 "description": "Изменения каталога с разбивкой по performedAsSystem (true = выполнено системой).",
3494 "links": [],
3495 "data": {
3496 "kind": "QueryGroup",
3497 "spec": {
3498 "queries": [
3499 {
3500 "kind": "PanelQuery",
3501 "spec": {
3502 "query": {
3503 "kind": "DataQuery",
3504 "group": "influxdb",
3505 "version": "v0",
3506 "spec": {
3507 "groupBy": [],
3508 "measurement": "samba_dsdb",
3509 "orderByTime": "ASC",
3510 "policy": "default",
3511 "query": "SELECT count(\"status_code\") FROM \"samba_dsdb\" WHERE $timeFilter GROUP BY time($interval), \"as_system\"::tag fill(null)",
3512 "rawQuery": true,
3513 "resultFormat": "time_series",
3514 "select": [],
3515 "tags": []
3516 },
3517 "labels": {
3518 "grafana.app/export-label": "influxdb-1"
3519 }
3520 },
3521 "refId": "A",
3522 "hidden": false
3523 }
3524 }
3525 ],
3526 "transformations": [],
3527 "queryOptions": {}
3528 }
3529 },
3530 "vizConfig": {
3531 "kind": "VizConfig",
3532 "group": "timeseries",
3533 "version": "13.0.1+security-01",
3534 "spec": {
3535 "options": {
3536 "annotations": {
3537 "clustering": -1,
3538 "multiLane": false
3539 },
3540 "legend": {
3541 "calcs": [],
3542 "displayMode": "list",
3543 "placement": "bottom",
3544 "showLegend": true
3545 },
3546 "tooltip": {
3547 "hideZeros": false,
3548 "mode": "multi",
3549 "sort": "desc"
3550 }
3551 },
3552 "fieldConfig": {
3553 "defaults": {
3554 "thresholds": {
3555 "mode": "absolute",
3556 "steps": [
3557 {
3558 "value": 0,
3559 "color": "green"
3560 },
3561 {
3562 "value": 80,
3563 "color": "red"
3564 }
3565 ]
3566 },
3567 "color": {
3568 "mode": "palette-classic"
3569 },
3570 "custom": {
3571 "axisBorderShow": false,
3572 "axisCenteredZero": false,
3573 "axisColorMode": "text",
3574 "axisLabel": "",
3575 "axisPlacement": "auto",
3576 "barAlignment": 0,
3577 "barWidthFactor": 0.6,
3578 "drawStyle": "line",
3579 "fillOpacity": 20,
3580 "gradientMode": "none",
3581 "hideFrom": {
3582 "legend": false,
3583 "tooltip": false,
3584 "viz": false
3585 },
3586 "insertNulls": false,
3587 "lineInterpolation": "smooth",
3588 "lineWidth": 1,
3589 "pointSize": 5,
3590 "scaleDistribution": {
3591 "type": "linear"
3592 },
3593 "showPoints": "auto",
3594 "showValues": false,
3595 "spanNulls": false,
3596 "stacking": {
3597 "group": "A",
3598 "mode": "none"
3599 },
3600 "thresholdsStyle": {
3601 "mode": "off"
3602 }
3603 }
3604 },
3605 "overrides": []
3606 }
3607 }
3608 }
3609 }
3610 },
3611 "panel-4": {
3612 "kind": "Panel",
3613 "spec": {
3614 "id": 4,
3615 "title": "DSDB: топ инициаторов (SID)",
3616 "description": "Кто инициировал изменения каталога — разбивка по userSid.",
3617 "links": [],
3618 "data": {
3619 "kind": "QueryGroup",
3620 "spec": {
3621 "queries": [
3622 {
3623 "kind": "PanelQuery",
3624 "spec": {
3625 "query": {
3626 "kind": "DataQuery",
3627 "group": "influxdb",
3628 "version": "v0",
3629 "spec": {
3630 "groupBy": [],
3631 "measurement": "samba_dsdb",
3632 "orderByTime": "ASC",
3633 "policy": "default",
3634 "query": "SELECT count(\"status_code\") FROM \"samba_dsdb\" WHERE $timeFilter GROUP BY time($interval), \"user_sid\"::tag fill(null)",
3635 "rawQuery": true,
3636 "resultFormat": "time_series",
3637 "select": [],
3638 "tags": []
3639 },
3640 "labels": {
3641 "grafana.app/export-label": "influxdb-1"
3642 }
3643 },
3644 "refId": "A",
3645 "hidden": false
3646 }
3647 }
3648 ],
3649 "transformations": [],
3650 "queryOptions": {}
3651 }
3652 },
3653 "vizConfig": {
3654 "kind": "VizConfig",
3655 "group": "timeseries",
3656 "version": "13.0.1+security-01",
3657 "spec": {
3658 "options": {
3659 "annotations": {
3660 "clustering": -1,
3661 "multiLane": false
3662 },
3663 "legend": {
3664 "calcs": [
3665 "sum"
3666 ],
3667 "displayMode": "table",
3668 "placement": "right",
3669 "showLegend": true
3670 },
3671 "tooltip": {
3672 "hideZeros": false,
3673 "mode": "multi",
3674 "sort": "desc"
3675 }
3676 },
3677 "fieldConfig": {
3678 "defaults": {
3679 "thresholds": {
3680 "mode": "absolute",
3681 "steps": [
3682 {
3683 "value": 0,
3684 "color": "green"
3685 },
3686 {
3687 "value": 80,
3688 "color": "red"
3689 }
3690 ]
3691 },
3692 "color": {
3693 "mode": "palette-classic"
3694 },
3695 "custom": {
3696 "axisBorderShow": false,
3697 "axisCenteredZero": false,
3698 "axisColorMode": "text",
3699 "axisLabel": "",
3700 "axisPlacement": "auto",
3701 "barAlignment": 0,
3702 "barWidthFactor": 0.6,
3703 "drawStyle": "bars",
3704 "fillOpacity": 50,
3705 "gradientMode": "none",
3706 "hideFrom": {
3707 "legend": false,
3708 "tooltip": false,
3709 "viz": false
3710 },
3711 "insertNulls": false,
3712 "lineInterpolation": "linear",
3713 "lineWidth": 1,
3714 "pointSize": 5,
3715 "scaleDistribution": {
3716 "type": "linear"
3717 },
3718 "showPoints": "auto",
3719 "showValues": false,
3720 "spanNulls": false,
3721 "stacking": {
3722 "group": "A",
3723 "mode": "normal"
3724 },
3725 "thresholdsStyle": {
3726 "mode": "off"
3727 }
3728 }
3729 },
3730 "overrides": []
3731 }
3732 }
3733 }
3734 }
3735 },
3736 "panel-5": {
3737 "kind": "Panel",
3738 "spec": {
3739 "id": 5,
3740 "title": "Транзакции: длительность (mean/max)",
3741 "description": "Длительность транзакций каталога (samba_dsdb_tx) в микросекундах.",
3742 "links": [],
3743 "data": {
3744 "kind": "QueryGroup",
3745 "spec": {
3746 "queries": [
3747 {
3748 "kind": "PanelQuery",
3749 "spec": {
3750 "query": {
3751 "kind": "DataQuery",
3752 "group": "influxdb",
3753 "version": "v0",
3754 "spec": {
3755 "groupBy": [],
3756 "measurement": "samba_dsdb_tx",
3757 "orderByTime": "ASC",
3758 "policy": "default",
3759 "query": "SELECT mean(\"duration\") AS \"mean\", max(\"duration\") AS \"max\" FROM \"samba_dsdb_tx\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
3760 "rawQuery": true,
3761 "resultFormat": "time_series",
3762 "select": [],
3763 "tags": []
3764 },
3765 "labels": {
3766 "grafana.app/export-label": "influxdb-1"
3767 }
3768 },
3769 "refId": "A",
3770 "hidden": false
3771 }
3772 }
3773 ],
3774 "transformations": [],
3775 "queryOptions": {}
3776 }
3777 },
3778 "vizConfig": {
3779 "kind": "VizConfig",
3780 "group": "timeseries",
3781 "version": "13.0.1+security-01",
3782 "spec": {
3783 "options": {
3784 "annotations": {
3785 "clustering": -1,
3786 "multiLane": false
3787 },
3788 "legend": {
3789 "calcs": [
3790 "mean",
3791 "max"
3792 ],
3793 "displayMode": "table",
3794 "placement": "bottom",
3795 "showLegend": true
3796 },
3797 "tooltip": {
3798 "hideZeros": false,
3799 "mode": "multi",
3800 "sort": "desc"
3801 }
3802 },
3803 "fieldConfig": {
3804 "defaults": {
3805 "unit": "µs",
3806 "thresholds": {
3807 "mode": "absolute",
3808 "steps": [
3809 {
3810 "value": 0,
3811 "color": "green"
3812 },
3813 {
3814 "value": 80,
3815 "color": "red"
3816 }
3817 ]
3818 },
3819 "color": {
3820 "mode": "palette-classic"
3821 },
3822 "custom": {
3823 "axisBorderShow": false,
3824 "axisCenteredZero": false,
3825 "axisColorMode": "text",
3826 "axisLabel": "",
3827 "axisPlacement": "auto",
3828 "barAlignment": 0,
3829 "barWidthFactor": 0.6,
3830 "drawStyle": "line",
3831 "fillOpacity": 10,
3832 "gradientMode": "none",
3833 "hideFrom": {
3834 "legend": false,
3835 "tooltip": false,
3836 "viz": false
3837 },
3838 "insertNulls": false,
3839 "lineInterpolation": "smooth",
3840 "lineWidth": 1,
3841 "pointSize": 5,
3842 "scaleDistribution": {
3843 "type": "linear"
3844 },
3845 "showPoints": "auto",
3846 "showValues": false,
3847 "spanNulls": false,
3848 "stacking": {
3849 "group": "A",
3850 "mode": "none"
3851 },
3852 "thresholdsStyle": {
3853 "mode": "off"
3854 }
3855 }
3856 },
3857 "overrides": []
3858 }
3859 }
3860 }
3861 }
3862 },
3863 "panel-6": {
3864 "kind": "Panel",
3865 "spec": {
3866 "id": 6,
3867 "title": "Транзакции по типу действия",
3868 "description": "Число транзакций каталога, разбивка по action (commit / rollback / prepare commit / begin).",
3869 "links": [],
3870 "data": {
3871 "kind": "QueryGroup",
3872 "spec": {
3873 "queries": [
3874 {
3875 "kind": "PanelQuery",
3876 "spec": {
3877 "query": {
3878 "kind": "DataQuery",
3879 "group": "influxdb",
3880 "version": "v0",
3881 "spec": {
3882 "groupBy": [],
3883 "measurement": "samba_dsdb_tx",
3884 "orderByTime": "ASC",
3885 "policy": "default",
3886 "query": "SELECT count(\"duration\") FROM \"samba_dsdb_tx\" WHERE $timeFilter GROUP BY time($interval), \"action\"::tag fill(null)",
3887 "rawQuery": true,
3888 "resultFormat": "time_series",
3889 "select": [],
3890 "tags": []
3891 },
3892 "labels": {
3893 "grafana.app/export-label": "influxdb-1"
3894 }
3895 },
3896 "refId": "A",
3897 "hidden": false
3898 }
3899 }
3900 ],
3901 "transformations": [],
3902 "queryOptions": {}
3903 }
3904 },
3905 "vizConfig": {
3906 "kind": "VizConfig",
3907 "group": "timeseries",
3908 "version": "13.0.1+security-01",
3909 "spec": {
3910 "options": {
3911 "annotations": {
3912 "clustering": -1,
3913 "multiLane": false
3914 },
3915 "legend": {
3916 "calcs": [],
3917 "displayMode": "list",
3918 "placement": "bottom",
3919 "showLegend": true
3920 },
3921 "tooltip": {
3922 "hideZeros": false,
3923 "mode": "multi",
3924 "sort": "desc"
3925 }
3926 },
3927 "fieldConfig": {
3928 "defaults": {
3929 "thresholds": {
3930 "mode": "absolute",
3931 "steps": [
3932 {
3933 "value": 0,
3934 "color": "green"
3935 },
3936 {
3937 "value": 80,
3938 "color": "red"
3939 }
3940 ]
3941 },
3942 "color": {
3943 "mode": "palette-classic"
3944 },
3945 "custom": {
3946 "axisBorderShow": false,
3947 "axisCenteredZero": false,
3948 "axisColorMode": "text",
3949 "axisLabel": "",
3950 "axisPlacement": "auto",
3951 "barAlignment": 0,
3952 "barWidthFactor": 0.6,
3953 "drawStyle": "bars",
3954 "fillOpacity": 50,
3955 "gradientMode": "none",
3956 "hideFrom": {
3957 "legend": false,
3958 "tooltip": false,
3959 "viz": false
3960 },
3961 "insertNulls": false,
3962 "lineInterpolation": "linear",
3963 "lineWidth": 1,
3964 "pointSize": 5,
3965 "scaleDistribution": {
3966 "type": "linear"
3967 },
3968 "showPoints": "auto",
3969 "showValues": false,
3970 "spanNulls": false,
3971 "stacking": {
3972 "group": "A",
3973 "mode": "normal"
3974 },
3975 "thresholdsStyle": {
3976 "mode": "off"
3977 }
3978 }
3979 },
3980 "overrides": []
3981 }
3982 }
3983 }
3984 }
3985 },
3986 "panel-7": {
3987 "kind": "Panel",
3988 "spec": {
3989 "id": 7,
3990 "title": "SMB activity",
3991 "description": "",
3992 "links": [],
3993 "data": {
3994 "kind": "QueryGroup",
3995 "spec": {
3996 "queries": [
3997 {
3998 "kind": "PanelQuery",
3999 "spec": {
4000 "query": {
4001 "kind": "DataQuery",
4002 "group": "influxdb",
4003 "version": "v0",
4004 "spec": {
4005 "alias": "user_smb",
4006 "groupBy": [
4007 {
4008 "params": [
4009 "$interval"
4010 ],
4011 "type": "time"
4012 },
4013 {
4014 "params": [
4015 "domain::tag"
4016 ],
4017 "type": "tag"
4018 },
4019 {
4020 "params": [
4021 "null"
4022 ],
4023 "type": "fill"
4024 }
4025 ],
4026 "measurement": "samba_authz",
4027 "orderByTime": "ASC",
4028 "policy": "default",
4029 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
4030 "rawQuery": false,
4031 "resultFormat": "time_series",
4032 "select": [
4033 [
4034 {
4035 "params": [
4036 "auth_type"
4037 ],
4038 "type": "field"
4039 },
4040 {
4041 "params": [],
4042 "type": "count"
4043 }
4044 ]
4045 ],
4046 "tags": [
4047 {
4048 "key": "service::tag",
4049 "operator": "=",
4050 "value": "SMB2"
4051 },
4052 {
4053 "condition": "AND",
4054 "key": "auth_type::field",
4055 "operator": "=",
4056 "value": "krb5"
4057 },
4058 {
4059 "condition": "AND",
4060 "key": "account::tag",
4061 "operator": "=~",
4062 "value": "/^user-/"
4063 }
4064 ]
4065 },
4066 "labels": {
4067 "grafana.app/export-label": "influxdb-1"
4068 }
4069 },
4070 "refId": "A",
4071 "hidden": false
4072 }
4073 },
4074 {
4075 "kind": "PanelQuery",
4076 "spec": {
4077 "query": {
4078 "kind": "DataQuery",
4079 "group": "influxdb",
4080 "version": "v0",
4081 "spec": {
4082 "alias": "machine_smb",
4083 "groupBy": [
4084 {
4085 "params": [
4086 "$interval"
4087 ],
4088 "type": "time"
4089 },
4090 {
4091 "params": [
4092 "domain::tag"
4093 ],
4094 "type": "tag"
4095 },
4096 {
4097 "params": [
4098 "null"
4099 ],
4100 "type": "fill"
4101 }
4102 ],
4103 "measurement": "samba_authz",
4104 "orderByTime": "ASC",
4105 "policy": "default",
4106 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
4107 "rawQuery": false,
4108 "resultFormat": "time_series",
4109 "select": [
4110 [
4111 {
4112 "params": [
4113 "auth_type"
4114 ],
4115 "type": "field"
4116 },
4117 {
4118 "params": [],
4119 "type": "count"
4120 }
4121 ]
4122 ],
4123 "tags": [
4124 {
4125 "key": "service::tag",
4126 "operator": "=",
4127 "value": "SMB2"
4128 },
4129 {
4130 "condition": "AND",
4131 "key": "auth_type::field",
4132 "operator": "=",
4133 "value": "krb5"
4134 },
4135 {
4136 "condition": "AND",
4137 "key": "account::tag",
4138 "operator": "=~",
4139 "value": "/^MACHINE/"
4140 }
4141 ]
4142 },
4143 "labels": {
4144 "grafana.app/export-label": "influxdb-1"
4145 }
4146 },
4147 "refId": "B",
4148 "hidden": false
4149 }
4150 }
4151 ],
4152 "transformations": [],
4153 "queryOptions": {}
4154 }
4155 },
4156 "vizConfig": {
4157 "kind": "VizConfig",
4158 "group": "timeseries",
4159 "version": "13.0.1+security-01",
4160 "spec": {
4161 "options": {
4162 "annotations": {
4163 "clustering": -1,
4164 "multiLane": false
4165 },
4166 "legend": {
4167 "calcs": [],
4168 "displayMode": "list",
4169 "placement": "bottom",
4170 "showLegend": true
4171 },
4172 "tooltip": {
4173 "hideZeros": false,
4174 "mode": "single",
4175 "sort": "none"
4176 }
4177 },
4178 "fieldConfig": {
4179 "defaults": {
4180 "thresholds": {
4181 "mode": "absolute",
4182 "steps": [
4183 {
4184 "value": 0,
4185 "color": "green"
4186 },
4187 {
4188 "value": 80,
4189 "color": "red"
4190 }
4191 ]
4192 },
4193 "color": {
4194 "mode": "palette-classic"
4195 },
4196 "custom": {
4197 "axisBorderShow": false,
4198 "axisCenteredZero": false,
4199 "axisColorMode": "text",
4200 "axisLabel": "",
4201 "axisPlacement": "auto",
4202 "barAlignment": 0,
4203 "barWidthFactor": 0.6,
4204 "drawStyle": "line",
4205 "fillOpacity": 10,
4206 "gradientMode": "none",
4207 "hideFrom": {
4208 "legend": false,
4209 "tooltip": false,
4210 "viz": false
4211 },
4212 "insertNulls": false,
4213 "lineInterpolation": "smooth",
4214 "lineWidth": 1,
4215 "pointSize": 5,
4216 "scaleDistribution": {
4217 "type": "linear"
4218 },
4219 "showPoints": "auto",
4220 "showValues": false,
4221 "spanNulls": false,
4222 "stacking": {
4223 "group": "A",
4224 "mode": "none"
4225 },
4226 "thresholdsStyle": {
4227 "mode": "off"
4228 }
4229 }
4230 },
4231 "overrides": []
4232 }
4233 }
4234 }
4235 }
4236 },
4237 "panel-8": {
4238 "kind": "Panel",
4239 "spec": {
4240 "id": 8,
4241 "title": "DNS activity",
4242 "description": "",
4243 "links": [],
4244 "data": {
4245 "kind": "QueryGroup",
4246 "spec": {
4247 "queries": [
4248 {
4249 "kind": "PanelQuery",
4250 "spec": {
4251 "query": {
4252 "kind": "DataQuery",
4253 "group": "influxdb",
4254 "version": "v0",
4255 "spec": {
4256 "alias": "rcode=0",
4257 "groupBy": [
4258 {
4259 "params": [
4260 "$interval"
4261 ],
4262 "type": "time"
4263 },
4264 {
4265 "params": [
4266 "null"
4267 ],
4268 "type": "fill"
4269 }
4270 ],
4271 "measurement": "samba_dns_rcode",
4272 "orderByTime": "ASC",
4273 "policy": "default",
4274 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
4275 "rawQuery": false,
4276 "resultFormat": "time_series",
4277 "select": [
4278 [
4279 {
4280 "params": [
4281 "rcode"
4282 ],
4283 "type": "field"
4284 },
4285 {
4286 "params": [],
4287 "type": "count"
4288 }
4289 ]
4290 ],
4291 "tags": [
4292 {
4293 "key": "rcode::field",
4294 "operator": "=",
4295 "value": "0"
4296 },
4297 {
4298 "condition": "AND",
4299 "key": "direction::tag",
4300 "operator": "=",
4301 "value": "out_packet"
4302 }
4303 ]
4304 },
4305 "labels": {
4306 "grafana.app/export-label": "influxdb-1"
4307 }
4308 },
4309 "refId": "A",
4310 "hidden": false
4311 }
4312 },
4313 {
4314 "kind": "PanelQuery",
4315 "spec": {
4316 "query": {
4317 "kind": "DataQuery",
4318 "group": "influxdb",
4319 "version": "v0",
4320 "spec": {
4321 "alias": "rcode=3",
4322 "groupBy": [
4323 {
4324 "params": [
4325 "$interval"
4326 ],
4327 "type": "time"
4328 },
4329 {
4330 "params": [
4331 "null"
4332 ],
4333 "type": "fill"
4334 }
4335 ],
4336 "measurement": "samba_dns_rcode",
4337 "orderByTime": "ASC",
4338 "policy": "default",
4339 "query": "SELECT count(\"client_account\") FROM \"samba_auth\" WHERE (\"status\"::tag = 'NT_STATUS_OK' AND \"account\"::tag =~ /^MACHINE/) AND $timeFilter GROUP BY time($interval), \"domain\"::tag fill(null)",
4340 "rawQuery": false,
4341 "resultFormat": "time_series",
4342 "select": [
4343 [
4344 {
4345 "params": [
4346 "rcode"
4347 ],
4348 "type": "field"
4349 },
4350 {
4351 "params": [],
4352 "type": "count"
4353 }
4354 ]
4355 ],
4356 "tags": [
4357 {
4358 "key": "rcode::field",
4359 "operator": "=",
4360 "value": "3"
4361 },
4362 {
4363 "condition": "AND",
4364 "key": "direction::tag",
4365 "operator": "=",
4366 "value": "out_packet"
4367 }
4368 ]
4369 },
4370 "labels": {
4371 "grafana.app/export-label": "influxdb-1"
4372 }
4373 },
4374 "refId": "B",
4375 "hidden": false
4376 }
4377 }
4378 ],
4379 "transformations": [],
4380 "queryOptions": {}
4381 }
4382 },
4383 "vizConfig": {
4384 "kind": "VizConfig",
4385 "group": "timeseries",
4386 "version": "13.0.1+security-01",
4387 "spec": {
4388 "options": {
4389 "annotations": {
4390 "clustering": -1,
4391 "multiLane": false
4392 },
4393 "legend": {
4394 "calcs": [],
4395 "displayMode": "list",
4396 "placement": "bottom",
4397 "showLegend": true
4398 },
4399 "tooltip": {
4400 "hideZeros": false,
4401 "mode": "single",
4402 "sort": "none"
4403 }
4404 },
4405 "fieldConfig": {
4406 "defaults": {
4407 "thresholds": {
4408 "mode": "absolute",
4409 "steps": [
4410 {
4411 "value": 0,
4412 "color": "green"
4413 },
4414 {
4415 "value": 80,
4416 "color": "red"
4417 }
4418 ]
4419 },
4420 "color": {
4421 "mode": "palette-classic"
4422 },
4423 "custom": {
4424 "axisBorderShow": false,
4425 "axisCenteredZero": false,
4426 "axisColorMode": "text",
4427 "axisLabel": "",
4428 "axisPlacement": "auto",
4429 "barAlignment": 0,
4430 "barWidthFactor": 0.6,
4431 "drawStyle": "line",
4432 "fillOpacity": 10,
4433 "gradientMode": "none",
4434 "hideFrom": {
4435 "legend": false,
4436 "tooltip": false,
4437 "viz": false
4438 },
4439 "insertNulls": false,
4440 "lineInterpolation": "smooth",
4441 "lineWidth": 1,
4442 "pointSize": 5,
4443 "scaleDistribution": {
4444 "type": "linear"
4445 },
4446 "showPoints": "auto",
4447 "showValues": false,
4448 "spanNulls": false,
4449 "stacking": {
4450 "group": "A",
4451 "mode": "none"
4452 },
4453 "thresholdsStyle": {
4454 "mode": "off"
4455 }
4456 }
4457 },
4458 "overrides": []
4459 }
4460 }
4461 }
4462 }
4463 },
4464 "panel-9": {
4465 "kind": "Panel",
4466 "spec": {
4467 "id": 9,
4468 "title": "Samba: клиентов сейчас",
4469 "description": "Текущее число подключённых SMB-клиентов (последний опрос smbstatus -v, первый блок).",
4470 "links": [],
4471 "data": {
4472 "kind": "QueryGroup",
4473 "spec": {
4474 "queries": [
4475 {
4476 "kind": "PanelQuery",
4477 "spec": {
4478 "query": {
4479 "kind": "DataQuery",
4480 "group": "influxdb",
4481 "version": "v0",
4482 "spec": {
4483 "alias": "clients",
4484 "groupBy": [
4485 {
4486 "params": [
4487 "$interval"
4488 ],
4489 "type": "time"
4490 },
4491 {
4492 "params": [
4493 "null"
4494 ],
4495 "type": "fill"
4496 }
4497 ],
4498 "measurement": "samba_clients",
4499 "orderByTime": "ASC",
4500 "policy": "default",
4501 "query": "SELECT last(\"count\") FROM \"samba_clients\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
4502 "rawQuery": false,
4503 "resultFormat": "time_series",
4504 "select": [
4505 [
4506 {
4507 "params": [
4508 "count"
4509 ],
4510 "type": "field"
4511 },
4512 {
4513 "params": [],
4514 "type": "last"
4515 }
4516 ]
4517 ],
4518 "tags": []
4519 },
4520 "labels": {
4521 "grafana.app/export-label": "influxdb-1"
4522 }
4523 },
4524 "refId": "A",
4525 "hidden": false
4526 }
4527 }
4528 ],
4529 "transformations": [],
4530 "queryOptions": {}
4531 }
4532 },
4533 "vizConfig": {
4534 "kind": "VizConfig",
4535 "group": "stat",
4536 "version": "13.0.1+security-01",
4537 "spec": {
4538 "options": {
4539 "colorMode": "value",
4540 "graphMode": "area",
4541 "justifyMode": "auto",
4542 "orientation": "auto",
4543 "percentChangeColorMode": "standard",
4544 "reduceOptions": {
4545 "calcs": [
4546 "lastNotNull"
4547 ],
4548 "fields": "",
4549 "values": false
4550 },
4551 "showPercentChange": false,
4552 "textMode": "auto",
4553 "wideLayout": true
4554 },
4555 "fieldConfig": {
4556 "defaults": {
4557 "unit": "none",
4558 "thresholds": {
4559 "mode": "absolute",
4560 "steps": [
4561 {
4562 "value": 0,
4563 "color": "green"
4564 },
4565 {
4566 "value": null,
4567 "color": "red"
4568 }
4569 ]
4570 },
4571 "color": {
4572 "mode": "palette-classic"
4573 }
4574 },
4575 "overrides": []
4576 }
4577 }
4578 }
4579 }
4580 }
4581 },
4582 "layout": {
4583 "kind": "GridLayout",
4584 "spec": {
4585 "items": [
4586 {
4587 "kind": "GridLayoutItem",
4588 "spec": {
4589 "x": 0,
4590 "y": 0,
4591 "width": 11,
4592 "height": 10,
4593 "element": {
4594 "kind": "ElementReference",
4595 "name": "panel-11"
4596 }
4597 }
4598 },
4599 {
4600 "kind": "GridLayoutItem",
4601 "spec": {
4602 "x": 11,
4603 "y": 0,
4604 "width": 13,
4605 "height": 10,
4606 "element": {
4607 "kind": "ElementReference",
4608 "name": "panel-1"
4609 }
4610 }
4611 },
4612 {
4613 "kind": "GridLayoutItem",
4614 "spec": {
4615 "x": 0,
4616 "y": 10,
4617 "width": 24,
4618 "height": 10,
4619 "element": {
4620 "kind": "ElementReference",
4621 "name": "panel-12"
4622 }
4623 }
4624 },
4625 {
4626 "kind": "GridLayoutItem",
4627 "spec": {
4628 "x": 0,
4629 "y": 20,
4630 "width": 8,
4631 "height": 11,
4632 "element": {
4633 "kind": "ElementReference",
4634 "name": "panel-21"
4635 }
4636 }
4637 },
4638 {
4639 "kind": "GridLayoutItem",
4640 "spec": {
4641 "x": 8,
4642 "y": 20,
4643 "width": 16,
4644 "height": 11,
4645 "element": {
4646 "kind": "ElementReference",
4647 "name": "panel-20"
4648 }
4649 }
4650 },
4651 {
4652 "kind": "GridLayoutItem",
4653 "spec": {
4654 "x": 0,
4655 "y": 31,
4656 "width": 11,
4657 "height": 11,
4658 "element": {
4659 "kind": "ElementReference",
4660 "name": "panel-16"
4661 }
4662 }
4663 },
4664 {
4665 "kind": "GridLayoutItem",
4666 "spec": {
4667 "x": 11,
4668 "y": 31,
4669 "width": 13,
4670 "height": 11,
4671 "element": {
4672 "kind": "ElementReference",
4673 "name": "panel-13"
4674 }
4675 }
4676 },
4677 {
4678 "kind": "GridLayoutItem",
4679 "spec": {
4680 "x": 0,
4681 "y": 42,
4682 "width": 11,
4683 "height": 10,
4684 "element": {
4685 "kind": "ElementReference",
4686 "name": "panel-17"
4687 }
4688 }
4689 },
4690 {
4691 "kind": "GridLayoutItem",
4692 "spec": {
4693 "x": 11,
4694 "y": 42,
4695 "width": 13,
4696 "height": 10,
4697 "element": {
4698 "kind": "ElementReference",
4699 "name": "panel-22"
4700 }
4701 }
4702 },
4703 {
4704 "kind": "GridLayoutItem",
4705 "spec": {
4706 "x": 0,
4707 "y": 52,
4708 "width": 16,
4709 "height": 10,
4710 "element": {
4711 "kind": "ElementReference",
4712 "name": "panel-24"
4713 }
4714 }
4715 },
4716 {
4717 "kind": "GridLayoutItem",
4718 "spec": {
4719 "x": 16,
4720 "y": 52,
4721 "width": 8,
4722 "height": 10,
4723 "element": {
4724 "kind": "ElementReference",
4725 "name": "panel-23"
4726 }
4727 }
4728 },
4729 {
4730 "kind": "GridLayoutItem",
4731 "spec": {
4732 "x": 0,
4733 "y": 62,
4734 "width": 24,
4735 "height": 10,
4736 "element": {
4737 "kind": "ElementReference",
4738 "name": "panel-14"
4739 }
4740 }
4741 },
4742 {
4743 "kind": "GridLayoutItem",
4744 "spec": {
4745 "x": 0,
4746 "y": 72,
4747 "width": 8,
4748 "height": 8,
4749 "element": {
4750 "kind": "ElementReference",
4751 "name": "panel-15"
4752 }
4753 }
4754 },
4755 {
4756 "kind": "GridLayoutItem",
4757 "spec": {
4758 "x": 8,
4759 "y": 72,
4760 "width": 8,
4761 "height": 8,
4762 "element": {
4763 "kind": "ElementReference",
4764 "name": "panel-18"
4765 }
4766 }
4767 },
4768 {
4769 "kind": "GridLayoutItem",
4770 "spec": {
4771 "x": 16,
4772 "y": 72,
4773 "width": 8,
4774 "height": 8,
4775 "element": {
4776 "kind": "ElementReference",
4777 "name": "panel-19"
4778 }
4779 }
4780 },
4781 {
4782 "kind": "GridLayoutItem",
4783 "spec": {
4784 "x": 0,
4785 "y": 80,
4786 "width": 12,
4787 "height": 7,
4788 "element": {
4789 "kind": "ElementReference",
4790 "name": "panel-7"
4791 }
4792 }
4793 },
4794 {
4795 "kind": "GridLayoutItem",
4796 "spec": {
4797 "x": 12,
4798 "y": 80,
4799 "width": 12,
4800 "height": 7,
4801 "element": {
4802 "kind": "ElementReference",
4803 "name": "panel-8"
4804 }
4805 }
4806 },
4807 {
4808 "kind": "GridLayoutItem",
4809 "spec": {
4810 "x": 0,
4811 "y": 87,
4812 "width": 12,
4813 "height": 8,
4814 "element": {
4815 "kind": "ElementReference",
4816 "name": "panel-2"
4817 }
4818 }
4819 },
4820 {
4821 "kind": "GridLayoutItem",
4822 "spec": {
4823 "x": 12,
4824 "y": 87,
4825 "width": 12,
4826 "height": 8,
4827 "element": {
4828 "kind": "ElementReference",
4829 "name": "panel-3"
4830 }
4831 }
4832 },
4833 {
4834 "kind": "GridLayoutItem",
4835 "spec": {
4836 "x": 0,
4837 "y": 95,
4838 "width": 12,
4839 "height": 8,
4840 "element": {
4841 "kind": "ElementReference",
4842 "name": "panel-4"
4843 }
4844 }
4845 },
4846 {
4847 "kind": "GridLayoutItem",
4848 "spec": {
4849 "x": 12,
4850 "y": 95,
4851 "width": 12,
4852 "height": 8,
4853 "element": {
4854 "kind": "ElementReference",
4855 "name": "panel-5"
4856 }
4857 }
4858 },
4859 {
4860 "kind": "GridLayoutItem",
4861 "spec": {
4862 "x": 0,
4863 "y": 103,
4864 "width": 12,
4865 "height": 8,
4866 "element": {
4867 "kind": "ElementReference",
4868 "name": "panel-6"
4869 }
4870 }
4871 },
4872 {
4873 "kind": "GridLayoutItem",
4874 "spec": {
4875 "x": 0,
4876 "y": 111,
4877 "width": 6,
4878 "height": 8,
4879 "element": {
4880 "kind": "ElementReference",
4881 "name": "panel-9"
4882 }
4883 }
4884 },
4885 {
4886 "kind": "GridLayoutItem",
4887 "spec": {
4888 "x": 6,
4889 "y": 111,
4890 "width": 18,
4891 "height": 8,
4892 "element": {
4893 "kind": "ElementReference",
4894 "name": "panel-10"
4895 }
4896 }
4897 }
4898 ]
4899 }
4900 },
4901 "links": [],
4902 "liveNow": false,
4903 "preload": false,
4904 "tags": [
4905 "samba",
4906 "ad",
4907 "audit"
4908 ],
4909 "timeSettings": {
4910 "timezone": "browser",
4911 "from": "now-6h",
4912 "to": "now",
4913 "autoRefresh": "",
4914 "autoRefreshIntervals": [
4915 "5s",
4916 "10s",
4917 "30s",
4918 "1m",
4919 "5m",
4920 "15m",
4921 "30m",
4922 "1h",
4923 "2h",
4924 "1d"
4925 ],
4926 "hideTimepicker": false,
4927 "fiscalYearStartMonth": 0
4928 },
4929 "title": "Samba AD audit2",
4930 "variables": [
4931 {
4932 "kind": "IntervalVariable",
4933 "spec": {
4934 "name": "interval",
4935 "query": "1s,3s,5s,10s,30s,1m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
4936 "current": {
4937 "text": "1m",
4938 "value": "1m"
4939 },
4940 "options": [
4941 {
4942 "selected": true,
4943 "text": "1m",
4944 "value": "1m"
4945 },
4946 {
4947 "selected": false,
4948 "text": "10m",
4949 "value": "10m"
4950 },
4951 {
4952 "selected": false,
4953 "text": "30m",
4954 "value": "30m"
4955 },
4956 {
4957 "selected": false,
4958 "text": "1h",
4959 "value": "1h"
4960 },
4961 {
4962 "selected": false,
4963 "text": "6h",
4964 "value": "6h"
4965 },
4966 {
4967 "selected": false,
4968 "text": "12h",
4969 "value": "12h"
4970 },
4971 {
4972 "selected": false,
4973 "text": "1d",
4974 "value": "1d"
4975 }
4976 ],
4977 "auto": false,
4978 "auto_min": "10s",
4979 "auto_count": 30,
4980 "refresh": "onTimeRangeChanged",
4981 "hide": "dontHide",
4982 "skipUrlSync": false
4983 }
4984 }
4985 ],
4986 "preferences": {
4987 "layout": {
4988 "kind": "GridLayout",
4989 "spec": {
4990 "items": []
4991 }
4992 }
4993 }
4994 }
4995}