Last active 1 week ago

Revision 5f7f03304310bb1e2c931b45290e2e6e677b680e

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