Skip navigation
All Places > Snow Product Hub > General Licensing Forums > Blog > Author: aaron.fryer

General Licensing Forums

2 Posts authored by: aaron.fryer Employee
aaron.fryer

Snow Agent Monitoring

Posted by aaron.fryer Employee Apr 6, 2019

Snow Agent Monitoring

_______________________________________________________________

DOCUMENT DATE            21/03/2019
AUTHOR                              AARON FRYER


 

INTRODUCTION
This document will provide some best practice processes and tips to monitor the behaviour of the Snow Agent.


 

REQUIREMENTS

- Snow Inventory 5.x / 6.x

- Procdump tool
Download here -
https://download.sysinternals.com/files/Procdump.zip

- Windows Debugging tool
https://developer.microsoft.com/windows/downloads/windows-10-sdk


 

Using the procdump tool

 

- Download and install the procdump program
- Extract the contents to C:\Temp
- Run command prompt as an administrator
- Browse to the directory C:\Temp via command prompt

Collect a memory dump file based on high CPU usage

The "-c [%value]" argument specifies the CPU usage threshold after which a memory dump file should be collected.

The "-c" argument is usually combined with the following ones:

"-s [secs]" – specifies how long the CPU usage should remain at a specified level for a memory dump file to be collected. The default value is 10 seconds.

"-u" – specifies the CPU usage of any particular processor core to be tracked, comparing the average CPU usage of all the cores.

 

 

 

Collect a memory dump file based on high memory usage

The "-m [MBs]" argument can be used to specify memory usage threshold after which a memory dump file should be collected.

Example. Collect a memory dump file if the process memory usage is larger than 500 MB.

Once there is a successful dump of the application that’s being monitored, you’ll find a .dmp file placed in the directory.



To view the dump file, you’ll require the Windows Debugging tool


 

Snow Agent Logging

The snow agent logs can be viewed remotely from the Snow Inventory console using the below method in the SMACC.

- Browse to device
- Double click the device to open the settings
- Browse to log file in the navigation pane





 

CHANGING THE LOG LEVEL OF THE AGENT

It can be useful to change the log level of the agent to give you more visibility on the errors you may be facing when troubleshooting the snow agent.

To do this, you’ll need to browse to the directory C:\Program Files\Snow Software\Inventory\Agent and open the snowagent.config file

It’s recommended to use notepad++ when opening this file to make editing easier and more clear.

On line 72 change the log level to verbose and on line 73 the MaxSize setting to 10000. Below is an example of what you should see in the snowagent.config file once these changes have been made. Once done, save and close the file and stop and start the Snow Inventory Agent service.

  <Logging>

    <Level>verbose</Level>

    <MaxSize>10000</MaxSize>

  </Logging>

Snow Active Directory Discovery
_______________________________________________________________

DOCUMENT DATE            14/03/2019
AUTHOR                              AARON FRYER

INTRODUCTION
This document will walk you through how to enable Active Directory Discovery for Snow Inventory.


 

REQUIREMENTS

- Snow Inventory 5.x / 6.x

- An Active Directory user account which is a member of the domain users group.


 

ENABLING ACTIVE DIRECTORY DISCOVERY

Login to the Snow Inventory Server and open the SMACC Console. Browse to Inventory Servers and click the show details option to be directed to the next page.




 


On this page, you’ll need to click edit





You’ll now be presented with this menu, tick the box to enable Active Directory Discovery, this setting will start searching for machines in your domain once enabled and saved.


 

Click the Add option and you’ll see a list of options as below. Fill out the options below and click add and then save.




 

To enable User Discovery options, complete the same process and hit save once done.