SWRules

Important:

Use this property page to configure the software scan settings for inventoried machines that have the following Novell® ZENworks® versions installed:

Do not configure the settings for inventoried machines that have the following ZENworks versions installed:

This page allows you perform the following tasks:

To configure the SWRules ini file:

  1. Click Set Defaults.

    The default values are displayed in the Configuration Editor box.

  2. Add or modify the entries.

    The format of SWRules is as follows:

    [VENDOR]
    scanned_vendor_name_reported_by_scanner= vendor_display_name_you_specify

    [PRODUCT]
    scanned_product_name_reported_by_scanner= product_display_name_you_specify

    The scanners compare the scanned_vendor_name_reported_by_the_scanner and the scanned_product_name_reported_by_the_scanner with the scanned data that they collect.

    For example, the contents of the SWRules ini file are as follows:

    [VENDOR]
    Novell=Novell Incorporated
    Novell Inc=Novell Incorporated
    Microsoft*=Microsoft Corporation

    [PRODUCT]
    Microsoft® Windows Operating System=NULL
    Microsoft ® Windows(TM) Operating System=NULL
    *WinZip*=Winzip

    You should follow these rules while editing SWRules:

    1. Ensure that blank lines do not exist between the sections.
    2. The section should end with a carriage return.
    3. You can use the wildcharacter * (asterisk) only.
    4. To modify the vendor name, specify the details for scanned_vendor_name_reported_by_scanner and the vendor_display_name_you_specify.

      For example, to display the software vendor information for Novell, Novell Inc., Novell Corp, and Novell Inc as Novell Inc., add the following entries in the [VENDOR] section:

      Novell=Novell Inc.
      NOVELL INC=Novell Inc.
      NOVELL CORP=Novell Inc.
      NOVELL Inc=Novell Inc.

      or

      Novell*=Novell Inc.

    5. To modify the product name, specify the Scanned Product Name and the Product Display Name.

      For example, to display the product information: Novell NetWare (TM) Operating System, Novell NetWare®, Novell NetWare (R) Operating System as Novell NetWare®, add the following entries in the [PRODUCT] section.

      Novell NetWare (TM) Operating System=Novell NetWare®
      Novell NetWare=Novell NetWare®
      Novell NetWare (R) Operating System=Novell NetWare®

      or

      Novell NetWare*=Novell NetWare

    6. To exclude a product from being reported by the scanners, add the following entry in the [Product] section:

      product_name=null

      For example, to exclude Novell GroupWise from being reported by the scanners, add the following entry:

      Novell GroupeWise=null

    7. To exclude a vendor from being reported by the scanners, add the following entry in the [Vendor] section:

      vendor_name=null

      For example, to exclude Microsoft from being reported by the scanners, add the following entry:

      Microsoft=null

    8. If you have selected the Highest Product Version Only check box in the Server Inventory Policy or the Workstation Inventory policy, you can further customize this option by including the following entry in the [VERSIONSORT] section:

      string_to_be_replaced=replacement_string

      By default, the Inventory scanner alphabetically compares the highest version of the software application installed on the inventoried machines, which might be incorrect. To resolve this, configure the [VERSIONSORT] option in SWRules.

      For example, if Novell ZENworks for Servers 3.0 Support Pack 2 and Novell ZENworks for Servers 3.0 SP 1 are installed on an inventoried workstation, the Inventory scanner alphabetically compares these versions, and incorrectly report ZENworks for Servers SP 1 as the highest version. To resolve this, configure SWRules by adding the following entry in the [Version Sort] section:

      Support Pack = SP

      Now the Inventory scanner reports ZENworks for Servers 3.0 Support Pack 2 as the highest version.

    9. If you specify incorrect entries, the entries preceding the incorrect entry will be used and the other entries will be ignored.

  3. Click OK to save the contents to the Inventory policy.

To import the contents of an existing ini file to the Configuration editor:

  1. Ensure that the contents of the file that you want import are in following format:

    [VENDOR]
    scanned_vendor_name_reported_by_scanner= vendor_display_name_you_specify

    [PRODUCT]
    scanned_product_name_reported_by_scanner= product_display_name_you_specify
    zenVersionsortRULE:string_to_be_replaced=replacement_string

    Note: Ensure that you typed zenVersionsortRULE exactly as shown above, because it is case-sensitive.

    For example, a sample ini file is as follows:

    [VENDOR]
    Novell=Novell Incorporated
    [PRODUCT]
    Novell NetWare=Null
    zenVersionsortRULE:Support Pack = SP

  2. Click Import.
  3. In the Open dialog box, browse to select the file, then click Open.

To export the contents displayed in the Configuration Editor to a text file:

  1. Click Export.
  2. In the Open dialog box, specify the filename, then click Open.


ZENworks Online Documentation

A trademark symbol (®, TM, etc.) denotes a Novell trademark. An asterisk denotes a third-party trademark. For information on trademarks, see Legal Notices.