Setting up automatic alerts on SQL server for insufficient resources

Over the weekend one of our jobs failed with error “insufficient memory available in the buffer pool“.

This led to thinking that we should have automatic alerts for resource issues.

So create a new Alert by doing right click on SQL Server Agent => New => Alert…

Select severity => 017 Insufficient Resources.

navigate to Options tab and check on E-mail to get the error text in email.

Thus we setup automatic alerts on SQL server for insufficient resources.

Reference: Setting up alerts on SQL server

Query:

SELECT  severity,message_id,is_event_logged, [Text]

FROM sys.messages

WHERE  language_id = 1033 and severity=17

ORDER BY severity desc, message_id asc

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s