Jenkins is an open source Continuous Integration Server that is one of the most popular in industry. Recently in April 2016, Jenkins 2.0 with focus on Continuous Delivery has been released and that is one of the major step for open source CI server and its future.
- Practical AWS Networking
- Learning Azure Functions
- Jenkins Continuous Integration Cookbook
- Jenkins Essentials – Second Edition
- DevOps for Web Development
- Implementing DevOps with Microsoft Azure
- DevOps Bootcamp
- Jenkins Essentials
Considering the end to end aspects of DevOps culture, Authentication and Authorization, and Monitoring in Jenkins are extremely important as Security, Governance, and Monitoring completes the End to End perspective of Application Lifecycle Management.
Monitoring plugin provides monitoring of Jenkins with JavaMelody. It provides Charts of cpu, memory, system load average, http response time etc. It also provides details of Http sessions, Errors and logs, Actions for GC, heap dump and invalidate session(s), etc. Install Monitoring plugin from Jenkins Dashboard.
To install the plugin go to Manage Jenkins and click on Manage Plugins. Go to Available tab and find Monitoring or Java Melody. Select and click on Install without Restart.
Wait till the plugin is downloaded completely. Make sure to do Proxy settings if you are behind the firewall.
Once plugin is installed successfully, go to Manage Jenkins page.
On Jenkins dashboard, click on Manage Jenkins.
Click on Monitoring of Jenkins master as shown in below figure. It will open a statistics of JavaMelody monitoring as shown in below figure. Observe all statistics. It will show different stats for Used Memory, Active Threds, CPU, Http Sessions, % of Http Errors and so on.
Click on Other Charts to get more details on Garbage collection, Thread counts, Swap Space, Heap Memory, Physical Memory, disk space and so on.
To get more information, click on Details link of any section. Statistics of http are as shown in below figure. Scroll down the page and we will find Statistics system errors logs.
In the bottom section of page, we get details on System information as well as Threads as shown in below figure.
Jenkins can be installed in Master Slave (Old terminology before Jenkins 2.0) or Master Agent Architecture. We can monitoring Master as well as Agent or slave nodes too via Monitoring Plugin that uses JavaMelody.
Explore more at https://wiki.jenkins-ci.org/display/JENKINS/Monitoring to get more details on Monitoring plug-in.
Managing Disk usage
To learn more about Jenkins Click Here.
Disk Usage Plug-in records disk usage. Install Disk Usage plug-in from Jenkins Dashboard.
Once plug-in is successfully installed, we will get Disk Usage link on Manage Jenkins page as shown in below figure.
Disk Usage plug-in will show project wise details for all jobs and all workspace. It will also display Disk Usage trend.
To get more details on Disk usage plug-in visit https://wiki.jenkins-ci.org/display/JENKINS/Disk+Usage+Plugin.
For more details get the DevOps for Web Development book.
It is also available at: