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

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

Ключ

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

Для упрощения переноса конфигурации на другой сервер в Traffic Monitor реализована возможность экспортировать и импортировать группы персон и компьютеров.

Информация
titleПримечание:

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

Для экспорта убедитесь, что конфигурация Traffic Monitor не находится в процессе редактирования, а пользователю назначена привилегия Импорт и экспорт организационной структуры. В процессе экспортируются все группы, персоны, компьютеры и их статусы.

Чтобы экспортировать из Traffic Monitor группы персон:

  1. Перейдите в раздел Персоны.
  2. Нажмите .
  3. В списке выберите Экспортировать группы.
    Image RemovedImage Added
  4. Система подготовит данные для экспорта, прогресс будет отображен в правом нижнем углу.
    В результате на компьютер будет сохранен zip-архив, содержащий xml-файл с описанием элементов конфигурации. В названии архива указана дата экспорта. Пример названия архива: iwtm-group-20231213_141243.zip.
    С помощью архива вы можете импортировать элементы конфигурации на другой сервер.

Для импорта групп персон необходимо сначала применить конфигурацию. Убедитесь, что конфигурация Traffic Monitor применена, а пользователю назначена привилегия Импорт и экспорт организационной структуры.

Чтобы импортировать группы персон в Traffic Monitor:

  1. Перейдите в раздел Персоны.
  2. Нажмите .
  3. В списке выберите Импортировать группы.
  4. В открывшемся окне укажите ранее экспортированный zip-архив, содержащий описание групп персон.
  5. Дождитесь завершения импорта данных, прогресс будет отображен в правом нижнем углу.
  6. Примените конфигурацию и обновите страницу, чтобы добавленные группы, персоны, компьютеры и статусы отобразились в консоли управления Traffic Monitor.
    Новые статусы появятся в разделе разделе Списки, в подразделе Статусы.
    Персонам и компьютерам будут назначены статусы в соответствии с импортируемой конфигурацией. Время назначения статусов персонам и компьютерам будет соответствовать времени, указанному в импортируемой конфигурации.

Особенности экспорта и импорта организационной структуры

Особенности экспорта:

  • Экспортируется только примененная конфигурация.
  • Экспортируются только сущности, созданные или отредактированные в Traffic Monitor. Контакты и атрибуты экспортируются с привязкой к персоне.
    Пример: если персона была добавлена в Систему в результате LDAP-синхронизации, экспортированы будут только атрибуты и контакты, которые были добавлены или отредактированы в Traffic Monitor.
  • Удаленные сущности не экспортируются.

Особенности импорта:

  • При импорте сохраняется иерархия групп.
  • Для импорта групп, персон или компьютеров, добавленных при LDAP-синхронизации, в Системе должна быть аналогичная сущность, иначе произойдет ошибка. Но остальной процесс импорта продолжится.
  • Если у имеющейся в Системе и импортируемой сущностей совпадают имена, но отличаются идентификаторы (ID), сущность не будет импортирована.
  • Если у имеющейся в Системе и импортируемой сущностей совпадают идентификаторы (ID), но отличаются имена, сущность будет импортирована.
  • При совпадении имен и идентификаторов будут добавлены новые контакты и атрибуты, но если они уже присутствуют:
    • для сущностей, созданных при LDAP-синхронизации, имеющиеся контакты и атрибуты будут заменены на значения из файла.
    • для сущностей, созданных в Traffic Monitor, имеющиеся контакты и атрибуты останутся без изменений.

Ошибки при импорте организационной структуры

Если при импорте произойдет ошибка, Traffic Monitor не прервет процесс, а перейдет к обработке следующего импортируемого элемента конфигурации.

При наличии ошибок по завершении импорта Traffic Monitor сформирует отчет в виде текстового файла. В окне импорта конфигурации в правом нижнем углу появится уведомление о сформированном отчете.
Чтобы скачать отчет на ваш компьютер, после текста уведомления нажмите .

Отчет содержит записи обо всех ошибках, которые произошли в процессе только что завершенного импорта конфигурации. Если при следующем импорте конфигурации Traffic Monitor сформирует отчет, он будет содержать записи только о новых ошибках.
Записи об ошибках в отчете указаны в хронологическом порядке. Запись содержит тип ошибки и информацию об объекте, при импорте которого она произошла.

В таблице ниже представлены типы ошибок:

Тип ошибки в файлеОписание
group_not_foundИмя и тип объекта (группы/персоны/компьютера) в импортируемом файле совпадет с именем и типом в Системе, но их идентификаторы не совпадают
person_not_found
workstation_not_found
ldapgrouptogroup_not_foundДля импортируемого LDAP-объекта (группа/персона/компьютер) не найдена соответствующая ему группа
ldappersontogroup_not_found
ldapworkstationtogroup_not_found
ldappersontoworkstation_not_foundДля импортируемого LDAP-объекта (персона) не найден соответствующий ему компьютер
group_save_failedОшибка сохранения объекта (группы/персоны/компьютера)
person_save_failed
workstation_save_failed
Информация
titleПримечание:
При ошибке сохранения объекта (failed) в записи указывается блок errors. В нем указаны поля, при валидации которых возникла ошибка.
Sv translation
languageen

To make it easier to move the configuration to another server, Traffic Monitor allows the user to export and import groups of persons and computers.

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

If the user has restricted access to groups of persons in the visibility scope, that user is not allowed to export and import groups of persons, regardless of their role and privileges.

Before the export, make sure that Traffic Monitor configuration is not being edited and the user has theImport and export of organizational structure privilege. All groups, persons, computers and their statuses are to be exported.

To export groups of persons from Traffic Monitor:

  1. Go to the Persons section.
  2. Click .
  3. In the list, select Export groups.
    Image RemovedImage Added
  4. The System will prepare the data to be exported, the progress will be displayed in the lower right corner. As a result, a ZIP archive will be saved to the computer. The archive contains an XML file with a desription description of configuration elements. The archive name includes the date of the export, for example: iwtm-group-20231213_141243.zip.
    You can use the archive to import configuration elements to another server.

To import groups of persons, you should first apply a configuration. Make sure that the configuration has been applied and the user has theImport and export of organizational structure privilege.

To import groups of persons to Traffic Monitor:

  1. Go to the Persons section.
  2. Click .
  3. From a drop-down list, select Import groups.
  4. In the window that opens, select an earlier exported ZIP archive with a description of groups of persons.
  5. Wait for the data import to complete, the progress will be displayed in the lower right corner.
  6. Apply the configuration and refresh the page. After that, added groups, persons, computers and statuses will be displayed in the Traffic Monitor Management Console.
    New statuses will be displayed in the Statuses subsection of the Lists section.
    Persons and computers will get their statuses according to the imported configuration. The time when the statuses are assigned to persons and computers is also defined by the imported configuration.

Features of exporting and importing the

organzational

organizational structure

Features of export:

  • Only applied configuration can be exported.
  • Only entities that have been created or edited in Traffic Monitor can be exported. When exporting contatcs contacts and attributes, they are linked to persons.
    Example: if a person was added to the System after LDAP synchronization, only those attributes and contacts that have been edited in Traffic Monitor can be exported.
  • Deleted entities are not to be exported.

Features of import:

  • When importing groups, the hierarchy of groups is preserved.
  • To successfully import groups, persons or computers that were added during LDAP synchronization, there should be a similar entity in the System. Otherwise, an error will occur, however, the import process will continue.
  • If an entity being imported and an entity in the System have the same names but different identifiers (ID), the entity will not be impotedimported.
  • If an entity being imported and an entity in the System have the same identifiers (ID) but different names, the entity will be imported.
  • If both the names and the identifiers match, new contacts and attributes will be added to the entity. If the entity already has attributes and contacts, then:
    • for entities created after LDAP synchronization, existing contacts and attributes will be replaces with values from the file;
    • for entities created in Traffic Monitor, existing contacts and attributes will remain unchanged.

Errors while importing the organizational structure

If an error occurs, importing will not be aborted, but Traffic Monitor will process the next configuration element being imported.

If there are errors, Traffic Monitor will make a report as a text file when importing is finished. The notification about the generated report will appear in the lower right corner of the configuration importing window.

To download the report on your computer, click download_report.png after the notification text.

The report contains records about all errors that occurred during the importing. If the report is generated during the next importing, it will only contain new error records. Error records in the report are listed in chronological order. The record contains an error type and information about the object that caused the error.

The error types are listed in the table below:

Error type in the fileDescription
group_not_found

An object (group/person/computer) being imported and an object in the System have the same names and the same types, but different identifiers (ID)

person_not_found
workstation_not_found
ldapgrouptogroup_not_found

The System cannot find the related group for the LDAP object (group/person/computer) being imported

ldappersontogroup_not_found
ldapworkstationtogroup_not_found
ldappersontoworkstation_not_found

The System cannot find the related computer for the LDAP object (person) being imported

group_save_failed

Error while saving an object (group/person/computer)

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

If an error while saving an object (failed) occurs, the record will contain the errors part. Fields that caused the validation error are listed in this part.