Retrive the status of the watched applications
Path: /api/system/state/components
Method: GET
Minimum user role: admin
Response:
[
{
"component": "centralised-server-ng",
"critical_app": true,
"state": "off",
"start_timestamp": "",
"failed_idx": 1
},
{
"component": "profisight-dashboard",
"critical_app": true,
"state": "off",
"start_timestamp": "",
"failed_idx": 1
},
{
"component": "clickhouse-server",
"critical_app": false,
"state": "off",
"start_timestamp": "Tue 2023-08-08 10:43:43 EEST",
"failed_idx": 1
},
{
"component": "device-monitor",
"critical_app": false,
"state": "off",
"start_timestamp": "",
"failed_idx": 1
}
]component - name of the watched applicationcritical_app - true if a failure of this application is considered criticalstate - current state of the application (e.g. on, off)start_timestamp - when the application was last started, empty if never startedfailed_idx - counter of consecutive failed start attempts