Versions Compared

Key

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

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,YYservers/

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

DescriptionReturns config server status texts and connection status

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

Example URLS

http://localhost:5300/restservices/statistics/list/status?servers=configserver1,useradmin1servers/

Formatted example

[
{"name": "configserver1"},
{"name": "dispatcher1configserver2"},
{"aliasname": "dispatcher1"},
{"htlmStatusname": null"gateway1"},
{"statename": "UNKNOWNlogserver1"},
{"pingTimename": -1
"proxy1"},
{"name": "radiusserver1"},
{
"name": "useradmin1restservices"},
{"aliasname": "useradmin1sessionctrl1"},
{"htlmStatusname": null"statisticsserver1"},
{"statename": "UNKNOWNuseradmin1"},
{"pingTimename": -1
"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

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

Returns config server status texts and connection status

Example URLS

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

servers/

status?servers=configserver1,useradmin1

Formatted example

[
{

"name": "configserver1"},


{

"name": "

configserver2

dispatcher1"

}

,

{

"

name

alias": "dispatcher1"

}

,

{

"

name

htlmStatus":

"gateway1"}

null,

{

"

name

state": "

logserver1

UNKNOWN"

}

,

{

"

name

pingTime":

"proxy1"

-1
},
{
"name": "

radiusserver1

useradmin1"

}

,

{

"

name

alias": "

restservices

useradmin1"

}

,

{

"

name

htlmStatus":

"sessionctrl1"}

null,

{

"

name

state": "

statisticsserver1

UNKNOWN"

}

,

{

"

name

pingTime":

"useradmin1"},
{"name": "useradminapp"

-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)"}
]
}]

...