Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


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/configserver/?servers=configserver1,useradmin1
http://localhost:5300/restservices

/statistics/list

/status/webserver

http://localhost:5300/restservices/status/webserver?servers=appserver1,appserver2

Formatted example

[

2]
0:

 


{
"name": "configserver1"
"alias": ""
"htlmStatus": "<p><b>Actions</b><br><!-- action="peer" title="Peers connections" resource="peer.connections" permission="read"...........”
"state": "NOT_CONNECTED"
"pingTime": 0
}


1:  


. . . .

. . . .
{
"name": "useradmin1"
"alias": ""
"htlmStatus": "Time: Thu May 05 17:27:44 CEST 2016<br>Number of session listeners: 0<br>SessionCtrl server connection status: NIO TCP Peer useradmin1@localhost:...........”
"state": "RUNNING"
"pingTime": 0
}

]



http://server:port/restservices/status/webserver/

No optional parameters

Description

Returns dispatcher web server status information

Example URLS

http://localhost:5300/restservices/status/webserver/

Formatted example

[

1]
0:  

[{
"dispatcherName":

 

"dispatcher1",
"alternateServers":

 

[

2]
0:  


{
"name":

 null

null,
"webServers":

 

[

1]
0:  

{
"server":

 

"127.0.0.1:8080",
"cookieName":

 

"server1",
"sessions":

 0

0,
"isDown":

 true

true,
"lastDownException":

 

{
"cause":

 null

null,
"stackTrace":

 

[

16]
0:  


{
"methodName":

 

"waitForConnect",
"fileName":

 

"DualStackPlainSocketImpl.java",
"lineNumber":

 

-2,
"className":

 

"java.net.DualStackPlainSocketImpl",
"nativeMethod": true
},
{
"methodName": "socketConnect",
"fileName": "DualStackPlainSocketImpl.java",
"lineNumber": 85,
"className": "java.net.DualStackPlainSocketImpl",
"nativeMethod": false
},
{
"methodName": "doConnect",
"fileName": "AbstractPlainSocketImpl.java",
"lineNumber": 350,
"className": "java.net.AbstractPlainSocketImpl",
"nativeMethod": false
},
{
"methodName": "connectToAddress",
"fileName": "AbstractPlainSocketImpl.java",
"lineNumber": 206,
"className": "java.net.AbstractPlainSocketImpl",
"nativeMethod": false
},
{
"methodName": "connect",
"fileName": "AbstractPlainSocketImpl.java",
"lineNumber": 188,
"className": "java.net.AbstractPlainSocketImpl",
"nativeMethod": false
},
{
"methodName": "connect",
"fileName": "PlainSocketImpl.java",
"lineNumber": 172,
"className": "java.net.PlainSocketImpl",
"nativeMethod": false
},
{
"methodName": "connect",
"fileName": "SocksSocketImpl.java",
"lineNumber": 392,
"className": "java.net.SocksSocketImpl",
"nativeMethod": false
},
{
"methodName": "connect",
"fileName": "Socket.java",
"lineNumber": 589,
"className": "java.net.Socket",
"nativeMethod":

 true
}
1:  
{
.. .. .. ..
}
"localizedMessage": 

false
},
{
"methodName": "connectSocketWithTimeout",
"fileName": "TunnelServlet.java",
"lineNumber": 8706,
"className": "dk.itp.tunnel.TunnelServlet",
"nativeMethod": false
},
{
"methodName": "createNormalSocket",
"fileName": "Http11Support.java",
"lineNumber": 393,
"className": "dk.itp.tunnel.Http11Support$Connection",
"nativeMethod": false
},
{
"methodName": "connect",
"fileName": "Http11Support.java",
"lineNumber": 362,
"className": "dk.itp.tunnel.Http11Support$Connection",
"nativeMethod": false
},
{
"methodName": "transmitRequest",
"fileName": "Http11Support.java",
"lineNumber": 161,
"className": "dk.itp.tunnel.Http11Support$Connection",
"nativeMethod": false
},
{
"methodName": "pingURL",
"fileName": "TunnelServlet.java",
"lineNumber": 3612,
"className": "dk.itp.tunnel.TunnelServlet",
"nativeMethod": false
},
{
"methodName": "pingURL",
"fileName": "TunnelServlet.java",
"lineNumber": 3419,
"className": "dk.itp.tunnel.TunnelServlet",
"nativeMethod": false
},
{
"methodName": "run",
"fileName": "TunnelServlet.java",
"lineNumber": 8022,
"className": "dk.itp.tunnel.TunnelServlet",
"nativeMethod": false
},
{
"methodName": "run",
"fileName": "Thread.java",
"lineNumber": 745,
"className": "java.lang.Thread",
"nativeMethod": false
}
],
"localizedMessage": "Connection refused: connect",
"message":

 

"Connection refused: connect",
"suppressed":

 

[

0

]
},
"lastCheckedAt":

 1462462461849

1500657477459,
"currentSimultaneousRequests":

 0

0,
"lastUsedAt":

 0

0,
"isUnavailable":

 false

false,
"weblogicJVMID":

 

""
}]
}


