Sun Management Center 3.5 System Reliability Manager User's Guide

Chapter 6 Installed Packages Audit Module

This chapter describes the Installed Packages Audit Module.

Overview of Installed Packages Audit Module

The Installed Packages Audit module checks the integrity of the specified packages using the pkgchk command. This module is a multi-instance module. You can organize the package audit results by product.

The output of the pkgchk command lists the package and file name for each error detected. Using this module reduces the number of commands you need to use to collect the same information. The data is displayed in an easy-to-read format.

The data collected from this module is displayed in three tables:

The Installed Packages Audit module generates an alarm if the package is not installed, or if some errors were detected.


Note –

An alarm threshold cannot be set on the File Attributes Errors table or the File Contents Errors table.


To Access the Installed Packages Audit Module
  1. Load the module.

    See the Sun Management Center 3.5 User's Guide for more information. The Installed Packages Audit module is available under Local Applications in the Details window.

  2. Double-click Local Applications.

    The menu underneath expands.

  3. Double-click Installed Packages Audit.

    The Pkgchck Utility icon appears.

  4. Double-click Pckgchck Utility.

    Three tables appear in the Viewer window: Packages Table, File Attribute Errors, and File Content Errors.

To Add a Package to the List Being Audited
  1. Access the Packages table as described in To Access the Installed Packages Audit Module.

  2. Add a row to the Packages table by pressing mouse button 3 on the header of the Packages table.

    A pop-up menu appears.

    Module browser with Packages Table and menu. The context describes the graphic.
  3. Choose New Row.

    The New Row dialog box lists the packages installed on the system with their description.

  4. Select the package in the Select Packages field, or provide the package name in the Enter Package text field.

    Dialog box titled Add Row. The context describes the graphic.
  5. Determine whether to enable attribute auditing on the package through the drop-down menu in the File Attribute Audit field.

    Choose Yes to enable file attribute auditing on the package, or No to disable auditing.

  6. Determine whether to enable content auditing on the package through the drop-down menu in the File Content Audit field.

    Choose Yes to enable file content auditing on the package, or No to disable auditing.

  7. (Optional) Click Apply if you want to add more packages.

    Repeat Steps 3 through 6 until all packages are added.

  8. Click OK.

To Enable or Disable Auditing on All Packages
  1. Access the Packages table as described in To Access the Installed Packages Audit Module.

  2. Press mouse button 3 on the header of the Packages table.

    A pop-up menu appears.

  3. Choose the desired level of auditing.

    • Enable Attribute Audit for All sets attribute auditing to on for all packages.

    • Disable Attribute Audit for All sets attribute auditing to off for all packages.

    • Enable Content Audit for All sets content auditing to on for all packages.

    • Disable Content Audit for All sets content auditing to off for all packages.

To Enable or Disable Auditing on a Single Package
  1. Access the Packages table as described in To Access the Installed Packages Audit Module.

    All packages that are being monitored are listed in the table.

  2. Select the package.

  3. In the File Attribute Audit or the File Content Audit row, click the table cell below the desired header.

    A drop-down menu appears in the table cell.

  4. Select Yes to enable auditing or No to disable auditing.

    A confirmation box appears.

  5. Click OK to confirm the change.

    The value in the table cell changes.


    Note –

    The auditing values can also be set to on or off using the Manage Jobs functionality of Sun Management Center 3.5. For more information, see Sun Management Center 3.5 User's Guide.


To Use Probe Commands on a Package

The Packages table has probe commands available on each selected row.

  1. Press mouse button 3 on the row that contains the package name to be probed.

  2. From the pop-up menu, select either Run pkginfo —l or Run pkgchk —l.

    The Probe Viewer dialog box displays the requested information.

  3. (Optional) Click the Reload button to refresh the information.