Start a conversation

How to gather troubleshooter files for WebMonitor (.etl format)

Answer

The GFI WebMonitor logs can be gathered using a script or manually.

To gather the logs using the script:
  1. Download the script from http://ftp.gfisoftware.com/temp/PSG/WM/Temp/WebMonLG.zip
  2. Wait for the the ZIP file to finish downloading: 
  3. Right-click the ZIP file, and then click Properties
  4. In the General tab, click Unblock
  5. Unpack the ZIP file;
  6. Right-click the WebMonLG.ps1 file and select 'Run in Powershell'
NOTE: If you get a black flash and the script does not run the Execution Policy is set to block scripts.                                       
  1. Open Powershell (Start > Programs > Accessories > Windows Powershell > Powershell)                                                          
  2. Run the command 'Get-ExecutionPolicy' without quotes to get the current Execution Policy                                                     
  3. Run the command 'Set-ExecutionPolicy Unrestricted' without quotes to allow the script to run                                                
  4. Rick click the WebMonLG.ps1 file and select "Run in Powershell"                                                                             
  5. Once the script is finished, remember to run "Set-ExecutionPolicy (previous policy)" without quotes or parentesis to reset it.              
To run this script manually:                                                            
  1. Open Powershell (Start > Programs > Accessories > Windows Powershell > Powershell)                                                          
  2. Browse to the directory you saved the file.                               
  3. Run the command '.\WebMonLG' without quotes to run the script.        
To gather the logs manually:
GFI WebMonitor will be using .etl files to log the activity generated by the Proxy filters. To generate these files use Microsoft Event Viewer and Performance Monitor.
NOTE: Complete the normal Troubleshooter steps from the link at the bottom of this page.

Microsoft Windows EventViewer
  1. Open Event Viewer (Start > Run > eventvwr.msc)
  2. Open the menu View and select the option “Show Analytic and DebugLogs”.
EventViewer
  1. Expand the “Application and Services Logs” node and navigate to GFIWebMonitorFilterDebug
Debug Option
  1. On the Debug value right-click  and select the option "Enable Log"
  2. Confirm with OK to proceed
Microsoft Windows Performance Monitor
  1. Open Performance Monitor (Start > Run > Perfmon)
  2. Expand the Data Collector Sets node
  3. Right-click the folder Event Trace Session > New > Data Collector Set
User-added image
  1. Rename the Data Collector Set with a custom name. For example, "WebMonitor" and select the option create manually (advanced).
User-added image
  1. In the next dialog screen, please specify the Event Trace Provider for the Data Collector Set:
  2. Click Add and select the value GFI-Webmonitor-Filter from the drop-down list 
edit
  1. Click OK
  2. Click Edit and specify how much detail of information is required for troubleshooting.
path
  1. In the next dialog screen, select the Root Directory where debug log files should be created. By default the value …\GFI\WebMonitor\DebugLogs is selected.
  2. Save and Close the dialog screen. You should now be able to set the new Data Collector Set at the top of the list. 
  3. Select your Data Set Collector > Right-click Properties
file
  1. Under the Stop Condition specify the maximum size of the log files created. Set the file size to 25 MB.
  2. Click Apply and OK.
  3. In the main Performance Monitor menu bar click the green start icon to start the capturing the process and reproduce the issue. 
  4. Stop the capture process when the issue has been reproduced.
 
Please follow the instructions in the article below
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments