AddProcessPlugin
    • PDF

    AddProcessPlugin

    • PDF

    Article summary

    Overview

    Add a Process Plugin. If there is an existing Process Plugin setting for the server, then it is appended to the list.

    Requests

    API URL

    URL: https://cw.apigw.ntruss.com/cw_server/real/api/plugin/process/add
    Method: POST
    

    Request headers

    The request headers specified in common settings are required.

    Content-Type: application/json
    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    x-ncp-dmn_cd: PUB
    x-ncp-region_code: {your region code}
    

    Request body

    Parameter nameRequirement statusTypeRestrictionsDescription
    configListYList<String>Process name; asterisk(*) can be used.
    instanceNoYStringInstanceNo of the server; only one instanceNo can be entered.
    typeNStringVPCServer, ClassicServer, CloudHadoop, default: VPCServerProduct name

    Examples

    Request examples

    POST /cw_server/real/api/plugin/process/add
    Host: cw.apigw.ntruss.com
    Content-Type: application/json
    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    x-ncp-dmn_cd: PUB
    x-ncp-region_code: {your region code}
    
    Payload:
    {
        "configList": [
          "process_name001",
          "process_name002",
          "*java*", // java라는 문자열이 들어간 process 감시 설정
          "python*" // python으로 시작하는 process 감시 설정
        ],
        "instanceNo": "1234567",
        "type": "VPCServer"
    }
    

    Response examples

    The API returns HTTP code 200 without any response body if the setup is completed without any errors.


    Was this article helpful?

    What's Next
    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.