Status
Display current status for the system.
GET https://instance.securid.com/aveksa/command.submit?cmd=status
Request
Parameters
status | |
format |
|
Headers
Accept | application/json |
Content-Type | application/json |
Response
Parameters
type | Executed command name |
DB-TEMP-total-space | ??? |
date | Date of the status check |
son-status | Status of System Operations Node (SON) |
maintenance-mode | Indicates if the server is in maintenance mode |
DB-TEMP-free-space | ??? |
database-status | The status of database used by the system. |
product-version | Information on current product version with patch / hotfix |
local-afx-status | The status of local AFX server (if configured). |
DB-TEMP-used-space | ??? |
root-logger-level | The root logger level. Possible values :
|
email-server-status | The status of email server in the system(if configured). |
overall-status | ??? |
jms-status | The status of JMS module in the system. |
default-agent-status | The status of default agent used by the system. |
Examples
Request
- Curl
- Python
- Node.js
curl -K -X GET \
"https://instance.securid.com/aveksa/command.submit?cmd=status&format=json" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json"
import requests, json
url = "https://instance.securid.com/aveksa/command.submit"
params = {
"cmd": "status",
"format": "json"
}
headers = {
'Authorization': 'Bearer <token>',
'Content-Type': 'application/json'
}
response = requests.get(url, params=params, headers=headers)
if response.status_code == 200:
data = response.json()
print(data)
else:
print(f"Request failed with status code {response.status_code}")
const axios = require('axios');
const url = "https://instance.securid.com/aveksa/command.submit";
const params = {
"cmd": "status",
"format": "json"
};
const headers = {
'Authorization': 'Bearer <token>',
'Content-Type': 'application/json'
};
axios.get(url, { params, headers })
.then(response => {
if (response.status === 200) {
console.log(response.data);
} else {
console.log(`Request failed with status code ${response.status}`);
}
})
.catch(error => {
console.error('Error:', error);
});
Response
- 200
{
"data": {
"type": "status",
"DB-TEMP-total-space": "571",
"date": "2023-08-27 16:58:23",
"son-status": "HEALTHY",
"maintenance-mode": "off",
"DB-TEMP-free-space": "552",
"database-status": "HEALTHY",
"product-version": "7.5.2.184537 P07_HF02",
"local-afx-status": "HEALTHY",
"DB-TEMP-used-space": "19",
"root-logger-level": "INFO",
"email-server-status": "UNHEALTHY",
"overall-status": "HEALTHY",
"jms-status": "HEALTHY",
"default-agent-status": "UNHEALTHY"
}
}