MENU
      모니터링 목록 조회

        모니터링 목록 조회


        기사 요약

        Classic/VPC 환경에서 이용 가능합니다.

        전체 모니터링 서비스 목록을 조회합니다.

        요청

        요청 형식을 설명합니다. 요청 형식은 다음과 같습니다.

        메서드URI
        GET/api/v1/scenarios

        요청 헤더

        Web service Monitoring System API에서 공통으로 사용하는 헤더에 대한 정보는 Web service Monitoring System 요청 헤더를 참조해 주십시오.

        요청 예시

        요청 예시는 다음과 같습니다.

        curl --location --request GET 'https://wms.apigw.ntruss.com/api/v1/scenarios' \
        --header 'x-ncp-apigw-timestamp: {Timestamp}' \
        --header 'x-ncp-iam-access-key: {Access Key}' \
        --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
        --header 'Content-Type: application/json' \
        Shell

        응답

        응답 형식을 설명합니다.

        응답 바디

        응답 바디에 대한 설명은 다음과 같습니다.

        필드타입필수 여부설명
        nameString-모니터링 서비스 이름
        monitoringTypeString-모니터링 유형
        • URL | SCENARIO
          • URL: 모니터링 시나리오 스텝에 URL 접속 스텝만 추가된 경우
          • SCENARIO: 모니터링 시나리오 스텝에 URL 접속 포함 2개 이상의 스텝이 추가된 경우
        intervalInteger-모니터링 실행 주기 (분)
        • 1 | 5 | 10
        requestTimeoutInteger-모니터링 요청 대기 시간 (밀리초)
        • 5000 | 10000 | 30000
        runTimeoutInteger-모니터링 시나리오 실행 대기 시간 (밀리초)
        • 30000 | 40000 | 50000 | 60000
        serviceTypeString-모니터링 서비스 유형
        • PC | MOBILE
        serviceYnBoolean-모니터링 상태
        • true | false
          • true: 시작
          • false: 일시 정지
        methodTypeString-모니터링 요청 유형
        • GET | POST | DELETE | PUT
        urlString-웹 서비스 URL 주소
        • 모니터링 대상
        historyIdString-이력 관리 아이디
        scenarioIdInteger-시나리오 아이디

        응답 상태 코드

        Web service Monitoring System API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 Web service Monitoring System 응답 상태 코드를 참조해 주십시오.

        응답 예시

        응답 예시는 다음과 같습니다.

        [
            {
                "name": "ncloud_test",
                "monitoringType": "SCENARIO",
                "interval": 1,
                "requestTimeout": 5000,
                "runTimeout": 30000,
                "serviceType": "PC",
                "serviceYn": true,
                "methodType": "GET",
                "url": "https://www.ncloud.com",
                "historyId": 1,
                "scenarioId": 7488
            },
            {
                "name": "example_test",
                "monitoringType": "URL",
                "interval": 1,
                "requestTimeout": 5000,
                "runTimeout": 30000,
                "serviceType": "PC",
                "serviceYn": true,
                "methodType": "GET",
                "url": "http://www.example.com",
                "historyId": 1,
                "scenarioId": 7479
            }
        ]
        JSON

        이 문서가 도움이 되었습니까?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.