Have you ever wondered if your Linux on System z-specific settings are still correct after a security update or an operating system upgrade? Are you puzzled about what buffer count value should be used with QETH devices for optimal performance? If the answer to these and similar questions is yes, don’t worry, the Linux Health Checker (LNXHC) tool is here to help.
The LNXHC tool is available for Linux on System z distributions and helps identify potential problems that could arise due to deviations from certain Linux on System z best practices.
The LNXHC tool can help detect:
• Misconfigured Linux on System z-specific features and functionality
• A deviation from Linux on System z-specific best practices during implementation
• Single points of failure.
The LNXHC tool enables Linux on System z users to understand, identify and solve problems before they potentially cause system outages. This tool can be downloaded from the SourceForge website at http://lnxhc.sourceforge.net/download.html.
The LNXHC Tool: An Overview
The LNXHC tool consists of:
• The Framework. This is a command-line interface to run and manage health checks. It’s written in a scripting language and can run on any Linux platform with the appropriate software. The framework collects system information, runs the health checks and sends the results for final processing.
• Health checks. These are plug-ins that help identify potential problems on a system. They analyze system information based on the values defined for each health check. These values are specified by either the health check authors or system users. Health checks can be implemented using various programming languages.
• Consumers. These are plug-ins that process the health check result data and display a report on the user’s terminal. Two consumers, basic and minimal, are available with the tool.
Figure 1 shows an overview of the LNXHC tool. Figure 2 shows an example of a health report generated by the LNXHC tool. The first column of the report displays the name of the health check, the second column shows the name of the host for which this report is generated and the last column displays the result of the health check. Possible values for this column are Success, Exception-High, Exception-Med, Exception-Low, Not Applicable and Failed.