The XML file you create can be modeled on the sample script in this section.
Devices that are added to inventory through the API do not count toward the license limit. See View product licensing information.
Application inventory that is uploaded through the API is displayed on the Software page, but it is not displayed on the Software Catalog page. See:
NOTE: The inventory API supports HTTP and HTTPS communications, depending on your appliance configuration. To upload inventory information, use the following URL: http://appliance_hostname/service/wsapi.php, where appliance_hostname is the host name of your appliance. |
After you generate an XML file with the expected content, you can submit inventory using the API.
a. |
b. |
Submit req=loadxml&key=$auth&KUID=$uuid&version=6.0 in the GET line and inventory XML in the body of the request.
You can use Perl scripts to upload XML files with device inventory information to the appliance.
The following is a sample Perl script that uploads a user-created XML file to the appliance. For information about using this script, contact Quest Support at https://support.quest.com/contact-support.
Files used to upload inventory information for Windows devices must conform to valid XML schemas.
The following is an example of a valid XML schema for Windows devices.
You can view an example of a file that conforms to the valid XML schema for Windows devices.
The following is an example of valid XML that uses the schema in Valid XML schema for Windows.
Files used to upload inventory information for Linux and Mac devices must use valid XML schemas.
The following is an example of an XML schema for Linux and Mac devices.
You can upload an XML file that contains device inventory information using the Administrator Console. This type of information is referred to as manual inventory information.
The KACE Agent is installed on the device that is having its inventory information added.
Manual inventory information appears on the Software page but it does not appear on the Software Catalog page. See:
▪ |
Windows 32-bit systems: C:\Program Files\Quest\KACE |
▪ |
Windows 64-bit systems: C:\Program Files (x86)\Quest\KACE |
▪ |
Mac OS X systems: /Library/Application Support/Quest/KACE/bin |
▪ |
Linux systems: /opt/quest/kace/bin |
Where filename is the path to the XML file you want to create. If the path contains spaces, enclose the entire path in double quotation marks.
The Agent collects the inventory data and generates the XML file.
2. |
a. |
Log in to the appliance Administrator Console, https://appliance_hostname/admin. Or, if the Show organization menu in admin header option is enabled in the appliance General Settings, select an organization in the drop-down list in the top-right corner of the page next to the login information. |
b. |
3. |
4. |
5. |
6. |
To force inventory updates, one of the following conditions must be met:
You can use the appliance Administrator Console to force devices to report inventory.
1. |
a. |
Log in to the appliance Administrator Console, https://appliance_hostname/admin. Or, if the Show organization menu in admin header option is enabled in the appliance General Settings, select an organization in the drop-down list in the top-right corner of the page next to the login information. |
b. |
3. |
Inventory information is updated.
You can force Windows devices to report inventory by running commands on the devices.
◦ |
On 32-bit systems: C:\Program Files\Quest\KACE\ |
◦ |
On 64-bit systems: C:\Program Files (x86)\Quest\KACE\ |
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center