Url to ping nodes in clustered confluence instalation - F5 load balancer

Miguel Martinez May 17, 2012

Hi, I would like to know if there is any url to ping the nodes in order to test the availability.

for example something like

http://{confluence-host}/ping.action

4 answers

0 votes
Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 26, 2012

Hi, meant to say, forgetting API's etc, for an F5 ping even the site favicon would work?

eg: https://confluence.atlassian.com/favicon.ico

Miguel Martinez May 29, 2012

Thanks for you answers. Finally I developed a very simple plug-in which uses the rest api extension and returns a message like:

statuts 200 OK.

Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 29, 2012

fair enough, but for the purpose I think is more than needed, you are testing JVM responsiveness.... In any case, that will do nicely, heck you could even put it up on the marketplace as a an F5 ping responder!

0 votes
Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 22, 2012

It really depends what you're trying to prove, for F5, you may just want to know if its 'probably' there, you could just pull the favicon, http://confluence.atlassian.com/favicon.ico and check for a 200 response, if you want to verify more, then perhaps you could lookup a user...

3.4.5 rest docs are at http://docs.atlassian.com/atlassian-confluence/REST/3.4.5/

0 votes
Miguel Martinez May 21, 2012

Many thanks , but I am using confluece 3.4.5 and it doesn't have it url (buildInfo) available.

How do you specify the result type (json or xml)?, by default is Xml.

0 votes
Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 18, 2012

I would say the REST API for build info would be relatively light:

http://localhost:8092/rest/prototype/1/buildInfo

responding with:

{"versionNumber":"4.1.6","buildDate":1329649200000,"buildNumber":"3144","bambooBuildNumber":"${bamboo.buildNumber}","revisionNumber":""}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events