This article outlines the correct procedure to change the service account password used by SQL Server agents in Foglight without causing agent lockouts or disruptions in monitoring.
SQL Server agents enter an error or failed state after a password change.
Login failures or account lockouts are observed on the monitored SQL Server host.
Agent credentials no longer authenticate successfully after the service account password is updated.
Foglight SQL Server agents authenticate to monitored database instances using stored credentials. If the service account password is changed without updating the credentials in both the credential object and the agent configuration, the agents continue to use the outdated password and may cause account lockouts.
To change the password safely and avoid downtime or lockouts, follow these steps:
Go to Administration > Agents > Agent Status.
Identify all SQL Server agents that use the service account being updated.
Select each agent and click Deactivate.
This prevents the agents from attempting to authenticate with the outdated password.
Navigate to Administration > Credentials > Manage Credentials.
Find the credential object associated with the SQL Server agents.
Click Edit, enter the new Password, and click Save.
Go to Administration > Agents > Agent Status.
Click the Edit Properties icon (gear icon) for each affected SQL Server agent.
In the Connection Details section, locate the Username and Password fields.
Enter the new password manually.
Click Save Changes.
Note: This step ensures the agent configuration reflects the updated credentials even if a credential object is not used or linked dynamically.
If the same service account is used to run the Foglight Agent Manager (FglAM) service:
On the FglAM host, open Services.
Find Foglight Agent Manager, right-click, and choose Properties.
Go to the Log On tab and update the password for the account.
Restart the Foglight Agent Manager service.
Refer to knowledgebase article 4228874
Return to Administration > Agents > Agent Status.
Re-enable each agent you previously deactivated.
Confirm that agents return to Running status and are collecting data.
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center