Monitoring details
    • PDF

    Monitoring details

    • PDF

    Article Summary

    Overview

    Search detailed information of URLs or scenarios.

    Request URL

    GET https://wms.apigw.ntruss.com/api/v1/scenarios/{scenarioId}
    
    x-ncp-apigw-timestamp: {Timestamp}
    x-ncp-iam-access-key: {Sub Account Access Key}
    x-ncp-apigw-signature-v2: {API Gateway Signature}
    

    Path Variables

    CategoryRequiredTypeDescriptionNote
    scenarioIdYesIntegerScenario IDID issued per service registered for monitoring

    Example

    Request example

    GET https://wms.apigw.ntruss.com/api/v1/scenarios/1
    
    Content-Type: application/json; charset=utf-8
    x-ncp-apigw-timestamp: {Timestamp}
    x-ncp-iam-access-key: {Access Key}
    x-ncp-apigw-signature-v2: {API Gateway Signature}
    

    Response example

    {
      "scenarioId": 1,
      "name": "NAVER Cloud",
      "monitoringType": "URL",
      "serviceType": "PC",
      "interval": 1,
      "requestTimeout": 5000,
      "runTimeout": 30000,
      "serviceYn": true,
      "methodType": "GET",
      "url": "https://www.ncloud.com",
      "lastMonitoringTime": 1620125880000,
      "successCount": 1157,
      "errorCount": 42,
      "avgLoadTime": 2389,
      "avgRunTime": 2397,
      "locations": [
        {
          "code": "KR",
          "name": "한국"
        }
      ],
      "alarms": {
        "scenarioId": 1,
        "name": "Default",
        "threshold": 3,
        "interval": 1,
        "period": 3,
        "useYn": true,
        "creator": "1",
        "templateId": 11,
        "smsEmailConfigs": [],
        "webhooks": [
          {
            "id": 1,
            "name": "webhhok",
            "url": "https://hooks.slack.com/services/....",
            "memberNo": 1,
            "createdDate": 1620125893424,
            "updatedDate": 1620125893424
          }
        ]
      }
    }
    
    CategoryTypeDescriptionNote
    scenarioIdIntegerScenario ID
    nameStringService name
    monitoringTypeStringMonitoring typeURL / SCENARIO
    serviceTypeStringService typePC / MOBILE
    intervalIntegerMonitoring cycle
    requestTimeoutIntegerRequest timeout (milliseconds)
    runTimeoutIntegerRun timeout (milliseconds)
    serviceYnBooleanMonitoring statustrue: Start
    false: Stop
    methodTypeStringRequest typeGET / POST / DELETE / PUT
    urlStringURL
    lastMonitoringTimeLongTime of latest monitoring collection
    successCountIntegerNumber of monitoring results as normalBase period: 00:00 to now
    errorCountIntegerNumber of errors detectedBase period: 00:00 to now
    avgLoadTimeIntegerAverage page load time
    avgRunTimeIntegerAverage scenario run time
    locations.codeStringCountry codeKR: Korea
    USW: United States (West)
    JP: Japan
    HK: Hong Kong
    SG: Singapore
    DE: Germany
    locations.nameStringCountry name
    alarms.thresholdIntegerNotification threshold (cases)
    alarms.periodIntegerNotification threshold measuring period (minutes)
    alarms.intervalIntegerNotification sending cycle (hours)
    alarms.useYnBooleanNotification usage status
    alarms.smsEmailConfigs.managerNameStringNotification recipient name
    alarms.smsEmailConfigs.cellPhoneNoStringNotification recipient's mobile phone
    alarms.smsEmailConfigs.emailAddressStringNotification recipient's email
    alarms.smsEmailConfigs.informTypeStringNotification methodEMAIL/ESMS/SMS/NONE
    webhooks.nameStringWebhook name
    webhooks.urlStringwebhook url

    Error codes

    These are common error codes that occur in response to WMS API requests.

    HTTP status codeError codesError messageDescription
    403E011Permission not foundNo permissions.
    404E010Could not find the scenario.Not Found.

    Response example

    {
      "errCode": "E010",
      "errMessage": "Could not find the scenario."
    }
    
    ParameterDescription
    errCodeError codes
    errMessageError message

    Was this article helpful?

    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.