Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space DML and version 7.21
Sv translation
languageru

Чтобы передать дополнительные настройки технологий перехвата на Агенты без их обновления, используйте утилиту AgentConfigurationUploader.

Предупреждение
titleВажно!

Вы можете применить утилиту только для обновления конфигурации контроля мессенджера Telegram. Для ее использования обновите Агенты до версии 7.19 или более поздней (подробнее см. Обновление Агентов Device Monitor).

Запускать AgentConfigurationUploader.dll необходимо в директории, где установлен сервер Device Monitor.

Чтобы добавить конфигурацию на Агент, в терминале введите следующую команду:

Раскрыть
titleКоманда добавления конфигурации на все Агенты
Блок кода
languagetext
dotnet AgentConfigurationUploader.dll add --DbType PostgreSql --ConnectionString “Server=<Server_name>; Port=<Port>; Database=<Database_name>; User Id=<User_name>; Password=<Database_password>; “ --ObjectType All --Name <Configuration_name> --Description “<Description>” --Format <File_format> --ConfigFile “<File_path>”

где <Server_name> – имя сервера, на котором располагается СУБД,

<Port> – порт настройки взаимодействия СУБД и Сервера (по умолчанию 5432),

<Database_name> – имя базы данных,

<User_name> – имя пользователя СУБД,

<Database_password> – пароль СУБД,

<Configuration_name> –

уникальное

имя конфигурации

(например, telegram)

,

<Description> – описание вносимых изменений (любая текстовая информация),

<File_format> – формат файла конфигурации

в произвольном виде

,

<File_path> – путь к файлу конфигурации. При указании только имени файла путь по умолчанию берется из директории запуска команды.

Блок кода
languagetext
titleПример команды
dotnet AgentConfigurationUploader.dll add --DbType PostgreSql --ConnectionString "Server=localhost; Port=5432; Database=dmdevel; User Id=postgres; Password=pwd; " --ObjectType All --Name telegram --Description "конфигурация" --Format gz --ConfigFile "D:\\Temp\\tg.gz"
Раскрыть
titleКоманда добавления конфигурации на определенный Агент
Блок кода
languagetext
dotnet AgentConfigurationUploader.dll add --DbType PostgreSql --ConnectionString “Server=<Server_name>; Port=<Port>; Database=<Database_name>; User Id=<User_name>; Password=<Database_password>; “ --ObjectType Workstation --ObjectId “<Workstation_Id>” --Name <Configuration_name> --Description “<Description>” --Format <File_format> --ConfigFile “<File_path>”

где <Server_name> – имя сервера, на котором располагается СУБД,

<Port> – порт настройки взаимодействия СУБД и Сервера (по умолчанию 5432),

<Database_name> – имя базы данных,

<User_name> – имя пользователя СУБД,

<Database_password> – пароль СУБД,

<Workstation_Id> – уникальный идентификатор компьютера с Агентом. Чтобы его узнать:

  1. Перейдите в раздел Группы > Компьютеры;
  2. Откройте консоль разработчика, нажав F12;
  3. В ней перейдите в Сеть > Ответ, дополнительно выбрав Fetch/XHR;
  4. В столбце Имя выберите рабочую станцию;
  5. В запросе GetWorkstation найдите параметр id нужного компьютера и скопируйте его значение 

<Configuration_name> –

уникальное

имя конфигурации

(например

,

telegram),

<Description> – описание вносимых изменений (любая текстовая информация),

<File_format> – формат файла конфигурации

в произвольном виде

,

<File_path> – путь к файлу конфигурации. При указании только имени файла путь по умолчанию берется из директории запуска команды.

Блок кода
languagetext
titleПример команды
dotnet AgentConfigurationUploader.dll add --DbType PostgreSql --ConnectionString "Server=localhost; Port=5432; Database=dmdevel; User Id=postgres; Password=pwd; " --ObjectType Workstation --ObjectId "C6D169D8-AA30-4090-8E81-2734D27A700B" --Name telegram --Description "конфигурация" --Format gz --ConfigFile "D:\\Temp\\tg.gz"
Информация
titleПримечание:

Команда добавляет новую конфигурацию, если ее не было ранее, или обновляет существующую.

Чтобы удалить конфигурацию, введите следующую команду:

