Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

JazzMon: How to get the info contained in ServerInfo.xml

Hi,

Been toying with JazzMon a bit and while I haven't "put it to good use" I did notice that in the runtime for each server configured there is a ServerInfo.xml written (once) that contains the basics of what one sees on the Status page on any Jazz Application Administration.   I've been hunting about on jazz.net and found 1 reference to 'getServerInfo' mentioning the REST API

com.ibm.team.repository.service.internal.IServerStatusRestService

Q:  Is it possible to retrieve this document in 'oslc' fashion (i.e. using http client and the appropriate URI) ?

I could see doing this to monitor JVM use by each application server over time.

TIA

0 votes


Accepted answer

Permanent link
Kevin,

Yes you can get this xml file with a simple http call.  If you have an active login to a jazz server you can point your browser to this URL and see it for yourself.

https://<server>:<port>/<app>/service/com.ibm.team.repository.service.internal.IServerStatusRestService/ServerInfo

All we really do with JazzMon is do an http get at that URL and dump it to a file. 
Kevin Ramer selected this answer as the correct answer

0 votes

Comments

That is 100% awesome.   I was close in my guesses, but not quite.

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,024
× 42

Question asked: Aug 15 '12, 8:55 a.m.

Question was seen: 4,771 times

Last updated: Aug 15 '12, 9:54 a.m.

Confirmation Cancel Confirm