Versions Compared

Key

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

...

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



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

Required parameter servers – a comma separated list of servers to get statistical summary for. If no list is given, an error is thrown.

Description

Returns a statistical summary for the given servers

note: server parameter is mandatory!

Example URLS

http://localhost:5300/restservices/statistics/list/summary?servers=useradmin1?servers=configserver1,useradmin1

Formatted example

[
{
"server": "useradmin1",
"function": "ThreadPool concurrent active threads",
"statData": [ {
"startTime": 1500653485852,
"endTime": 1500653982774,
"total": 374,
"mean": 1.8333333333333333,
"count": 204,
"min": 1,
"max": 3,
"lower95Value": 1.927865859309491,
"upper95Value": 1.927865859309491
}]
},

. . . .

. . . .
{
"server": "useradmin1",
"function": "free memory (kb)",
"statData": [ {
"startTime": 1500653546432,
"endTime": 1500654822701,
"total": 5010732,
"mean": 313170.75,
"count": 16,
"min": 172423,
"max": 396615,
"lower95Value": 340214.2471190447,
"upper95Value": 340214.2471190447
}]
}
]