Red Gate forums :: View topic - Monitoring stopped
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Monitor 3
SQL Monitor 3 forum

Monitoring stopped

Search in SQL Monitor 3 forum
Post new topic   Reply to topic
Jump to:  
Author Message
SQLSlammer



Joined: 03 Apr 2013
Posts: 2

PostPosted: Wed Apr 03, 2013 11:21 am    Post subject: Monitoring stopped Reply with quote

Hi there

I am currently in the process of setting up and using SQL monitor, but I have an issue where Monitoring has been stopped because of an authentication issue.

This happens when our group policy runs and strips out local admins and readds them.

Is there anyway to get SQL monitor to retry the connection rather than just pause monitoring if it can't authenticate?
Back to top
View user's profile Send private message
chriskelly



Joined: 19 Apr 2010
Posts: 309
Location: Cambridge, UK

PostPosted: Thu Apr 04, 2013 1:43 pm    Post subject: Reply with quote

It is possible to get SQL Monitor to retry the connection when there is an authentication error. But this should be used carefully. If there is a different issue with the user account and this setting is enabled, then SQL Monitor will keep retrying until you stop it, or it locks the password (which can obviously cause problems anywhere else that the account is used).

The configuration change is described here:
https://documentation.red-gate.com/display/SM33/Reconnecting+automatically+after+monitoring+stopped
_________________
Chris Kelly
Technical Support Engineer
Back to top
View user's profile Send private message
SQLSlammer



Joined: 03 Apr 2013
Posts: 2

PostPosted: Thu Apr 04, 2013 1:43 pm    Post subject: Reply with quote

I have changed the config file to retry the connection, like so:

<repositorySettings slaveMode="false">
<!-- valid databaseEngines: "Mssql"-->
<dataStore databaseEngine="Mssql" autoUpgrade="true">
<!-- valid versions: "Auto", "SQL2005", "SQL2008" -->
<mssql version="Auto" connectionStringName="DataConnectionString"/>
</dataStore>
</repositorySettings>
<collectionSettings maxTraceFileAge="00:15:00" maxTraceFileDiskUsage="1024" reconnectAfterAuthorizationError="true">
<collectionSchedules>
<!-- Four schedules are available:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group