Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

시스템 상태 데이터를 보려면 다음을 수행해야 합니다.

  1. 자가 진단 서비스의 웹 인터페이스로 이동합니다

To view the system status data, you need to:

  1. Go to the web interface of the self-diagnostics service: http://127.0.0.1:20040/.
  2. Select the required metric in the list 목록 (1) or enter the query in the Expression field에서 필요한 메트릭을 선택하거나 표현식 필드에 쿼리를 입력합니다.

    Expand
    title Description of useful metrics


    메트릭(Metric)

    Description설명

    ALERTS_FOR_STATE

    Troubleshooting by self-diagnostics service.자가 진단 서비스를 통한 문제 해결

    Code Block
    titleExample
    ALERTS_FOR_STATE{alertname="ipint_is_not_activated",ep_name="hosts/Server1/DeviceIpint.99",instance="127.0.0.1:20108",job="ngp_export",ngp_alert="true"}

    Possible values of the alert name parameter:경보 이름 매개변수의 가능한 값

    • low_os_memoryout of RAM ;부족
    • ipint_is_not_activated − camera is connected but does not send data; − 카메라가 연결되었지만 데이터를 전송하지 않음
    • no_samples_in_detectorno events from a detection tool;검출 도구의 이벤트가 없음
    • restart_services_when_archive_source_not_activated − the archive is not working; 아카이브가 작동하지 않음
    • restart_services_when_no_samples_in_archiverecording to archive with 0 FPS;FPS가 0으로 아카이브에 녹화
    • restart_services_when_no_ping_from_detector_to_archiveno footage is recorded on detection;검출 시 영상이 기록되지 않음
    • logs_disk_space_is_low/db_disk_space_is_lowout of system disk space.시스템 디스크 공간 부족

    ngp_archive_channel_fpsThe frame rate of all video cameras recording to archive.

    아카이브에 녹화되는 모든 비디오 카메라의 프레임 속도

    ngp_cpu_total_usage

    The percentage of CPU load on a Server.서버의 CPU 로드 비율

    ngp_fps

    The frame rate of all Server video cameras, all detection tools and their decoders.

    The request allows for:

    모든 서버 비디오 카메라, 모든 탐지 도구 및 해당 디코더의 프레임 속도


    요청은 다음을 허용합니다.

    1. 여러 메트릭 사용

    2. 식을 사용하여 문제를 찾습니다.  예를 들어, ngp_fps <17 과 같은 쿼리는 fps가 17보다 작은 모든 메트릭을 반환합니다. 논리 및 산술 연산자의 전체 목록은official Prometheus documentation에 나열되어 있습니다.

    3. 매개변수로 필터링합니다. 예를 들어, gp

    4. Using multiple metrics.

    5. Using expressions to find issues. For example, a query like ngp_fps <17 will return all metrics where fps was less than 17. The full list of logical and arithmetic operators is listed in the official Prometheus documentation.  

    6. Filtering by any of the parameters. For example, a query like ngp_fps{ep_name=~"hosts/V-BELYAKOV/DeviceIpint.2/SourceEndpoint.video:0:0"} will return fps values only for the specified source.와 같은 쿼리는 지정된 소트에 대해서만 fps 값을 반환합니다.

  3. 실행Click Execute (2) .
    The Console tab will issue all possible values of all items at the time the request is completed.
    Image Removed

  4. When you set a date and time in your calendar, the data will be updated.
    Image Removed

  5. 을 클릭합니다.
    콘솔 탭은 요청이 완료될 때, 모든 항목의 가능한 모든 값을 발행합니다.
    Image Added

  6. 캘린더에서 날짜와 시간을 설정하면 데이터가 업데이트됩니다.
    Image Added

  7. 래프를 작성하려면 그래프 탭으로 이동하십시오.
    Image Added
    필드 (1)에서 그래프의 시간 슬롯을 설정하고 필드 (2)에서 끝점을 설정하고 필드 (3)에서 데이터 포인트 사이의 간격을 설정합니다. 차트를 채우려면 누적 (4) 체크박스를 선택합니다To build a graph, go to the Graph tab.
    Image Removed
    In field (1), set the time slot of the graph, in field (2) set its end point, in filed (3) set the interval between data points. To fill the chart, select the stacked (4) checkbox.