Translations:"Детектор" черного экрана (Системный администратор)/4/en

Материал из SmartPlayer

Implementation

Activation

By default, the detector for all companies is turned off on the server, as it places too much load on it.

The detector is activated only upon request from a company that has encountered the black screen issue.

Action Algorithm

All work will be carried out in two stages.
The first stage is the launch of the detector itself..
When launching the detector, you need to use the company ID, which is indicated in the personal account.

Location of the company ID in the personal account

To do this, you need to go to the profile and expand detailed user information. The system administrator needs to connect to the server via the Command Line Interface (CLI).

When enabling the CLI, the server receives specific data for configuration:
This:

  • Company ID for which the detector is activated.
  • You can specify a platform (or multiple platforms) for which monitoring needs to be initiated.

For example: if you pass the "ANDROID" parameter, monitoring will be activated only for "ANDROID" devices.

  • E-mail address or multiple addresses to which a notification should be sent in case of an emergency.
  • Specified screenshot storage time (default is 3 days).

Next, you need to go to the server application and execute the command: docker exec -it smartplayer_backend_i bash. docker exec -it smartplayer_backend_i bash

Executable command "docker exec -it smartplayer_backend_i bash"

At this stage, we enter our container with the server application.
Next, execute the command:

Enable screen - screen monitor

Executable command"docker exec -it smartplayer_backend_i bash"

After the next step, the system displays the following line:

System message: Input company ID and press Enter

System message "Input company ID and press Enter:"

The executed command will display a line prompting you to input the company's ID.
After entering the ID, a request to monitor all of the company's platforms appears. In this case, choose "YES/Y".

Here you need to start platform monitoring by clicking "ДА/Y"

Subsequently, the console will require you to specify an e-mail address to which notifications about problems will be sent. This is done in the line:
Input_email and press enter

Here, you need to initiate platform monitoring by pressing "YES/Y".
The specified email must be linked to the server.

You can also specify the interval at which screenshots will be sent (for example, 1 minute). The line looks like this:
Input check interval in minutes (m) or seconds (s) and press "Enter"

Here, you need to specify the time in minutes with the prefix (m) or in seconds with the prefix (s).

Next, specify the time either in seconds with the prefix (s) following the numeric value, or in minutes with the prefix (m), and apply this setting by pressing "Enter". The result of all these manipulations will be the status:br> Company screen monitoring enabled - highlighted in gree. This means that the black screen detector is activated.

Detector launch notification is highlighted in green

Email Notifications

The second stage is setting up the notifications that come to the email. Notification settings are detailed in a separate instruction,Настройка отправки писем через серверное приложение SmartPlayer.

When receiving a problem notification via email, it's impossible to directly perform any actions from this alert. For instance, actions like "Screen Reboot" or "Stopping the broadcast" are not available.

Preliminary Actions

Depending on the result, the system administrator can accurately determine the cause and take specific actions to resolve the situation. If he is unable to solve the problem within his environment or if the problem is on our end, he should contact the SmartPlayer team.
This approach is convenient for everyone. It will help resolve issues whether they are on our side (e.g., an application bug) or on the user's side (e.g., the user incorrectly initiated the broadcast).

Important Information to Remember

To restart the broadcast, you need to log into the personal account and restart everything manually.
The black screen detector currently only works on Android version 1.63.1.