ZENworks 2017 Update 2 Troubleshooting Inventory

February 2018

This document provides troubleshooting guidelines for common problems related to ZENworks Inventory. If, after completing the troubleshooting steps, the problem is not resolved, please contact Technical Support for additional help.

If you are not sure that you have applied the latest Product Recognition Update (PRU) to your ZENworks Knowledgebase, check for updates and apply the latest update to your knowledgebase.

In ZENworks Control Center, click Configuration > System Updates.

In the Available System Updates panel, click Action > Check for Updates. It might take some time to connect and get the request from the server.

Once the newest PRU is visible in the list, select the check box next to the PRU name, then click Action > Download Update.

Once the status of the PRU is Downloaded, select the PRU, click Action > Authorize Update to authorize the update to be deployed, then click Action > Deploy PRU Now.

To verify the deployment status of the PRU, click the Asset Inventory tab and check the Knowledge Base Status panel.

If the deployment is finished, you’ll see a status showing the merged date and time, similar to the following:

If the deployment is not finished, you’ll see a status showing the merge progress, similar to the following:

After the PRU is merged into the knowledgebase, run an inventory scan on the device and check the resulting inventory in ZENworks Control Center.

On the device: Click the ZENworks icon > Inventory Details > Scan Now or go to a command prompt and run zac inv scannow.

In ZENworks Control Center: Locate the device. Select the check box next to the device, click Quick Tasks > Inventory Scan. Configure the Quick Task, then click Start.

If you have the latest PRU, make sure the PRU is merged into the ZENworks Knowledgebase:

In ZENworks Control Center, click Configuration > Asset Inventory.

Check the Knowledge Base Status panel. The last merge date should be more recent than the date of the most recently applied PRU, similar to the following:

If the merge date is earlier than the most recently applied PRU, in the Local Software Products panel, click Action > Update Knowledgebase with Local Product Changes.

This causes the PRU to be merged with the knowledgebase.

After the PRU is merged into the knowledgebase, run an inventory scan on the device and check the resulting inventory in ZENworks Control Center.

On the device: Click the ZENworks icon > Inventory Details > Scan Now or go to a command prompt and run zac inv scannow.

In ZENworks Control Center: Locate the device. Select the check box next to the device, click Quick Tasks > Inventory Scan. Configure the Quick Task, then click Start.

Verify that the device’s latest scan is uploaded to the ZENworks server:

In ZENworks Control Center, go to the device’s Inventory page (device object > Inventory tab). Note the date in the Last Scan Date field. This is the date of the last scan that has been uploaded to the ZENworks server.

On the device, double-click the ZENworks icon, then click Inventory Details. Check when the last scan occurred and if it was uploaded.

If the product that is missing from the device’s inventory was installed on the device after the last scan, run a new inventory scan on the device (ZENworks icon > Inventory Details > Scan Now). Wait for the scan to be uploaded and then check the device’s inventory in ZENworks Control Center.

If the device’s last scan has not been uploaded, check the following:

Is the device using a Satellite Server for its Collection server? To check, run zac zc -l at a command prompt.

If the device’s Collection server is a Satellite Server, check its collection role-up schedule. The schedule determines how often the Satellite Server uploads its collected inventory to a Primary Server; the inventory will not show up until it has been uploaded to a Primary Server. To check the roll-up schedule on the Satellite Server, click the ZENworks icon > Satellite Collection. The collection schedule is listed as well as any inventory files waiting to be uploaded.

Are the scan files trapped on the device? This can be caused by corrupt scan files.

To check, go to the %zenworks_home%\work\inventory directory. Delete any *-full.xml and *-last.xml files. Run a new inventory scan on the device (ZENworks icon > Inventory Details > Scan Now).

2.0 A device’s uploaded inventory scan is not showing up in ZENworks Control Center

Symptom: A device shows that its current inventory scan has been uploaded, but the inventory is not showing up (old inventory or blank inventory) on the device in ZENworks Control Center.

Check to see if the device’s Collection server is a Satellite Server. To check, run zac zc-l on the device.

If the Collection server is a Satellite Server, check its collection role-up schedule. The schedule determines how often the Satellite Server uploads its collected inventory to a Primary Server; the inventory will not show up until it has been uploaded to a Primary Server. To check the roll-up schedule on the Satellite Server, click the ZENworks icon > Satellite Collection. The collection schedule is listed as well as any inventory files waiting to be uploaded.

On the device’s Collection server (Primary Server or Satellite Server), go to the following directory:

In the Reconcile Settings panel, deselect Serial Number, then click OK to save the changes to the registration settings.

The Reconcile settings determine if a registering device is associated with an existing ZENworks device object or if a new device object is created. Not using the serial number as reconciliation data reduces the likelihood of a registering device matching an existing device object.

Reregister the device for which you want to create a new device object:

At a command prompt on the device, run zac unr -f to unregister the device locally.

Run zac reg -g <zenworks_server> to reregister the device with a new GUID.

Run a new inventory scan on the device:

On the device: Click the ZENworks icon > Inventory Details > Scan Now or go to a command prompt and run zac inv scannow.

In ZENworks Control Center: Locate the device. Select the check box next to the device, click Quick Tasks > Inventory Scan. Configure the Quick Task, then click Start.

When you enable the Asset Management module, the reports for licensed products will not be displayed accurately.

Workaround: After enabling the ZENworks Asset Management module, ensure that you enforce full scan on all the devices.

To perform full scan, perform one of the following:

In the command prompt, run the zac inv –f scannow command.

On the device, delete the.xml files from %ZENWORKS_HOME%\work\inventory, and then run an inventory scan.

5.0 Legal Notice

For information about legal notices, trademarks, disclaimers, warranties, export and other use restrictions, U.S. Government rights, patent policy, and FIPS compliance, see https://www.novell.com/company/legal/.