Sending events directly to Activity Monitor works only on agents operating on Windows OS.. The setting Send events directly is applied to the events of user activity only (for example, work in applications and on web-sites, text input, mouse usage, etc.) The simultaneous use of direct (from agent to Activity Monitor) and indirect (through Device Monitor server to Activity Monitor) It is required to events sending is strongly not recommended, as it can lead to the following scenario: In case if an account of the same person is used on agents with different settings of events sending: - the agent on Windows OS where Send events directly is selected,
- and the agent on Linux OS, where only indirect sending can work,
then the person events generated on Linux agent will not be received by Activity Monitor. We recommend to consider this scenario when you plan receiving data from agents, working on both Windows OS and Linux OS, and also on the agents without support of direct sending setting (f. ex., old versions of agents 7.14 or earlier). When you enable the setting Send events directly, you are required to do it simultaneously (within a short period of time) on all the DM Device Monitor servers from which the data are transferred to Activity Monitor server, simultaneously (within a short period of time). . It is not recommended to change the setting back after . Otherwise, statistics generation will not be correct(to sending through Device Monitor server), as this action requires additional changes. In case if this is necessary, complete the following steps: - Forbid data direct receiving on Activity Monitor server, by closing the port TCP 11008 (optional step). For more information on network connections, see InfoWatch Activity Monitor. Installation guide. Configuring Access Network Rules.
- In Device Monitor console disable the Send events directly setting.
- On each Activity Monitor node in the cluster, delete from Clickhouse the data that was generated while the direct sending setting was enabled, using the following commands:
| Блок кода |
|---|
kubectl scale deployment --replicas=0 datacollector-NODENAME -n infowatch
crictl exec -it $(crictl ps | grep click | awk '//{print $1;}') clickhouse-client --user default
truncate table datacollector.activityMonitorObjects
kubectl scale deployment --replicas=1 datacollector-NODENAME -n infowatch |
where NODENAME – is the name of Activity Monitor node in the cluster. After the table is cleared, the list of employees in the "Surveillance" section will be cleared as well for some time, till the first event is created for each employee. In case the setting Send events directly is enabled, then the events with Mixed activity type will not be generated. For more details about activity types see "Documentation for IW Activity Monitor. InfoWatch Activity Monitor. Administration Guide. Product Settings. Directories. Activity Types". |