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

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

Ключ

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

Пуск Модуля осуществляется запуском python-скрипта, который организует автоматический запуск внутренних скриптов:

  • скрипт сбора данных из почтовых PST-архивов; 
  • скрипт сбора сообщений с почтового сервера;
  • скрипты для фильтрации сообщений;
  • скрипт для отправки почтовых сообщений на сервер Traffic Monitor.

Настройки работы Модуля задаются в конфигурационном файле (см. "Конфигурирование InfoWatch HEML Adapter"). Заполните значения обязательных параметров. С помощью конфигурационного файла можно включать или отключать стадии работы скрипта (сбор данных, фильтрация, отправка в ТМ), исходя из поставленной задачи.

Примечание
titleПримечание:

Особенности:

  1. При указании путей до файлов следует указывать пути относительно директории /mnt/tmp/. 
  2. Учетная запись пользователя почтового сервера должна предоставлять полный доступ к почтовым ящикам интересующих пользователей (логин и пароль).
  3. При сборе данных не должно быть заархивированных табличных пространств для дат из диапазона, который был указан при конфигурировании. Если такие пространства есть, то их необходимо восстановить перед запуском скрипта.

Чтобы запустить Модуль:

  1. Создайте директорию (можно в ранее созданной директории для установки Модуля), которая будет монтироваться в докер:
    mkdir tmp
  2. Запустите контейнер. При запуске монтируется директория temp_dir, в которую будут сохраняться результаты работы Модуля. В нее можно скопировать файлы, используемые Модулем (aliases, pst).
    docker run -it --network=host -v /home/tmp<temp_dir>:/mnt/tmp/  heml--rm heml_adapter -c /mnt/tmp/<config_path>

После запуска Результаты работы скрипта можно посмотреть во вложенных папках:  /pst, /pst-export, /pst-results. Лог-файлы находятся в папке /logs.

Полученные от Модуля письма становятся доступны пользователю Traffic Monitor как события почты. Такие события имеют несколько дополнительных специфичных атрибутов:

  • Название выгрузки архива;
  • Дата извлечения архива;
  • Имя рабочей станции. 
Sv translation
languageen

To run the Module, you need to run a Python script which automatically runs the following internal scripts:

  • a script for collecting data from mail PST archives 
  • a script for collecting messages from a mail server
  • scripts for filtering messages
  • a script for sending emails to Traffic Monitor.server

The Module operation settings are specified in a configuration file (see "Конфигурирование InfoWatch HEML Adapter"). Please, fill in the required parameters. Depending on your purposes, you can use the configuration file to enable/disable the script stages (data collection, filtering, sending to TM).

Информация
titleNote:

Features:

  1. You should specify paths to files relative to the /mnt/tmp/ directory.
  2. The mail server user account should provide full access to mailboxes of required users (login and password).
  3. When collecting data, there should be no archived tablespaces for dates from the range that was specified during configuration. If such tablespaces exist, they should be restored before running the script.

To run the Module:

  1. Create a directory (you may create it in the directory where the Module is installed), which will be mounted in docker:
    mkdir tmp
  2. Run the container. This initiates mounting the temp_dir directory, which will store results of the Module operation. You can copy files used by the Module (aliases, pst) to this directory.
    docker run -it --network=host -v /home/tmp<temp_dir>:/mnt/tmp/  heml--rm heml_adapter -c /mnt/tmp/<config_path>

After this, you can view the script results in subfolders:  /pst, /pst-export, /pst-results. Log files are located in the /logs folder.

Emails received from the Module are available to Traffic Monitor users and mail events. Such events have the following additional attributes:

  • the archive unloading name;
  • the archive extraction date;
  • the workstation name.