How to Monitor Your Jenkins Pipeline with Vigilmon
Jenkins remains one of the most popular CI/CD tools, powering thousands of production deployments daily. But Jenkins itself can fail — and when it does, your entire delivery pipeline stops. This guide shows you how to monitor Jenkins and the applications it deploys using Vigilmon.
The Jenkins Monitoring Stack
You need to monitor at two levels:
- Jenkins itself — is the Jenkins master reachable?
- Deployed applications — did the Jenkins pipeline deploy successfully?
Monitoring Jenkins Health
Jenkins Health Check Endpoint
Create a Vigilmon monitor pointing to the Jenkins login page:
https://jenkins.yourdomain.com/login
- Sign in at vigilmon.online
-
+ New Monitor → URL:
https://jenkins.yourdomain.com/login - Check interval: 1 minute
- Expected status: 200 OK
- Alert channel: Slack
#devops+ email
Monitoring Deployed Applications
Every app deployed by Jenkins should have a health endpoint:
# Django example
from django.http import JsonResponse
import os
def health_check(request):
return JsonResponse({'status': 'ok', 'build': os.environ.get('BUILD_NUMBER')})
Create separate Vigilmon monitors for each deployed service.
Adding Post-Deploy Verification to Jenkinsfile
Add a verification stage to your Jenkinsfile:
pipeline {
agent any
stages {
stage('Build') {
steps {
sh 'npm run build'
}
}
stage('Deploy') {
steps {
sh './deploy.sh'
}
}
stage('Verify') {
steps {
sleep 30
sh 'curl --fail https://yourdomain.com/health || exit 1'
echo 'Deployment verified'
}
}
}
post {
failure {
slackSend channel: '#ops',
message: "Build FAILED: ${env.JOB_NAME} #${env.BUILD_NUMBER}"
}
}
}
Jenkins + Vigilmon Alerting Flow
-
Jenkins pipeline fails → Jenkins Slack plugin notifies
#ops -
App goes down post-deploy → Vigilmon alerts
#ops+ PagerDuty - SSL cert expiring → Vigilmon emails 30 days before expiry
- Jenkins itself goes down → Vigilmon pages on-call engineer
This gives you complete coverage from CI to production.
Monitoring Jenkins Agents
If you run distributed Jenkins agents, monitor each agent machine to catch agent failures before builds queue up.
Conclusion
Jenkins + Vigilmon gives you full-stack CI/CD monitoring:
- ✅ Jenkins master uptime monitoring
- ✅ Application health checks post-deploy
- ✅ SSL certificate tracking
- ✅ Slack/PagerDuty/email alerts
- ✅ Public status pages for deployed services
Take 5 minutes to set up Vigilmon monitoring for your Jenkins environment. Free tier at vigilmon.online.
Top comments (0)