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 5 Next »

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


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/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/statistics/list/status?servers=configserver1,useradmin1

Formatted example

[
{
"name": "dispatcher1",
"alias": "dispatcher1",
"htlmStatus": null,
"state": "UNKNOWN",
"pingTime": -1
},
{
"name": "useradmin1",
"alias": "useradmin1",
"htlmStatus": null,
"state": "UNKNOWN",
"pingTime": -1
}
]



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