Configure DB alert

Biltz 131 Reputation points
2020-08-31T11:13:38.17+00:00

Hello,

I am configuring alert for Prodcution databases.
I want to get any error message appearing in SQL Server Error log. But while defining the alert it is showing 2 options

  1. Error No
  2. Severity 21543-alert.png

Pls suggest

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,053 questions
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. tibor_karaszi@hotmail.com 4,306 Reputation points
    2020-08-31T11:32:55.297+00:00

    OK, understood. That doesn't change my answer. You have to create 25 alerts. One per severity level.

    1 person found this answer helpful.
    0 comments No comments

  2. tibor_karaszi@hotmail.com 4,306 Reputation points
    2020-08-31T11:21:17.263+00:00

    If you need every single message then you need to configure 25 alerts, one per severity level. There is no "include all" option. (You will probably find out that there are bunch of messages that you aren't interested in, btw.)

    0 comments No comments

  3. Biltz 131 Reputation points
    2020-08-31T11:29:04.55+00:00

    Actually in my SQL server error logs, I don't have any error messages unless something wrong happens, so I want to catch any error message.

    0 comments No comments

  4. m 4,271 Reputation points
    2020-09-01T02:00:00.557+00:00

    Hi @BilalBhat-0178,

    As @tibor_karaszi@hotmail.com ‘s suggestion:
    Error severity: 25,
    What it indicates: Unexpected errors, this is the catch all for Microsoft SQL Server.
    21831-20200901erroralert.jpg

    More information: sql-server-setup-database-alerts, create-configure-sql-server-agent-alerts

    If the reply is helped, please do “Accept Answer”.
    BR,
    Mia

    0 comments No comments

  5. m 4,271 Reputation points
    2020-09-03T01:26:07.17+00:00

    Hi @BilalBhat-0178,

    Is the reply helpful?
    Do you solve the issue?

    If the reply is helped,please do "Accept Answer".
    BR,
    Mia

    0 comments No comments