Monitors (dlbv3)

Monitors verify the health and availability of a node, pool, or group of nodes in a pool.

Retrieve monitor rule for node

Update a monitor rule on node

Add a monitor rule to automate checks

Remove a monitor rule from a node

Retrieve monitor rule for node

Retrieve information about the monitor rule applied to a specific node.

GET /nodes/{nodeId}/monitor-rule

This operation does not accept a request body.

Response

{
    "data": [
        {
            "names": [
                "https_443",
                "real_server",
                "tcp_echo"
            ],
            "minimum": 1
        }
    ]
}

Update a monitor rule on node

Update the monitor rule configured for a specified node.

PUT /nodes/{nodeId}/monitor-rule

Request body

{
    "names": [
        "https_443",
        "real_server",
        "tcp_echo"
    ],
    "minimum": 1
}

Response

{
    "data": {
        "eventId": "<eventId:str>",
        "status": "PROCESSING",
        "resource": "<nodeId:str>",
        "timestamp": "2016-03-17T09:36:42.5274609Z",
        "eventRef": "/events/<eventId:str>"
    }
}

Add a monitor rule to automate checks

Apply a monitor rule to the specified node. To find the names of the available monitors, submit a GET monitors request.

POST /nodes/{nodeId}/monitor-rule

Request body

{
    "names": [
        "https_443"
    ],
    "minimum": 1
}

Response

{
  "data": {
    "eventId": "<eventId:str>",
    "status": "PROCESSING",
    "resource": "<nodeId:str>",
    "eventRef": "/events/<eventId:str>",
    "timestamp": "2016-03-18T03:18:35.5077939Z"
  }
}

Remove a monitor rule from a node

Remove the monitor rule from the specified node.

This operation does not remove the monitor from the load balancer configuration.

When you delete a monitor rule, the system deletes all monitors associated to the node as well.

DELETE /nodes/{nodeId}/monitor-rule

Response

Delete the monitor rule from the specified node.

{
    "data" : {
        "eventId": "<eventId:str>",
        "status": "PROCESSING",
        "resource": "<poolId:str>",
        "timestamp": "2016-03-17T09:36:42.5274609Z",
        "eventRef": "/events/<eventId:str>"
    }
}