Last active 1 week ago

Revision 89de6a0c8ab73174ccc0fec1a4de7ba5306f7041

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