Раскрыть
titleКоманда удаления конфигурации на всех Агентах
Блок кода
languagetext
dotnet AgentConfigurationUploader.dll remove --DbType PostgreSql --ConnectionString “Server=<Server_name>; Port=<Port>; Database=<Database_name>; User Id=<User_name>; Password=<Database_password>; “ --ObjectType All --Name <Configuration_name>

где <Server_name> – имя сервера, на котором располагается СУБД,

<Port> – порт настройки взаимодействия СУБД и Сервера (по умолчанию 5432),

<Database_name> – имя базы данных,

<User_name> – имя пользователя СУБД,

<Database_password> – пароль СУБД,

<Configuration_name> –

уникальное имя конфигурации (например, telegram).

имя конфигурации.

Блок кода
languagetext
titleПример команды
dotnet AgentConfigurationUploader.dll add --DbType PostgreSql --ConnectionString "Server=localhost; Port=5432; Database=dmdevel; User Id=postgres; Password=pwd; " --ObjectType All --Name telegram
Раскрыть
titleКоманда удаления конфигурации на определенном Агенте
Блок кода
languagetext
dotnet AgentConfigurationUploader.dll remove --DbType PostgreSql --ConnectionString “Server=<Server_name>; Port=<Port>; Database=<Database_name>; User Id=<User_name>; Password=<Database_password>; “ --ObjectType Workstation --ObjectId “<Workstation_Id>” --Name <Configuration_name>

где <Server_name> – имя сервера, на котором располагается СУБД,

<Port> – порт настройки взаимодействия СУБД и Сервера (по умолчанию 5432),

<Database_name> – имя базы данных,

<User_name> – имя пользователя СУБД,

<Database_password> – пароль СУБД,

<Workstation_Id> – уникальный идентификатор компьютера с Агентом. Чтобы его узнать:

  1. Перейдите в раздел Группы > Компьютеры;
  2. Откройте консоль разработчика, нажав F12;
  3. В ней перейдите в Сеть > Ответ, дополнительно выбрав Fetch/XHR;
  4. В столбце Имя выберите рабочую станцию;
  5. В запросе GetWorkstation найдите параметр id нужного компьютера и скопируйте его значение  

<Configuration_name> –

уникальное имя конфигурации (например, telegram).

имя конфигурации.

Блок кода
languagetext
titleПример команды
dotnet AgentConfigurationUploader.dll add --DbType PostgreSql --ConnectionString "Server=localhost; Port=5432; Database=dmdevel; User Id=postgres; Password=pwd; " --ObjectType Workstation --ObjectId "C6D169D8-AA30-4090-8E81-2734D27A700B" --Name telegram
Sv translation
languageen

To transfer additional interception technology settings to the Agents without updating them, use the AgentConfigurationUploader utility.

Предупреждение
titleImportant!

You can use the utility only to update the configuration of the Telegram messenger control. To use it, update the Agents to version 7.19 or higher (for details, see Обновление Агентов Device Monitor).

You need to run AgentConfigurationUploader.dll in the directory where the Device Monitor server is installed.

To add the configuration to the Agent, run the following command in the terminal:

Раскрыть
titleThe command to add the configuration to all Agents
Блок кода
languagetext
dotnet AgentConfigurationUploader.dll add --DbType PostgreSql --ConnectionString “Server=<Server_name>; Port=<Port>; Database=<Database_name>; User Id=<User_name>; Password=<Database_password>; “ --ObjectType All --Name <Configuration_name> --Description “<Description>” --Format <File_format> --ConfigFile “<File_path>”

where <Server_name> is the name of the server where the DBMS is located,

<Port> is the port for configuring interaction between the DBMS and the Server (default: 5432),

<Database_name> is the name of the database,

<User_name> is the name of the DBMS user,

<Database_password> is the DBMS password,

<Configuration_name> is the configuration name,

<Description> is the description of the changes being made (any textual information),

<File_format> is the format of the configuration file,

<File_path> is the path to the configuration file. If only the file name is specified, the default path is taken from the directory where the command is executed.

