At Snow Software we empower customers by providing access to all the tools necessary to support their software asset management. Creating a Snow Agent is one of the first steps of this journey, but it can be tricky to make sure that this step is done correctly. This guide helps you confirm that your Snow Agent is fit for your needs. When a Snow Agent is incorrectly configured you may experience issues such as:
- Limited or no software being scanned
- Snow Agent fails to install
- Snow Agent service fails to start
Use the guidance included below to confirm that all required settings and scripts are present in the Snow Agent that you have created via the Snow Agent Package Builder.
Prerequisites
In order to perform the Snow Agent checks, you will need to have access to the following:
- Package Builder - Access to your Snow Atlas Agent Package builder to create Snow Agents.
- A decompression tool such as 7-Zip - File archiver/extractor tool used to investigate the downloaded Snow Agent package from the Package Builder.
- An editor tool such as Notepad++ - with XML Tools installed. Used to check the Snowagent.config file to ensure your settings are correct.
- A downloaded Snow Agent package ready to validate.
Preparing to Validate
Package builder documentation is available here or by accessing the help icon in Snow Atlas. Follow the documentation to create a Snow Agent package, and then follow the remaining procedures in this article to validate it was created properly to address your needs.Checking Package Contents
In this example we are using 7-Zip (a decompression tool) to validate the contents of the Snow Agent package.
- Download the Snow Agent.
- Right-click the download and use the Open Archive options to examine the contents of the package.
- Confirm that all scripts requested from the Package Builder are present.
- Open the snowagent.config file and confirm it contains your request settings. Items to confirm:
- Sitename – Is this correct? Do not use spaces/whitespace in this field.
- Configname – Does this accurately explain the current configuration (e.g WindowsServerConfig?)
- Endpoint Addresses – Confirm your gateway or endpoint address (e.g http or https and the correct port number.)
- Drop Locations – Is this the correct Drop location address you are using?
- Scan times – Does it scan at the desired time? Is the configured time when the machines are likely to be online?
- System Settings keys – Have you enabled and configured all relevant settings you wish to use?
- Powershell – Are all requested “.Snow_ps1” scripts present.
- Linux - Cronjob file is present within the package. This is used to create a scan for Linux OS
Checking XML syntax
In this example we are using Notepad++ with the XML Tools plugin installed. Using this method you can confirm that there are no syntax errors in your snowagent.config file. Other XML validating editors can be used as well, but our instructions will focus on Notepad++ as a free tool accessible to anyone. Broken XML tags will yield negative results, and Notepad++ with XML Tools makes it easy to spot errors. Notepad++ also displays XML using colours and other formatting options to make the file as readable as possible.
- Launch the Notepad++ application.
- Under the Plugins menu, select Plugins Admin.
- Enter XML Tools in the Search field. The XML Tools plugin is highlighted in the list.
- Enable its checkbox and click Install. Click Yes on the confirmation dialogue that appears.
- Notepad++ will close and restart to complete the installation.
- Open your snowagent.config file in Notepad++.
- Click Plugins > XML Tools > Check XML syntax now.
- If there are no errors, a dialogue box will open stating this. Otherwise, use the Next error / Previous error controls to locate tags to correct.
Related Articles
Add custom Snow Oracle Scanner cron in the Snow Agent Package Builder 30Number of Views Snow Agent for Linux throws error processing package snowagent (--install) subprocess returned error exit status 2 228Number of Views Package Builder performance improvements (April 17th, 2023) 7Number of Views Request or download a Snow Inventory Agent 227Number of Views Get Access to Snow Atlas and Package Builder (Snow on-premises customers) 26Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago