| Sv translation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
С помощью тестовой утилиты pushapi-util можно отправить в Traffic Monitor события для любых встроенных сервисов и классов, используя встроенный плагин Device Monitor.
Примеры отправки событий класса ПочтаПример 1: Чтобы отправить в Traffic Monitor событие класса Почта сервиса
Где В Консоли управления Traffic Monitor событие будет выглядеть следующим образом: Пример 2: Чтобы отправить в Traffic Monitor событие класса Почта сервиса
Пример отправки событий класса БеседаПример 1:Чтобы отправить в Traffic Monitor событие класса Беседа для мессенджера ICQSkype, содержащее метаинформацию об отправителях, используйте команду вида:
Атрибуты Пример 2: Чтобы отправить в Traffic Monitor событие класса Беседа для мессенджера Skype, содержащее метаинформацию об отправителях, используйте команду вида:
Здесь для отправителей сообщений указана метаинформация, включающая в себя отображаемое имя и логин отправителя. В Консоли Управления Traffic Monitor событие будет выглядеть следующим образом: Примеры отправки событий класса Печать, копирование и сканированиеЧтобы отправить в Traffic Monitor событие класса Печать, копирование и сканирование сервиса
и
Атрибуты
Здесь для отправителей сообщений указана метаинформация, включающая в себя отображаемое имя и логин отправителя. В Консоли Управления Traffic Monitor событие будет выглядеть следующим образом: Примеры отправки событий класса Печать, копирование и сканированиеЧтобы отправить в Traffic Monitor событие класса Интернет-активность одноименного сервиса Печать, копирование и сканирование сервиса
Где Атрибуты Пример отправки событий класса ФотосъемкаЧтобы отправить в Traffic Monitor событие класса Фотосъемка, используйте команду вида:
и
Примеры отправки событий класса Обмен файламиАтрибуты Атрибуты
Атрибуты Примеры отправки событий класса Интернет-активностьЧтобы отправить в Traffic Monitor событие класса Обмен файлами сервиса
Где Событие в Консоли управления Traffic Monitor: Пример 2: – это файл, содержащий POST-запрос. В нашем примере в передаваемом запросе присутствует фраза строго конфиденциально. При настроенных политиках защиты данных событие будет выглядеть следующим образом: Атрибуты Пример отправки событий класса ФотосъемкаЧтобы отправить в Traffic Monitor событие класса Обмен файлами сервиса
Примеры отправки событий класса Обмен файламиАтрибуты Пример 3 обязательны для событий сервисов Атрибуты Пример 1: Чтобы отправить в Traffic Monitor событие класса Обмен файлами сервиса
Событие в Консоли управления Traffic Monitor: Пример 42: Чтобы отправить в Traffic Monitor событие класса Обмен файлами сервиса
Пример 53: Чтобы отправить в Traffic Monitor событие класса Обмен файлами сервиса
Событие в Консоли управления Traffic Monitor: Пример 64: Чтобы отправить в Traffic Monitor событие класса Обмен файлами для мессенджера ICQ сервиса
Пример 5: Чтобы отправить в Traffic Monitor событие класса Обмен файлами для мессенджера Skype сервиса
Пример 6: Чтобы отправить в Traffic Monitor событие класса Звонок сервиса
Событие содержит аудиофайл
Пример отправки события класса ЗвонокЧтобы отправить в Traffic Monitor событие класса Запись мультимедиа, используйте Звонок сервиса
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Sv translation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
With the help of pushapi-util test utility, you can send events for any built-in services and classes to Traffic Monitor using the built-in Device Monitor plugin. Информация | | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
sound_msg.wav,call_duration:7 |
Событие содержит аудиофайл sound_msg.wav, а длительность разговора составляет 7 секунд. В Консоли управления Traffic Monitor аудиофайл будет доступен для скачивания. Атрибуты receiver, data и call_duration обязательны для событий класса Звонок сервиса Мессенджеры.
Примеры отправки событий класса Запись мультимедиа
Чтобы отправить в Traffic Monitor событие класса Запись мультимедиа, используйте команду вида:
| Блок кода | ||
|---|---|---|
| ||
pushapi-util \ --host TM_host \ --token deviceyour_monitorplugin_token_value \ --id iw \ --class emailmultimedia \ --service emailvideosof \ --evtattr event_name:"Send email" \ --sender email:"mail_sender@mail.ruVideo event" \ --receiver emailws:"mail_receiver1@mail.ru" \ --receiver email:"mail_receiver2@mail.ruws1.domain.org",workstation_type:"ws_type_computer" \ --data filedata file:/root/test_email.eml |
In the command above, test_email.eml is a file that contains the message. The data, sender and receiver attributes are required.
Example 2
video.avi |
| Sv translation | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
With the help of pushapi-util test utility, you can send events for any built-in services and classes to Traffic Monitor using the built-in Device Monitor plugin.
Examples on how to send events of Email classExample 1: To send an Email class event of
Examples on how to send events of Chat classExample 1: To send a Chat class event for ICQ applicationIn the command above, In Traffic MonitorManagement console, the event looks as follows:
Example 2: To send anEmail event of
The
Examples on how to send events of Chat classExample: To send a Chat class event for Skype application to Traffic Monitor, use the command below. Note that in this example the event contains metadata about senders.
The sender metadata includes the displayed name and Skype login name of a sender. In Traffic MonitorManagement console, the event looks as follows:
Examples on how to send events of Printers and MFPs classTo send a Printers and MFPs class event of
and Printers and MFPs class event of
receiver anddata attributes are required. The command should also contain one of the following attributes:filename or print_job_name.Example on how to send events of Internet Activity classTo send anInternet Activity class event ofWeb_common service to Traffic Monitor, use the command below:
and
In the command above, The data andreceiver attributes are required
The Example on how to send eventsof Photoof Internet Activity classThere are no built-in services to send Photo class events. Register your own service and To send anInternet Activity class event of
In the command above, Examples on how to send events of File Exchange classThereceiver,data and destination_file_path attributes are required for events of Cloud storage,Terminal session,Network resourse,FTPand External device services.The receiver anddata attributes are required for File Exchangeclass events of Messengers service.Example 1: To send File Exchangeclass event of The Example on how to send events of Photo classTo send a Photo class event to Traffic Monitor, use the command below:
Examples on how to send events of File Exchange classThe
Example 2 attributes are required for events of The Example 1: To send a File exchange Exchangeclass event of
In Traffic MonitorManagement console, the event looks as follows:
Example 2: To send a File exchange class event of
In Traffic Monitor Management console, the event looks as follows: Example 4
Example 3: To send a File exchange class event of
In Traffic Monitor Management console, the event looks as follows: Example 54: To send aFile exchange class event of
Example 65: To send a File exchange class event for ICQ application of
Example 7: To send a File exchange class event for Skype application to Traffic Monitor, use the command below:
Example on how to send events of Call classTo send a Call class event of
The event contains Examples on how to send events of Recording media classThere are no built-in services to send events of To send a Recording media class . Register your own service and event to Traffic Monitor, use the command below:
|









