HiveBrain v1.2.0
Get Started
← Back to all entries
patternModerate

Jenkins Health Check URL

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
jenkinscheckhealthurl

Problem

I'm planning to supervise services by periodically checking if they are up and running, Jenkins is our central orchestration tool and must be running with near zero downtime.

How can I check health status of a Jenkins server - By health status I mean service is up and web app application is operational ?

Does Jenkins provide a native health check URL ? Or does I need to make additional scripts? if so what factors should be included in beside checking jenkins.service and curl web app home page.

Solution

Check the login page, e.g. http://localhost:8080/login

Most pages are password protected but not this one (or you couldn't log in).

Context

StackExchange DevOps Q#3720, answer score: 16

Revisions (0)

No revisions yet.