Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Once statistics REST services are enabled and properly configured they can be accessed as shown below

http://server:port/restservices/statistics/list/status/?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/

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/statistics/list/servers/

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

List servers which has available statistics (could be historical!)

Example URLS

http://localhost:5300/restservices/statistics/list/servers/

Formatted example

[
{"name": "configserver1"},
{"name": "configserver2"},
{"name": "dispatcher1"},
{"name": "gateway1"},
{"name": "logserver1"},
{"name": "proxy1"},
{"name": "radiusserver1"},
{"name": "restservices"},
{"name": "sessionctrl1"},
{"name": "statisticsserver1"},
{"name": "useradmin1"},
{"name": "useradminapp"}
]

http://server:port/restservices/statistics/list/functions?servers=XX,YY

Optional parameter servers – a comma separated list of servers to get functions for. If no list is given, status is returned for all servers.

Description

Returns functions with available statistics for the given servers

Example URLS

http://localhost:5300/restservices/statistics/list/functions/

http://localhost:5300/restservices/statistics/list/functions?servers=dispatcher1

Formatted example

[{
"server": "dispatcher1",
"functions": [
{"name": "Agent.logon"},
{"name": "Agent.newSession"},
{"name": "Application_server_127.0.0.1:8080_down"},
{"name": "Application_server_down"},
{"name": "Get_user_info_from_Session_Controller"},
{"name": "LoadbalancedPeer.dispatcher1.changeActive"},
{"name": "LoadbalancedPeer.dispatcher1.peers"},

. . . .

. . . .


{"name": "ThreadPool_concurrent_active_threads"},
{"name": "free_memory_(kb)"},
{"name": "statistics_send_queue_length"},
{"name": "total_memory_(kb)"},
{"name": "used_memory_(kb)"}
]
}]

  • No labels