ASL LoadMaster Commands
- Last Updated: October 14, 2024
- 2 minute read
- LoadMaster
- Kemp 360 Central
- Documentation
Detailed List of ASL Instances
You can retrieve the detailed list of ASL instances that are under Kemp 360 Central control using the API key and the following command:
Example Command
curl -X GET "https://Kemp360CentralIPAddress/api/v1/asl-instance/?api_key=18f1c7933621e2e1e7738f178dccc603110d785c&username=admin" -H "Content-Type: application/json" -k -v -d "{\"username\":\"admin\",\"password\":\"Kemp360CentralPassword\"}"This returns an empty list, as below, if there are no ASL instances active.
{"meta": {"limit": 1000, "next": null, "offset": 0, "previous": null, "total_count": 0}, "objects": []}The "limit" is set to 1000 by default and means that the API attempts to return information for 1000 ASL instances. This can be changed by using "&limit=n", where n defines the number of ASL instances information to be returned. For example, if you want the first 10 ASL LoadMaster details, then you use the following command:
curl -X GET "https://Kemp360CentralIPAddress/api/v1/asl-instance/?api_key=45e8679e3d71fba960e3796a73601dd206aef85e&username=admin&limit=10" -H "Content-Type: application/json" -k -v -d "{\"username\":\"admin\",\"password\":\"Kemp360CentralPassword\"}"When there are ASL LoadMasters active, the following information is returned:
HTTP/1.1 200 OKDate: Wed, 15 Aug 2018 08:22:52 GMTServer: ApacheX-Frame-Options: SAMEORIGINCache-Control: no-cacheVary: AcceptTransfer-Encoding: chunkedContent-Type: application/json{"meta": {"limit": 1000, "next": null, "offset": 0, "previous": null, "total_count": 2}, "objects": [{"activation_date": "2018-08-15T07:54:09", "boot_time": "2018-03-05T13:34:46", "call_home_time": "2018-08-15T07:54:09", "created_at": "2018-02-10T10:57:17", "id": 1, "kill_time": "2018-08-14T08:08:03", "lm_version": "7.2.40.0.15707.RELEASE", "mac_address": "00505684e8ef", "resource_uri": "/api/v1/asl-instance/1/", "status": "ACTIVE", "updated_at": "2018-08-15T07:54:09", "vlm_name": "VMWARE"}, {"activation_date": "2018-08-14T08:08:46", "boot_time": "2018-03-05T13:34:47", "call_home_time": "2018-08-15T08:09:09", "created_at": "2018-02-10T11:02:17", "id": 2, "kill_time": "2018-08-14T07:05:19", "lm_version": "7.2.40.0.15707.RELEASE", "mac_address": "00505684e247", "resource_uri": "/api/v1/asl-instance/2/", "status": "ACTIVE", "updated_at": "2018-08-15T08:09:09", "vlm_name": "VMWARE"}]}There is an "offset" parameter that defines the offset from the limit. For example, if the "limit" is set to 10 and the "offset" is set to 20, you get the ASL LoadMaster details from 10 to 30.
curl -X GET "https://Kemp360CentralIPAddress/api/v1/asl-instance/?api_key=45e8679e3d71fba960e3796a73601dd206aef85e&username=admin&limit=10&offset=20" -H "Content-Type: application/json" -k -v -d "{\"username\":\"admin\",\"password\":\"Kemp360CentralPassword\"}"Single ASL LoadMaster
The details for a single ASL LoadMaster instance can be retrieved
Example Command
curl -X GET "https://Kemp360CentralIPAddress/api/v1/asl-instance/1/?api_key=18f1c7933621e2e1e7738f178dccc603110d785c&username=admin" -H "Content-Type: application/json" -k -v -d "{\"username\":\"admin\",\"password\":\"Kemp360CentralPassword\"}"The ‘1’ denotes the LoadMaster that the password is to be changed on. This information is available from the retrieve list command, parameter ‘id’.
Expected Output
HTTP/1.1 200 OKDate: Wed, 15 Aug 2018 08:15:00 GMTServer: ApacheX-Frame-Options: SAMEORIGINCache-Control: no-cacheVary: AcceptTransfer-Encoding: chunkedContent-Type: application/json{"activation_date": "2018-08-15T07:54:09", "boot_time": "2018-03-05T13:34:46", "call_home_time": "2018-08-15T07:54:09", "created_at": "2018-02-10T10:57:17", "id": 1, "kill_time": "2018-08-14T08:08:03", "lm_version": "7.2.40.0.15707.RELEASE", "mac_address": "00505684e8ef", "resource_uri": "/api/v1/asl-instance/1/", "status": "ACTIVE", "updated_at": "2018-08-15T07:54:09", "vlm_name": "VMWARE"}Download ASL Data
The detailed list of ASL LoadMasters is available with the following command.
Example Command
curl -X GET "https://Kemp360CentralIPAddress/api/v1/360/download_asl_data/?api_key=18f1c7933621e2e1e7738f178dccc603110d785c&username=admin" -H "Content-Type: application/json" -k -v -d "{\"username\":\"admin\",\"password\":\"Kemp360CentralPassword\"}"Expected Output
Device ID,MAC Address,Status,Activation Date,Boot Time,Kill Time,LM Version1,000d3a23c068,ACTIVE,2016-06-15 13:55:59+00:00,2016-06-15 13:15:47+00:00,,7.1.34.1.12856.RELEASEIf the ASL LoadMaster is removed from Kemp 360 Central, then the following information is returned.
Expected Output
Device ID,MAC Address,Status,Activation Date,Boot Time,Kill Time,LM VersionDevice Removed,000d3a23c068,DISABLED,2016-06-15 13:55:59+00:00,2016-06-15 13:15:47+00:00,2016-06-15 14:36:20+00:00,7.1.34.1.12856.RELEASE