Closed kpengboy closed 7 years ago
I was intending to catch errors such as RT giving the 401 status but not actually being accessible because of a database misconfiguration etc. Do you think this more complex healthcheck is a step in the right direction?
@chriskuehl ^
@kpengboy yeah, this seems like a good idea to me. There was an rt ticket about this at some point (how RT starts in a broken state if the database isn't reachable).
@chriskuehl Ah, thanks for mentioning that; that clears things up. This fixes rt#3673, which is still open.
Instead of only testing for a 401 status on the site root, which only tells you whether Apache is running, check to make sure we can log into RT and fetch ticket number 1.