Monitoring Jenkins

15 minutes
  • 3 Learning Objectives

About this Hands-on Lab

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
  1. Log in using the following credentials:
    • Username: student
    • Password: OmgPassword!
  2. Navigate to Manage Jenkins > Manage Plugins.
  3. Ensure all plugins are up to date.
Install Monitoring Plugin, and Ensure It Is Configured and Accessible
  1. In the plugin manager, search for the Monitoring plugin, which utilizes JavaMelody.
  2. Install this plugin.
Run a Simple Test Job, and Ensure Monitoring Data Is Updated
  1. From the dashboard, create a freestyle job. (It does not have to accomplish any build tasks.)
  2. Open the monitoring windows, and verify there is data.
  3. Run the simple job.
  4. In the monitoring data, ensure the job run is indicated and metrics are available.

Additional Resources

Your company has installed Jenkins and wants to be sure the initial installation is sufficient for the current workload. You have been tasked with installing and configuring a monitoring solution capable of providing the needed insight. You will need to utilize a native solution that can be deployed from within Jenkins itself.

The instance you have been provided has the following login credentials:

  • Username: student
  • Password: OmgPassword!

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?