In order to maintain both performance and availability, it is necessary to get insight into the load on your Jenkins server. In this hands-on lab, we will add monitoring to our Jenkins server using plugins. This is only one possible method to add monitoring, but it uses what is available on the Jenkins server itself.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Access the Jenkins Instance Using the Provided Credentials, and Ensure Plugins Are Up to Date
- Log in using the following credentials:
- Username: student
- Password: OmgPassword!
- Navigate to Manage Jenkins > Manage Plugins.
- Ensure all plugins are up to date.
- Log in using the following credentials:
- Install Monitoring Plugin, and Ensure It Is Configured and Accessible
- In the plugin manager, search for the Monitoring plugin, which utilizes JavaMelody.
- Install this plugin.
- Run a Simple Test Job, and Ensure Monitoring Data Is Updated
- From the dashboard, create a freestyle job. (It does not have to accomplish any build tasks.)
- Open the monitoring windows, and verify there is data.
- Run the simple job.
- In the monitoring data, ensure the job run is indicated and metrics are available.