Warning |
---|
This API is deprecated and replaced with Ceptor Agent REST API which offers more functionality and is available as an OpenAPI implementation. |
Once status REST services are enabled and properly configured they can be accessed as shown below
Using the rest services is done through the following URLs as described below.
http://server:port/restservices/status/configserver/?servers=XX,YY | |
Optional parameter servers – a comma separated list of servers to get status for. If no list is given, status is returned for all servers. | |
Description | Returns config server status texts and connection status |
Example URLS | http://localhost:5300/restservices/status/configserver/ |
http://localhost:5300/restservices/status/webserver?servers=appserver1,appserver2 | |
Formatted example | [ |
0:
|
{ |
1:
. . . . ] |
No optional parameters | |
Description | Returns dispatcher web server status information |
Example URLS | |
Formatted example | [ |
0:
[{ |
"dispatcher1", |
[ |
0:
|
null, |
[ |
0:
{ |
"127.0.0.1:8080", |
"server1", |
0, |
true, |
{ |
null, |
[ |
0:
|
"waitForConnect", |
"DualStackPlainSocketImpl.java", |
-2, |
"java.net.DualStackPlainSocketImpl", |
}
1:
{
.. .. .. ..
}
"localizedMessage":
false |
"Connection refused: connect", |
[ |
] |
1500657477459, |
0, |
0, |
false, |
"" |
1:
, |
"webservices", |
[ |
0:
{ |
"127.0.0.1:4300", |
"ws1", |
0, |
false, |
{ |
null, |
[10]
0:
[ |
" |
reconfigure", |
"TunnelServlet.java", |
7234, |
"dk.itp.tunnel. |
TunnelService", |
}
1:
{
.. .. .. ..
}
false |
" |
run", |
" |
ConfigClient.java", |
748, |
"dk.itp. |
managed.service.client.ConfigClient", |
false |
null, |
null, |
[ |
] |
1500657477463, |
0, |
0, |
false, |
"" |
] |