SystemSettingsNTP

SystemSettingsNTP - List

Lists the NTP System Settings.

GET

https://api-server-host-name/configapi/{pool_UUID}/{logpoint_identifier}/SystemSettingsNTP

Success Response

[
    {
        "changed": false,
        "id": "59147407d8aaa45c67a77d54",
        "ntp_enabled": false,
        "ntp_server": [
            "ntp.ubuntu.com",
            "test.domain.com",
            "ntp.logpoint.com"
        ]
    }
]

SystemSettingsNTP - NTPRestart

Restarts the NTP Server, if it is already enabled.

POST

https://api-server-host-name/configapi/{pool_UUID}/{logpoint_identifier}/SystemSettingsNTP/ntprestart

Request Example

{
    "data": {}
}

Success Response

{
    "status": "Success",
    "message": "/monitorapi/{pool_UUID}/{logpoint_identifier}/orders/{request_id}"
}

SystemSettingsNTP - Save

Updates the existing NTP System Settings.

POST

https://api-server-host-name/configapi/{pool_UUID}/{logpoint_identifier}/SystemSettingsNTP

Parameter

Field

Label in UI

Type

Description

ntp_enabled

Is NTP enabled?

String

Value must be “on” to enable NTP Server. Optional Field

ntp_server

Server

[String]

List of the NTP Server(s) that must be enabled. Mandatory only when the value of ntp_enabled parameter is “on”. Mandatory Field

Request Example

{
    "data": {
        "ntp_enabled": "on",
        "ntp_server": [
            "ntp.ubuntu.com",
            "ntp.logpoint.com"
        ]
    }
}

Success Response

{
    "status": "Success",
    "message": "/monitorapi/{pool_UUID}/{logpoint_identifier}/orders/{request_id}"
}

Helpful?

We are glad this guide helped.


Please don't include any personal information in your comment

Contact Support