How to Collect Azure Sensor Debug Information

Updated: Oct 10

Your experience using the AutoMonX Azure Sensor Pack for PRTG is important to us. If you encounter any difficulties we recommend that you open a case with our support team at support@automonx.com. This will help us improve your experience and increase efficiency.


During the support process, we may need to collect the debug logs of our sensor. Below is an explanation how to activate the sensor debug mode.

  1. Go to the PRTG sensor settings.

  2. Add the argument "-debug" to the AutoMonX_AzureSensor.cmd parameters as seen below:


This will activate the sensor debug mode upon the next run of the sensor. The logs will be stored in the default PRTG sensor logs directory.


If you want to change the location of the debug logs, follow these steps:

  1. Go to the AutoMonX_AzureSensor.ini file which you can find in the Azure sub-directory of the AutoMonX Azure sensor pack.


2. Change the value of the variable DEBUG_LOG_DIR to the chosen location and save

the file.

3. Let the sensor run for at least 1 hour and send us the log(s) with the collected data.

Typically, the log file name will look as the example below:

Automonx_Azure_Microsoft.DocumentDb_databaseAccounts_res_prod.log


4. Don't forget to turn off debug at the end of the troubleshooting process

AutoMonX Ltd (C) 2020 All Rights Reserved

Linkedin.png
Blog