RTC monitoring using REST services
Hi all,
I'm looking for a service/services that returns status properties of components/server. Anyone can help? Or maybe some shell script that can return the status of RTC... Thanks Andrs |
5 answers
Hi all, Only some clarifications. Reading wiki documentation I found this: From: https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItems The sections contain a general description of each aspect, a reference part and some examples. The examples typically use curl or a standard browser. If the server is configured for form-based authentication, the following snippet will log you in and store the session cookie in a file for subsequent use by the examples: COOKIES=/tmp/cookies.txt This is the kind of access we want to do for monitoring server (Indeed curl is the command we want to use) : beginning with an authentication and then accessing REST services to get real Status of the server. On the other hand we cant use directly de URL of Status: https://localhost:9443/jazz/admin#action=com.ibm.team.repository.admin.componentStatus Because this page works with AJAX and the content is not present in the response. |
This is the kind of access we want to do for monitoring server (Indeed Although these services are internal and might change, you could use the same service calls that the Admin web ui uses: https://localhost:9443/jazz/service/com.ibm.team.repository.service.internal.IServerStatusRestService/components and POSTs to https://localhost:9443/jazz/service/com.ibm.team.repository.service.internal.IServerStatusRestService/statusForServices Firebug will allow you see the data that needs to be passed to 'statusForServices'. -- Regards, Patrick Jazz Work Item Team |
COOKIES=/tmp/cookies.txt I tried that but I get a 408: HTTP/1.1 408 The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requ ested or close and re-open your browser Any suggestions? Frank. |
I tried that but I get a 408: Please see David's and my answer in the jazz.extend group or https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItemAPIv2 -- Regards, Patrick Jazz Work Item Team |
I don't want to use CURL for invoking an HTTP/GET. Instead, want to use a web service through Java API. How do I provide the JTS with authentication information ?
I tried that but I get a 408: Please see David's and my answer in the jazz.extend group or https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItemAPIv2 -- Regards, Patrick Jazz Work Item Team |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.