1:  

,
{
"name":

 

"webservices",
"webServers":

 

[

1]
0:  

{
"server":

 

"127.0.0.1:4300",
"cookieName":

 

"ws1",
"sessions":

 0

0,
"isDown":

 false

false,
"lastDownException":

 

{
"cause":

 null

null,
"stackTrace":

 
[10]
0:  

[
{
"methodName": "<init>",
"fileName": "TunnelServlet.java",
"lineNumber": 1025,
"className": "dk.itp.tunnel.TunnelServlet$ServerEntry",
"nativeMethod": false
},
{
"methodName": "parseTargetServers",
"fileName": "TunnelServlet.java",
"lineNumber": 7691,
"className": "dk.itp.tunnel.TunnelServlet",
"nativeMethod": false
},
{
"methodName":

 

"

<init>

reconfigure",
"fileName":

 

"TunnelServlet.java",
"lineNumber":

 946

7234,
"className": "dk.itp.tunnel.TunnelServlet",
"nativeMethod": false
},
{
"methodName": "configUpdated",
"fileName": "TunnelService.java",
"lineNumber": 73,
"className":

 

"dk.itp.tunnel.

TunnelServlet$ServerEntry"

TunnelService",
"nativeMethod": false
},
{
"methodName": "configurationUpdated",
"fileName": "ManagedService.java",
"lineNumber": 200,
"className": "dk.itp.managed.service.client.ManagedService",
"nativeMethod":

 false
}
1:  
{
.. .. .. ..
}

false
},
{
"methodName": "configurationUpdated",
"fileName": "ConfigClient.java",
"lineNumber": 325,
"className": "dk.itp.managed.service.client.ConfigClient",
"nativeMethod": false
},
{
"methodName": "connected",
"fileName": "ConfigClient.java",
"lineNumber": 419,
"className": "dk.itp.managed.service.client.ConfigClient",
"nativeMethod": false
},
{
"methodName": "connectLoadbalanced",
"fileName": "ConfigClient.java",
"lineNumber": 400,
"className": "dk.itp.managed.service.client.ConfigClient",
"nativeMethod": false
},
{
"methodName":

 

"

parseTargetServers

run",
"fileName":

 

"

TunnelServlet

ConfigClient.java",
"lineNumber":

 7389

748,
"className":

 

"dk.itp.

tunnel.TunnelServlet"

managed.service.client.ConfigClient",
"nativeMethod": false
},
{
"methodName": "run",
"fileName": "Thread.java",
"lineNumber": 745,
"className": "java.lang.Thread",
"nativeMethod":

 false

false
}
],
"localizedMessage":

 null

null,
"message":

 null

null,
"suppressed":

 

[

0

]
},
"lastCheckedAt":

 1462462461851

1500657477463,
"currentSimultaneousRequests":

 0

0,
"lastUsedAt":

 0

0,
"isUnavailable":

 false

false,
"weblogicJVMID":

 

""
}]
}
]
}

 

]