<< Click to Display Table of Contents >> Raynet One > 1.1 u4 > User Guide > Workspaces in the sidebar menu > Configuration Inventory scripts |
Apart from manually triggered or automated inventory runs, you can inventory your IT assets with the help of custom inventory scripts. The idea of inventory scripts is to execute custom logic by the runner during device inventory. They collect device information most valuable to you in the way that you truly want and need. In terms of scripting languages, you have the choice between either CSM or Python. Settle down on the device inventory requirements of your IT landscape (which data to collect from which device), design the inventory scripts thoroughly on a technical level and, finally, maintain the list of active inventory scripts in this list view with great care.
You have the option to attach meaningful descriptions to inventory scripts. They should include the inventory script's intention, the details of applicability (besides the supported platform), the logic's version, the author's contact information and an estimation of the impact on the IT landscape during execution (execution time, bandwidth usage, machine resource allocation, dependencies, ...). Proper description helps you to understand inventory operations even tomorrow or as knowledge share to the team.
In the Inventory Scripts view you can perform the following actions:
•adding new inventory script files and assigning them to different target platforms,
•removing incorrect or redundant script files from the inventory process, and
•inspecting script details.
The Inventory scripts view is empty by default upon platform initialization. In order to get data into it, you need to add new scripts via the Add new script button. In this image, there are two custom inventory scripts as recommended by this documentation in custom inventory scripting use cases. Meaningful descriptions have been assigned to the scripts, following the description guidelines above.
The Add inventory script wizard enables you to define a new inventory script file. Each inventory script needs a name, description, target platform and script content. The script name has to be unique across the set of all inventory scripts.
Tip:
|
The details view of an individual inventory script. The Linux user fetching script is shown. Script content can be changed directly through the web user interface after addition, by clicking on the Edit button inside of the Script content section to the right.