Repository Management with Nexus

12.1. Configuring Repository Health Check

12.1.1. Configuration Per Repository

Repository health check for a repository can be enabled by selecting the repository in the list of repositories and setting the Enabled configuration in the Health Check tab to true as displayed in Figure 12.1, “Enabling Repository Health Check”. Administrator privileges are required to perform this configuration.


Figure 12.1. Enabling Repository Health Check

Once enabled, a scheduled task, that performs the initial analysis, is created and started. This task uses the identifier of the repository and the prefix Health Check: as a name and is configured to run regularly. New component data is supplied by the CLM data service to Nexus daily. The recurrence frequency can be changed in the scheduled task administration described in Section 6.5, “Managing Scheduled Tasks”. Disabling health check for a specific repository removes this scheduled tasks automatically.

After a successful analysis the Health Check column in the list of repositories will display security and license issue counts for the repository. An example is displayed in Figure 12.2, “The Repositories List with Helth Check Result Counts”.


Figure 12.2. The Repositories List with Helth Check Result Counts

Hovering your mouse pointer over that value will display the Repository Health Check summary data in a pop up window. A sample window is displayed in Figure 12.3, “A Result Summary for a Repository Health Check”.


Figure 12.3. A Result Summary for a Repository Health Check

At the bottom of the pop up window you find the button View Detailed Report to access the detailed report. It will show up in another tab in the main area of the Nexus user interface.

12.1.2. Global Configuration

Alternatively to enabling and disabling health check for each repository you can enable health check globally. This can be achieved by creating and configuring a new capability called Health Check: Configuration. Details about managing capbilities can be found in Section 6.6, “Accessing and Configuring Capabilities”.

The health check configuration capability allows you to enable and disable it with the Enabled checkbox and set up health check for all proxy repositories by enabling Configure for all proxy repositories. With this configuration health check will be enabled for all existing proxy repositories. Any newly created proxy repository will automatically have health check enabled as well.