Spotlight allows to create custom counter alarms from Configure | Custom Counters option. Custom counters use custom SQL Server or Windows queries to monitor and raise custom alarms in SQL Server or Windows connections.
Dow to create and configure custom alarms in Spotlight?