Alter Default Timeout Period

The check has a default time limit of 60 seconds. If the Agent is unable to check the size of all monitored files within this time limit, then the Agent will return a timeout error. This error will include the size of all of the files it was able to check. Should you wish to change the default time limit for the check please perform the following steps:

  1. Stop the Advanced Monitoring Agent service
  2. Navigate to the Agent installation folder. By default:
    • C:\Program Files (x86)\Advanced Monitoring Agent (32bit operating systems)
    • C:\Program Files\Advanced Monitoring Agent (64bit operating systems)
  3. Open the settings.ini file
  4. Enter the following in the [TEST_FILESIZE] section:
    • MAX_EXEC_TIME=XXXXX
    • replacing XXXXX with the new timeout period in milliseconds.
  5. Save changes to apply
  6. Restart the Advanced Monitoring Agent service

The below example increases the timeout period for the File Size Check to 90 seconds.

[TEST_FILESIZE]

MAX_EXEC_TIME=90000