|
The web interface of the self-diagnostics service is available for monitoring the system statuses and analyzing its performance.
To go to the monitoring interface, do the following:
The service interface allows viewing metrics as a table or graphs. To run a query, do the following:
Select the metric from the drop-down list 1 or enter the query manually in the Expression field. You can:
Metric | Description | |
|---|---|---|
ALERTS_FOR_STATE | Found and fixed malfunctions. Contains the alertname parameter with the problem type.
Decryption of the alertname values (see General information about the self-diagnostics service) for the ALERTS_FOR_STATE metric:
| |
ngp_archive_channel_fps | The frame rate of all cameras when recording to the archive | |
ngp_archive_volume_size | The current total size of the archive (in bytes) | |
ngp_cpu_total_usage | The CPU load of the server | |
ngp_fps | The frame rate of all server cameras, detectors and decoders | |
ngp_people_count | The last captured number of people in the frame by the Crowd estimation VA detector | |
ngp_errors | Number of errors in the Crowd estimation VA detector operation | |
ngp_skipped_pp | Number of missed frames by the Crowd estimation VA detector due to the lack of resources for processing |
ngp_fps < 17 |
ngp_fps{ep_name=~"hosts/TEST/DeviceIpint.2/SourceEndpoint.video:0:0"} |

Click the Execute button.
Viewing results:



sum by (process_id) (100 / scalar(wmi_cs_logical_processors) * (irate(wmi_process_cpu_time_total{process="AppHost"}[10m]))) or ngp_cpu_total_usage |
sum by (process_id) (avg_over_time(wmi_process_working_set{process="AppHost"}[5m])) / 1024 or avg_over_time(wmi_os_virtual_memory_bytes[5m]) / 1024 |
100.0 - 100 * avg_over_time(wmi_os_virtual_memory_free_bytes[5m]) / avg_over_time(wmi_os_virtual_memory_bytes[5m]) |
sum by (groupname) (namedprocess_namegroup_memory_bytes{memtype="resident"}) |
100 - node_memory_MemAvailable_bytes * 100 / node_memory_MemTotal_bytes |
sum by (object_id) (rate(namedprocess_namegroup_cpu_seconds_total{groupname="AppHost"}[1m])) * 100 |
100 * avg without (cpu) (1 - rate(node_cpu_seconds_total{mode="idle"}[1m])) |
namedprocess_namegroup_memory_bytes{object_id=~"APP_HOST.*",memtype="proportionalResident"} |