Creating jobs for the Asset Inventory Service
In order to retrieve a list of assets from the API, back them up regularly, and compare them to the previous version, you can create a corresponding job in versiondog that runs regularly on a schedule.
The prerequisite for this is a versiondog component. This can have any component type. However, since the output is a list of attachments, messages, etc. in JSON format, we recommend an ASCII component.
- Start the AdminClient and open the Jobs module.
- Select the component of your choice in the Project tree.
- In the menu tab, click on Create or drag-and-drop the components into the Jobs section.
- In the section Job configuration, select the upload type Asset Inventory Service.
- Make sure the desired settings are in place for the following sections: General, Notification, Upload and compare, Create a version automatically after job run. The Notification and Create a version automatically after job run sections are only displayed if the necessary settings have been implemented.
- Configure the section Asset Inventory Service Settings.
-
- In Device, enter the IP address or name of the device.
- In addition to this, fill in the fields User and Password with your login details.
-
- Implement the settings you want in the Models section.
- The checkboxes Assets and Alerts are checked by default. Check or clear the other checkboxes as required.
If a checkbox is checked, a field is displayed for specifying the IDs to be issued. To issue all attachments, messages, etc., leave the respective field blank.
- Save the job, and then, to test it, click on Execute selected jobs once.
Related Topics
Last update: September 15, 2023