We want to run Confluence behind a reverse proxy. In order to do so we need to tell the proxy what URL it can use to validate Confluence is running and healthy. For JIRA there is a /status URL path for this but I haven't found anything for Confluence.
The test URL for Confluence is the same as the one for JIRA, http://host.domain.com/context/status (http://host.domain.com/wiki/status) this page returns a test string with status.
Expanding on this, here is the documentation.
https://confluence.atlassian.com/enterprise/jira-data-center-load-balancer-examples-781200827.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This seems to work as the URL for healthcheck:
/login.action?os_destination=%2Fdashboard.action
Anyone think of a reason this isn't a good idea long term?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
why not just /login.action ? why do you need to have a "redirect" to dashboard.action?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That seemed to work as well! I was just copying what was in the browser URL at the time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
With companies integrating SSO / single-sign this URL sometimes won't be available - the best URL to use for this would be to add /status to your URL: http://host.domain.com/wiki/status.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Troy,
Correct me if I'm wrong, but you want to check the Confluence's URL to check if it have failed, right?
I believe the correct url to be used on this environment should be the external URL of Confluence.
You can use a monitoring software to check it for you since there isn't a native way to do it on Confluence. One software which do it is Nagios and another one is Zabbix.
Another simple way would be you create a script to ping the external URL of Confluence and check if it is answering or not. For example, a simple shell script would be like:
#!/bin/bash DATA=`date +%d/%m/%Y` HORA=`date +%H:%M` ping -c 15 -w 30 http://confluence.your_domain.com if [ $? -ne 1 ] ; then echo "Link's up..." ; else echo "Link's failed..." mail -s "Link has failed at $DATA - $HORA" root@localhost < /root/warning fi
Hope it helps,
Renato Rudnicki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ping will not be 100% correct, as you may have your confluence behind apache or some other server (and confluence could be down, while front server is up)...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A question 6 years old, I still don't see proper solution.
Login page is not available when using SAML, redirection goes to SAML login.
Pity that confluence doesn't have some health page checking with some token, for example, gitlab (and some other services) are using that, and returning simple response "OK".
Very easy for monitoring purpose.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, this isn't answered after all!
Checking for "/login.action" only works after a successful login. So I have to log into Confluence directly and then the health check starts working.
Doesn't this seem odd?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What do you mean "only works after a successful login"? The url does not require any authentication...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Disregard. This was simply due to the fact that Confluence was starting properly only my test instance when the appliance restarted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.