Блок кода
languagetext
titleExample command
dotnet AgentConfigurationUploader.dll add --DbType PostgreSql --ConnectionString "Server=localhost; Port=5432; Database=dmdevel; User Id=postgres; Password=pwd; " --ObjectType All --Name telegram --Description "configuration" --Format gz --ConfigFile "D:\\Temp\\tg.gz"
Раскрыть
titleThe command to add the configuration to a specific Agent
Блок кода
languagetext
dotnet AgentConfigurationUploader.dll add --DbType PostgreSql --ConnectionString “Server=<Server_name>; Port=<Port>; Database=<Database_name>; User Id=<User_name>; Password=<Database_password>; “ --ObjectType Workstation --ObjectId “<Workstation_Id>” --Name <Configuration_name> --Description “<Description>” --Format <File_format> --ConfigFile “<File_path>”

where <Server_name> is the name of the server where DBMS is located,

<Port> is the port for configuring interaction between the DBMS and the Server (default: 5432),

<Database_name> is the name of the database,

<User_name> is the name of the DBMS user,

<Database_password> is the DBMS password,

<Workstation_Id> is the unique identifier for the computer with the Agent. To view it:

  1. Go to the section Groups > Computers.
  2. Open the developer console by pressing F12.
  3. In it, go to Network > Response, with Fetch/XHR additionally selected.
  4. In the Name column, select the workstation.
  5. In the GetWorkstation request, find the id parameter of the required computer and copy its value. 

<Configuration_name> is the configuration name,

<Description> is the description of the changes being made (any textual information),

<File_format> is the format of the configuration file,

<File_path> is the path to the configuration file. If only the file name is specified, the default path is taken from the directory where the command is executed.

Блок кода
languagetext
titleExample command
dotnet AgentConfigurationUploader.dll add --DbType PostgreSql --ConnectionString "Server=localhost; Port=5432; Database=dmdevel; User Id=postgres; Password=pwd; " --ObjectType Workstation --ObjectId "C6D169D8-AA30-4090-8E81-2734D27A700B" --Name telegram --Description "конфигурация" --Format gz --ConfigFile "D:\\Temp\\tg.gz"
Информация
titleNote:

The command adds a new configuration if it has not been added before, or updates an existing one.

To delete the configuration, run the following command:

Раскрыть
titleThe command to delete the configuration on all Agents
Блок кода
languagetext
dotnet AgentConfigurationUploader.dll remove --DbType PostgreSql --ConnectionString “Server=<Server_name>; Port=<Port>; Database=<Database_name>; User Id=<User_name>; Password=<Database_password>; “ --ObjectType All --Name <Configuration_name>

where <Server_name> is the name of the server where the DBMS is located,

<Port> is the port for configuring interaction between the DBMS and the Server (default: 5432),

<Database_name> is the name of the database,

<User_name> is the name of the DBMS user,

<Database_password> is the DBMS password,

<Configuration_name> is the configuration name.

Блок кода
languagetext
titleExample command
dotnet AgentConfigurationUploader.dll add --DbType PostgreSql --ConnectionString "Server=localhost; Port=5432; Database=dmdevel; User Id=postgres; Password=pwd; " --ObjectType All --Name telegram
Раскрыть
titleThe command to delete the configuration on a specific Agent
Блок кода
languagetext
dotnet AgentConfigurationUploader.dll remove --DbType PostgreSql --ConnectionString “Server=<Server_name>; Port=<Port>; Database=<Database_name>; User Id=<User_name>; Password=<Database_password>; “ --ObjectType Workstation --ObjectId “<Workstation_Id>” --Name <Configuration_name>

where <Server_name> is the name of the server where the DBMS is located,

<Port> is the port for configuring interaction between the DBMS and the Server (default: 5432),

<Database_name> is the name of the database,

<User_name> is the name of the DBMS user,

<Database_password> is the DBMS password,

<Workstation_Id> is the unique identifier for the computer with the Agent. To view it:

  1. Go to the section Groups > Computers.
  2. Open the developer console by pressing F12.
  3. In it, go to Network > Response, with Fetch/XHR additionally selected.
  4. In the Name column, select the workstation.
  5. In the GetWorkstation request, find the id parameter of the required computer and copy its value.

<Configuration_name> is the configuration name.

Блок кода
languagetext
titleExample command
dotnet AgentConfigurationUploader.dll add --DbType PostgreSql --ConnectionString "Server=localhost; Port=5432; Database=dmdevel; User Id=postgres; Password=pwd; " --ObjectType Workstation --ObjectId "C6D169D8-AA30-4090-8E81-2734D27A700B" --Name telegram