|
To view the system status data, do the following:
Select the required metric in the list (1) or enter the query in the Expression field.
Metric | Description | |
---|---|---|
ALERTS_FOR_STATE | Troubleshooting by the self-diagnostics service.
Possible values of the alertname parameter (see General information about the self-diagnostics service):
| |
ngp_archive_channel_fps | The frame rate of all video cameras recording to archive | |
ngp_archive_volume_size | The current size of the archive volume in bytes | |
ngp_cpu_total_usage | The percentage of CPU load on a Server | |
ngp_fps | The frame rate of all Server cameras, all detection tools and their decoders |
The request allows for:
Using multiple metrics.
Using expressions to find problems. For example, a query like ngp_fps <17 will return all metrics, where FPS is less than 17. For a complete list of logical and arithmetic operators, see the official Prometheus documentation.
Filtering by any of the parameters. For example, this query will return FPS values only for the specified source:
ngp_fps{ep_name=~"hosts/TEST/DeviceIpint.2/SourceEndpoint.video:0:0"} |
Click on the Execute button (2).
The Console tab displays all possible values of all elements at the time the query is completed.
When you set a date and time in your calendar, the data is updated.
To build a graph, go to the Graph tab. In the field 1, set the time interval of the graph. In the field 2, set its end point. In the filed 3, set the interval between the data points. To fill the chart, set the stacked (4) checkbox.
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"} |