Database Management
Remove a Monitoring Service
This article shows how to remove a monitoring service from the SQL Sentry database.
First published date
Last published date
Overview
Product section
Cause
Resolution
**Disclaimer: This issue was due to a bug that was fixed in v18.2**
When you need to remove a monitoring service but it will not delete.
Step-by-step guide
- Connect to the Repository instance in SSMS
-
Run the Below statement against the Repository to find the correct Service to remove.
select * from ManagementEngine -
Once you have confirmed the correct monitoring service run the below statement to remove any rogue entries still associated with that monitoring service. Note that you can do this for as many monitoring services as necessary.
delete from ManagementEngineWorker where ManagementEngineID = 2--insert
the appropriate ManagementEngineID here - Go back to the Client and select the monitoring service then hit the physical delete key on the Keyboard.