SQL Monitor 2

Reconnecting automatically after monitoring stopped

If the Configuration > Monitored servers page displays Monitoring stopped (Incorrect credentials or insufficient permissions), by default, SQL Monitor will not attempt to reconnect until you do one of the following:

  • change the credentials specified in SQL Monitor
  • change the account permissions (in this case, you will need to click Retry connection on the Monitored Servers page)

This prevents SQL Monitor from sending a potentially large number of failed login messages to your security log, and triggering Intrusion Detection System in the process.

If the potential impact on your security log will not cause significant problems to your systems, you can change this default setting so that SQL Monitor will automatically attempt reconnection.

Configuring automatic reconnection after monitoring stopped in v3

  1. Stop the Base Monitor service. To do this, go to Services (select Start > Run, enter services.msc and click OK) and stop SQL Monitor 3 Base Monitor.
  2. Open the RedGate.Response.Engine.Alerting.Base.Service.exe.settings file in Notepad. By default, this is saved in C:\ProgramData\Red Gate\SQL Monitor 3.
  3. Find the reconnectAfterAuthorizationError section. This contains a setting called reconnectAfterAuthorizationError="false":

  4. Replace "false" with "true" for this setting, and save the file.
  5. Restart the SQL Monitor 3 Base Monitor service.

Configuring automatic reconnection after monitoring stopped in v2

Follow the steps above to configure earlier version of SQL Monitor. Note that the Base Monitor service is called SQL Monitor 2 Base Monitor, and the settings file is saved in C:\ProgramData\Red Gate\SQL Monitor 2.


Do you have any feedback on this documentation?

Let us know at sqlmonitorfeedback@red-gate.com


Didn't find what you were looking for?