Загрузка данных


dministrator@astra-666:~/Desktop/Prime lite/Prime_Management_Services_(Disk_1)$ sudo ./diag.1.9.14.15.sh

This script collects various system information, logs, and Docker container information, and bundles them into a compressed archive for diagnostic purposes.

It collects the following types of information:
- System information such as host configuration, OS details, network settings, Docker configuration, and more.
- System logs including syslog, daemon logs, nginx logs, audit logs, Docker container logs, etc.
- Information about the VPN client configuration.
- Reports from the VPN client.
- Docker container details including OS information, mounted volumes, ports, and environment variables.
- Journald logs for specific services related to Infotecs products.
- Information about Infotecs products including versions, logs, some configuration.

WARNING: Before using the script, ensure that you understand its purpose and that gathering information does not violate your organization's security policies.

Adding file "/etc/hosts"
Adding file "/etc/os-release"
Adding file "/etc/astra_version"
Adding file "/etc/astra/build_version"
Adding file "/etc/resolv.conf"
<Skip> File "/etc/docker/daemon.json" does not exist
<Skip> File "/etc/dnsmasq.conf" does not exist
Adding file "/etc/digsig/digsig_initramfs.conf"
Adding file "/etc/NetworkManager/NetworkManager.conf"
<Skip> File "/usr/sbin/nginx-ctrl" does not exist
Adding file "/var/log/kern.log"
<Skip> File "/var/log/installer/Xorg.0.log" does not exist
<Skip> File "/var/log/installer/hardware-summary" does not exist
<Skip> File "/var/log/installer/cdebconf/questions.dat" does not exist
<Skip> Directory "/etc/dnsmasq.d" does not exist
<Skip> Directory "/etc/nginx" does not exist
<Skip> Directory "/etc/opt/itcs" does not exist
<Skip> Directory "/opt/itcs" does not exist
Adding directory "/etc/systemd/system"
tar: /etc/systemd/system/dbus-org.rnd2.cpupower_gui.helper.service: Файла удален до его считывания
tar: /etc/systemd/system/multi-user.target.wants/cpupower-gui.service: Файла удален до его считывания
Executing command "journalctl -o short-precise --utc --no-hostname --since 'today' | sed -e 's/^/UTC(0) /' | grep '\[AUDIT\]'"
Adding file "audit_today"
Executing command "ip a"
Adding file "ip_a"
Executing command "docker ps -a"
Adding file "docker_ps"
Executing command "docker image ls"
Adding file "docker_image_ls"
Executing command "systemctl --type=service"
Adding file "systemctl_services"
Executing command "mount"
Adding file "mount"
Executing command "df --total -H"
Adding file "df"
Executing command "ps -aux"
Adding file "ps"
Executing command "timedatectl"
Adding file "timedatectl"
Executing command "apk list --installed"
Adding file "apk_packages"
Executing command "apt list --installed"
Adding file "apt_packages"
Executing command "yum list installed"
Adding file "yum_packages"
Executing command "iptables-save"
Adding file "iptables"
Executing command "ip route"
Adding file "ip_route"
Executing command "dmesg"
Adding file "dmesg"
Executing command "/opt/itcs/bin/token_manager e"
Adding file "token_manager"
Executing command "top -b -d 1 -n 10"
Adding file "top"
Executing command "ls -lR /etc/digsig/keys/"
Adding file "digsig_keys"
Executing command "systemctl list-jobs"
Adding file "systemctl_list-jobs"
Executing command "cat /proc/cpuinfo"
Adding file "cpuinfo"
Executing command "ls -alR /var/lib/infotecs/vpn-kc/data/ks5-service/tokens"
Adding file "ls_tokens"
Executing command "ls -alR /var/lib/infotecs/vpn-kc/data/mftp-service/transport"
Adding file "ls_mftp"
Executing command "/csp/opt/itcs/bin/license status --product=csp_linux"
Adding file "csp_license"
Executing command "zcat /csp/usr/share/doc/*/changelog.gz"
Adding file "csp_version"
Executing command "docker network ls | awk '{print $1}' | xargs docker network inspect"
Adding file "network_inspect"
Executing command "curl -QkS http://localhost:5027/hc 2>/dev/null | jq 2>/dev/null || curl -QkS http://localhost:5027/hc"
Adding file "healthcheck"
Adding file "/var/log/boot.log"
<Skip> Directory "/var/log/infotecs" does not exist
Adding file "/var/log/syslog"
<Skip> Directory "/var/log/nginx" does not exist
<Skip> Directory "/var/log/transport" does not exist
Adding file "/var/log/audit/audit.log"
Adding file "/var/log/audit/audit.log.1"
Adding file "/var/log/daemon.log"
<Skip> Directory "/usr/share/infotecs/prime/deployment/core-ms" does not exist
<Skip> Directory "/usr/share/infotecs/prime/deployment/vpn-ms" does not exist
Executing command "vipnetclient info"
Adding file "vpnclient_info"
Executing command "vipnetclient list --nodes"
Adding file "vpnclient_list"
<Skip> File "/usr/share/infotecs/pmm/security-policies.json" does not exist
Inspecting Docker Containers
<Skip> File "inspect_docker_containers" does not exist
Adding services log files
Executing command "journalctl -o short-precise --utc --no-hostname  -u dst-service.service | sed -e 's/^/UTC(0) /'"
Adding file "/var/log/infotecs/dst-service.service.log"
Executing command "journalctl -o short-precise --utc --no-hostname  -u hw-service.service | sed -e 's/^/UTC(0) /'"
Adding file "/var/log/infotecs/hw-service.service.log"
Executing command "journalctl -o short-precise --utc --no-hostname  -u kc-web-api-service.service | sed -e 's/^/UTC(0) /'"
Adding file "/var/log/infotecs/kc-web-api-service.service.log"
Executing command "journalctl -o short-precise --utc --no-hostname  -u ks4-service.service | sed -e 's/^/UTC(0) /'"
Adding file "/var/log/infotecs/ks4-service.service.log"
Executing command "journalctl -o short-precise --utc --no-hostname  -u ks5-service.service | sed -e 's/^/UTC(0) /'"
Adding file "/var/log/infotecs/ks5-service.service.log"
Executing command "journalctl -o short-precise --utc --no-hostname  -u mftp-service.service | sed -e 's/^/UTC(0) /'"
Adding file "/var/log/infotecs/mftp-service.service.log"
Executing command "journalctl -o short-precise --utc --no-hostname  -u pin_source_proxy.service | sed -e 's/^/UTC(0) /'"
Adding file "/var/log/infotecs/pin_source_proxy.service.log"
Executing command "journalctl -o short-precise --utc --no-hostname  -u auth-service.service | sed -e 's/^/UTC(0) /'"
Adding file "/var/log/infotecs/auth-service.service.log"
Executing command "journalctl -o short-precise --utc --no-hostname  -u prime-control.service | sed -e 's/^/UTC(0) /'"
Adding file "/var/log/infotecs/prime-control.service.log"
Executing command "journalctl -o short-precise --utc --no-hostname  -u settings-service.service | sed -e 's/^/UTC(0) /'"
Adding file "/var/log/infotecs/settings-service.service.log"
Executing command "journalctl -o short-precise --utc --no-hostname  -u silso.service | sed -e 's/^/UTC(0) /'"
Adding file "/var/log/infotecs/silso.service.log"
Executing command "journalctl -o short-precise --utc --no-hostname  -u silso-management.service | sed -e 's/^/UTC(0) /'"
Adding file "/var/log/infotecs/silso-management.service.log"
Executing command "journalctl -o short-precise --utc --no-hostname  -u nginx.service | sed -e 's/^/UTC(0) /'"
Adding file "/var/log/infotecs/nginx.service.log"
Executing command "journalctl -o short-precise --utc --no-hostname  -u postgresql.service | sed -e 's/^/UTC(0) /'"
Adding file "/var/log/infotecs/postgresql.service.log"
<Skip> Directory "/usr/share/infotecs" does not exist
<Skip> Directory "/usr/share/infotecs" does not exist
File created at "/home/administrator/Desktops/Desktop1/Prime lite/Prime_Management_Services_(Disk_1)/info_2026-09-24-16-18-30.tar.gz"
administrator@astra-666:~/Desktop/Prime lite/Prime_Management_Services_(Disk_1)$