| Sv translation | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
С помощью тестовой утилиты pushapi-util можно отправить в Traffic Monitor события для любых встроенных сервисов и классов, используя встроенный плагин Device Monitor.
Примеры отправки событий класса ПочтаПример 1: Чтобы отправить в Traffic Monitor событие класса Почта сервиса
Где В Консоли управления Traffic Monitor событие будет выглядеть следующим образом: Пример 2: Чтобы отправить в Traffic Monitor событие класса Почта сервиса
Примеры отправки событий класса БеседаПример 1: Чтобы отправить в Traffic Monitor событие класса Беседа для Беседа для мессенджера SkypeICQ, содержащее метаинформацию об отправителях, используйте команду вида:
Здесь для отправителей сообщений указана метаинформация, включающая в себя отображаемое имя и логин отправителя. В Консоли Управления Traffic Monitor событие будет выглядеть следующим образом: Примеры отправки событий класса Печать, копирование и сканирование Атрибуты Пример 2: Чтобы отправить в Traffic Monitor событие класса Беседа для мессенджера Skype, содержащее метаданные отправителей, используйте команду вида:
Здесь для отправителей сообщений указаны метаданные, включающие в себя отображаемое имя и логин отправителя. В Консоли управления Traffic Monitor событие будет выглядеть следующим образом: Примеры отправки событий класса Печать, копирование и сканированиеЧтобы отправить в Traffic Monitor событие класса Печать, копирование и сканирование сервиса
и
Атрибуты Примеры отправки событий класса Интернет-активностьЧтобы отправить в Traffic Monitor событие класса Интернет-активность одноименного сервиса, используйте команду следующего вида:
Где Атрибуты Пример отправки событий класса ФотосъемкаЧтобы отправить в Traffic Monitor событие класса Фотосъемка, используйте команду вида:
Примеры отправки событий класса Обмен файламиАтрибуты Атрибуты Пример 1: Чтобы отправить в Traffic Monitor событие класса Печать, копирование и сканирование сервиса
и
Событие в Консоли управления Traffic Monitor: Пример 2: Чтобы отправить в Traffic Monitor событие класса Обмен файлами сервиса
Атрибуты
Пример 3: Чтобы отправить в Traffic Monitor событие класса Интернет-активность одноименного сервиса Обмен файлами сервиса
Где Атрибуты
Событие в Консоли управления Traffic Monitor: Пример 4: Чтобы отправить в Traffic Monitor событие класса Фотосъемка Обмен файлами сервиса
Примеры отправки событий класса Обмен файламиАтрибуты Атрибуты
Пример 5: Чтобы отправить в Traffic Monitor событие класса Обмен файлами сервиса
Событие в Консоли управления Traffic Monitor: Пример 26: Чтобы отправить в Traffic Monitor событие класса Обмен файлами сервиса
Пример 37: Чтобы отправить в Traffic Monitor событие класса Обмен файлами сервиса
Событие в Консоли управления Traffic Monitor: Пример 4:
Пример отправки события класса ЗвонокЧтобы отправить в Traffic Monitor событие класса Обмен файлами Звонок сервиса
Событие содержит аудиофайл Примеры отправки событий класса Запись мультимедиаЧтобы отправить в Traffic Monitor событие класса Обмен файлами сервиса
Пример 6: Чтобы отправить в Traffic Monitor событие класса Обмен файлами для мессенджера Skype, используйте команду вида
|
| 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
Пример отправки события класса ЗвонокЧтобы отправить в Traffic Monitor событие класса Звонок сервисаМессенджеры, используйте команду вида
In the command above, In Traffic MonitorManagement console, the event looks as follows:
Example 2: To send anEmail event of
Событие содержит аудиофайл Примеры отправки событий класса Запись мультимедиаЧтобы отправить в Traffic Monitor событие класса Запись мультимедиа, используйте команду вида
Examples on how to send events of Chat classExample 1: To send a Chat class event for ICQ application to Traffic Monitor, use the command below:
| ||||||||||||||||||||||
| 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. Информация | | |||||||||||||||||||||
|
icq:IcqReceiver \
--mes icq:IcqSender,"Confidential information" |
The mes and receiver attributes are required.
Example 2:
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.
| Блок кода | ||
|---|---|---|
| ||
pushapi-util \ --host TM_host \ --token device_monitor_token_value \ --id iw \ --class emailimchat \ --service emailim_skype \ --evtattr event_name:"Send email event_name:"Skype event" \ --mes "skype:349051292:'{\"display_name\":\"SkypeUser1\",\"login\":\"user1_skype\"}'","Confidential information" \ --sender email:"mail_sender@mail.ru" \ --receiver email:"mail_receiver1@mail.ru" \ --receiver email:"mail_receiver2@mail.ru" \ --data 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.
mes "skype:349051100:'{\"display_name\":\"SkypeUser2\",\"login\":\"user2_skype\"}'","Thank you" |
The sender metadata includes the displayed name and Skype login name of a sender. In Traffic MonitorManagement console, the event looks as follows:
Example 2:
Examples on how to send events of Printers and MFPs class
To send anEmail a Printers and MFPs class event of Web email Print service to Traffic Monitor, use the command below:
| Блок кода | ||
|---|---|---|
| ||
pushapi-util \ --host TM_host \ --token device_monitor_token_value \ --id iw \ --class emailmfp \ --service email_webprint \ --evtattr event_name:"SendPrint email_webevent" \ --senderreceiver emaildev:"mail_sender@mail.ru" \ --receiver email:"mail_receiver1@mail.ruSome Printer Name" \ --data file:/root/test_email.eml |
Examples on how to send events of Chat class
Example:
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./test.png,filename:test.png |
and
| Блок кода | ||
|---|---|---|
| ||
pushapi-util \ --host TM_host \ --token device_monitor_token_value \ --id iw \ --class imchatmfp \ --service im_skype \ --evtattr event_name:"Skype event" \ --mes "skype:349051292:'{\"display_name\":\"SkypeUser1\",\"login\":\"user1_skype\"}'","Confidential informationprint \ --evtattr event_name:"Print event" \ --mes "skype:349051100:'{\"display_name\":\"SkypeUser2\",\"login\":\"user2_skype\"}'","Thank you" |
Examples on how to send events of Printers and MFPs class
To send a Printers and MFPs class event of Print service to Traffic Monitor, use the command below:
| Блок кода | ||
|---|---|---|
| ||
pushapi-util \
--host TM_host \
--token device_monitor_token_value \
--id iw \
--class mfp \
--service print \
--evtattr event_name:"Print event" \
--receiver dev:"Some Printer Name" \
--data file:/root/test.png,filename:test.png |
and
receiver dev:"Some Printer Name",print_port_name:"Some print port name",print_location:"Some print location" \
--data file:/root/test.png,print_copies:3,print_job_name:"Some print job name" |
The 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 class
To send anInternet Activity class event of Web_common service to Traffic Monitor, use the command below:
| Блок кода | ||
|---|---|---|
| ||
pushapi-util \ --host TM_host \ --token device_monitor_token_value \ --id iw \ --class mfpweb \ --service printweb_common \ --evtattr event_name:"PrintWeb eventevent1" \ --receiver devres:"Some Printer Namedrive.google.com",printres_portdestination_name:"Some print port name",print_location:"Some print location" url:"/file/test" \ --data file:/root/test.png,print_copies:3,print_job_name:"Some print job name" |
receiver anddata attributes are required. The command should also contain one of the following attributes:filename or print_job_nameroot/test |
In the command above, test is a file that contains a POST query. In our example, the query contains the strictly confidential phrase. When you configure data protection policies, the event looks as follows:
Thedata andreceiver attributes are required.
Example on how to send events
of Internet Activityof Photo class
To send anInternet Activity class event of Web_common service to a Photo class event to Traffic Monitor, use the command below:
| Блок кода | ||
|---|---|---|
| ||
pushapi-util \ --host TM_host \ --token deviceyour_monitorplugin_token_value \ --id iw \ --class webphoto \ --service web_commonphotosof \ --evtattr event_name:"WebPhoto event1event" \ --receiver resws:"drivews1.googledomain.comorg",resworkstation_destination_urltype:"/file/testws_type_computer" \ --data filedata file:/root/test |
In the command above, test is a file that contains a POST query. In our example, the query contains the strictly confidential phrase. When you configure data protection policies, the event looks as follows:
The
data andreceiver attributes are required.Example on how to send events of Photo class
To send a Photo class event to Traffic Monitor.png,filename:test.png |
Examples on how to send events of File Exchange class
The receiver,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 Cloud Storage service, use the command below:
| Блок кода | ||
|---|---|---|
| ||
pushapi-util \ --host TM_host \ --token yourdevice_pluginmonitor_token_value \ --id iw \ --class photofileexch \ --service photosofcloud_storage \ --evtattr event_name:"Photocloud_storage event" \ --sender auth:user_name@iw \ --receiver wsres:"ws1.domain.org",workstation_type:"ws_type_computer"googledrive.com,res_destination_url:"goodledrive.com/user/folder/" \ --data filedata file:/root/test.png,filename:test.png |
Examples on how to send events of File Exchange class
Thereceiver, |
data and destination_file_path |
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:"Send file here" |
In Traffic MonitorManagement console, the event looks as follows:
Example 2:
To send a File Exchangeexchange class event of Cloud Storage service Terminal session service to Traffic Monitor, use the command below:
| Блок кода | ||
|---|---|---|
| ||
pushapi-util \ --host TM_host \ --token device_monitor_token_value \ --id iw \ --class fileexch \ --service cloudterminal_storagesession \ --evtattr event_name:"cloudterminal_storagesession event" \ --sender auth:user_name@iwphone:+79057777777 \ --receiver res:googledrive.com,res_destination_url:"goodledrive.com/user/folder/" --receiver res:root@test.com \ --data file:/root/test.png,destination_file_path:"Send file here" |
Example 2
test.com/folder" |
Example 3:
To send a File exchange class event of Terminal session Network resources service to Traffic Monitor, use the command below:
| Блок кода | ||
|---|---|---|
| ||
pushapi-util \ --host TM_host \ --token device_monitor_token_value \ --id iw \ --class fileexch \ --service terminal_session network_resource \ --evtattr event_name:"network_resource event" \ --evtattr event_name:"terminal_session event" \ --sender phone:+79057777777sender "auth:user_name@iw:'{\"display_name\":\"friend\",\"login\":\"villain\"}'" \ --receiver res:test.com,res:root@test.com _destination_url:"test.com/folder/ " \ --data file:/root/test.png,destination_file_path:"test.com/folder" |
file_path:"Send file here" |
In Traffic Monitor Management console, the event looks as follows:
Example 4:
To send aFile exchange class event of Network resources FTP service to Traffic Monitor, use the command below:
| Блок кода | ||
|---|---|---|
| ||
pushapi-util \ --host TM_host \ --token device_monitor_token_value \ --id iw \ --class fileexch \ --service network_resourceftp \ --evtattr event_name:"network_resourceFTP eventEvent" \ --sender "auth:user_name@iw:'{\"display_name\":\"friend\",\"login\":\"villain\"}'" \ --receiver res:testftp.site.comorg,res_destination_url:"test.com/folder/ " catalog\catalog\res.file" \ --data file:/root/test.png,destination_file_path:"Send file here" |
In Traffic Monitor Management console, the event looks as follows:
Example 45:
To send a File exchange class event of FTP External device service to Traffic Monitor, use the command below:
| Блок кода | ||
|---|---|---|
| ||
pushapi-util \ --host TM_host \ --token device_monitor_token_value \ --id iw \ --class fileexch \ --service ftpfile_copy_removable \ --evtattr event_name:"FTPCopy Event" \ --sender login:villainfile on device" \ --receiver res:ftp.site.org,res_destination_url:"catalog\catalog\res.filedev:"Removable device" \ --data file:/root/test.png,source_file_path:"Copy from here",destination_file_path:"Send fileSend file here" |
Example 56:
To send a File exchange class event of External device service for ICQ application to Traffic Monitor, use the command below:
| Блок кода | ||
|---|---|---|
| ||
pushapi-util \ --host TM_host \ --token device_monitor_token_value \ --id iw \ --class fileexch \ --service fileim_copy_removableicq \ --evtattr event_name:"CopyICQ fileFile onTransfer deviceEvent" \ --receiver devicq:"RemovableIcqReceiver device" \ --data file:/root/test.png,source_file_path:"Copy from here",destination_file_path:"Send file here" |
Example 7:
To send a File exchange class event for Skype application to Traffic Monitor, use the command below:
| Блок кода | ||
|---|---|---|
| ||
pushapi-util \ --host TM_host \ --token device_monitor_token_value \ --id iw \ --class fileexch \ --service im_skype \ --evtattr event_name:"Skype File Transfer Event" \ --sender skype:SkypeSender \ --receiver skype:SkypeReceiver1 \ --receiver skype:SkypeReceiver2 \ --data file:/root/test.png,filename:test.png |
Example on how to send events of Call class
To send a Call class event of Messengers service to Traffic Monitor, use the command below:
| Блок кода | ||
|---|---|---|
| ||
pushapi-util \ --host TM_host \ --token device_monitor_token_value \ --id iw \ --class voicetalk \ --service im_skype \ --evtattr event_name:"Skype Voice Talk" \ --sender skype:SkypeSender \ --receiver skype:SkypeReceiver \ --data file:/root/sound_msg.wav,call_duration:7 |
The event contains sound_msg.wav audio file with the call duration of 7 seconds. The file is available for download in Traffic Monitor Management Console. The receiver, data and call_duration attributes are required for Call event classes of Messengers service.
Examples on how to send events of Recording media class
To send a Recording media class event to Traffic Monitor, use the command below:
| Блок кода | ||
|---|---|---|
| ||
pushapi-util \ --host TM_host \ --token your_plugin_token_value \ --id iw \ --class multimedia \ --service videosof \ --evtattr event_name:"Video event" \ --receiver ws:"ws1.domain.org",workstation_type:"ws_type_computer" \ --data file:/root/video.avi |









