SQL Server Alerts
Dec 2, 1999
I was wondering if anyone knew of some key error numbers that I should look for to fire alerts off of.
For example, ERROR 926 "Database cannot be opened. It has been marked SUSPECT by recovery. See the SQL Server error log for more information."
I am looking for some key error messages (Error Numbers) like the one above that are good to initially setup within SQL Server for alerting Administrators of potential issues.
Thanks,
Peter
View 1 Replies
ADVERTISEMENT
Feb 27, 2002
Maybe a dumb question, the standard alerts like Severity 24 and 25 that come when you install SQL Server, will these alerts be called by SQL Server itself if there is a problem. I was going to set up notifications for these but wasn't sure if it was worth the trouble.
View 1 Replies
View Related
Nov 5, 2004
I am trying to centralize my alerts and events forwarding using this feature in SQL server 2000. I setup event forwading in every one of my satellite SQL servers, however I am not getting any events or notifications.
Anybody has worked on this or know of any good information on this topic.
View 3 Replies
View Related
Jan 13, 2000
Hi,
How can i find the server uptime and
How can i get the alert when disc space fill around 80%.
Please help me!!!
dindu
View 1 Replies
View Related
Apr 14, 2008
one day Report has not been generated with yday's data. so I want to put the alert at this condition. so please any one can tell me How to put the alerts in place, if the report is not successfully Run in shared SQL Server Reporting Services.(sql server 2005)
View 2 Replies
View Related
Oct 22, 2007
When I try to add an alert for Buffer cace hit ratio a value < 1 is always being returned. In performance monitor it returns > 90% all the time. How can I set up this alert/get the value to return as a percentage?
DESCRIPTION: The SQL Server performance counter 'Buffer cache hit ratio' (instance 'N/A') of object 'SQLServer:Buffer Manager' is now below the threshold of 90.00 (the current value is 1.00).
View 2 Replies
View Related
Aug 15, 2007
I have set up thresholds for time behind and I'm getting an event 32040 in the eventlog when the threshold has been exceeded. I have also set up a SQL Agent Alert with a email operator. However the alert is never generated (and no email sent). Shouldn't it be possible to alert an operator as described in http://www.microsoft.com/technet/prodtechnol/sql/2005/mirroringevents.mspx also???
The email profile is working and also setup on the SQL Agent, and the SQL Agent has been restarted (just in case that's necessary).
What did I miss? Any ideas?
/Thomas
View 6 Replies
View Related
Apr 30, 2015
Is there any automated script available to - "Monitor Database Growth and if any DB is grown by 20%, sending mail alerts"? If not, what is the approach to write the T SQL script ?
View 5 Replies
View Related
Feb 9, 2000
Is there any recommendations on setting up Alerts. What are the standard set alerts that should be setup on every server?
View 1 Replies
View Related
May 9, 2002
I have to send the alerts when the database(s) will be filled more than 90% and 95%. Please help me if you have some samples.
Thanks,
Rau
View 1 Replies
View Related
Jun 20, 2008
I ignored this nice little feature till now, probably because mail configuration complexities. Now that we have DB mail, it has become very smooth.
I just implemented an alert for log growth, and found that it works very well.
Any of you using, alerts for , other interesting events?
------------------------
I think, therefore I am - Rene Descartes
View 4 Replies
View Related
Jun 20, 2006
Hi everyone,
I also could not find any definition about Alerts and their purpose and usage.
Would you please explain it to me ??
Thanks
View 4 Replies
View Related
Oct 31, 2000
Is there a way that I can get SQL Server to tell me (Alert?) when it has grabbed another chunk of space for a database that has the "Automatically grow file" option set?
View 1 Replies
View Related
Dec 4, 2002
Hi,
I just realized there are several severity alerts on the Server Agent, from Severity 19 to 25.
Is there anyways to delete those messages? If I don't delete those, would it be affected later?
The Online Book mentions those are some of the system error messages, but they don't show how to delete them.
Can anyone helps?
Thanks a lot.
View 6 Replies
View Related
Nov 3, 2005
Hi,
I am having trouble with locks and performance issues in one application. The SQL server is specific to this application. What settings should i choose to set an alert to let me know when i get too many locks? the locks i am interested in ar ethe ones that show up in SQL EM. ie where a process is blocking another process(es).
I have tried New Alert | lock requests /sec but that is a huge figure when the server is running OK, so i cant guess what value to set for the counter. Is there a better object/counter i should use?
thanks
fatherjack
View 5 Replies
View Related
Dec 14, 1998
I've setup alerts and an operator to email on a particular event code.
I can successfully test the operator. (It e-mails fine)
The problem I am having is that despite having a particular event
log to the NT application log, no SQL Alert is triggered.
I've tried logging to the NT Application log, as well as the SQL errorlog.
The SQLExecutive is running.
Thanks in advance.
John
View 1 Replies
View Related
May 4, 2001
I am working with alerts and trying to see if there is a way that I can control the message on the notification. I have the job set to send an email and a net message when the job succeeds. Since this message will be going to the user, I owuld like to be able to make the message as clear as possible for them. Does anyone know if the message being sent can be modified or altered with an alert? And how?
Thanks!!
View 1 Replies
View Related
Feb 17, 2005
Hey guys,
I was just thinking, is it possible to send alerts via the Managment/SQL Server Agent/Operators/Alerts to an SMS system?
Is it even technically posibble?
Actually I am trying to develop an alert system that reads the database table periodcally, the data being read is a datetime, once it reaches the time, I need to send an sms to the person.
Any suggestions? ideas? Quickest solution?
View 1 Replies
View Related
Mar 22, 2004
I defined an Alert in Enterprise Manager for Severity 19 - Fatal Error In Resource. The alert is enabled, the type is "sql server event alert" and the alert is defined against a specific database. SQLSERVERAGENT and SQL Mail session are both started. I test the alert using the following statement in the specified database.
raiserror (50001,19,1) with log
A message is placed in the SQL Server log, however no alert is fired. The alert history indicates the alert has never occurred. What am I missing?
Thanks, Dave
View 8 Replies
View Related
May 29, 2008
hi
how are the use alerts in sql server2005,
and which alert type used in maximum and how to performaing our database
I would like to get user experiences
View 3 Replies
View Related
Aug 9, 2001
Does anyone know of a way, either by 3rd party tools or using SQL server, to have alerts get emailed to you in a clustered active/active environment? I work as the DBA at a quickly-growing company, whose production databases need to be online 24X7. I want to set up the alerts to email/page me if there are problems with the databases, but since (according to microsoft) SQL mail is not supported in a clustered environment I'm at a loss.
I'm looking for some help in trying to resolve this issue either by 3rd party means or a SQL Server work around.
Your help will be greatly appreciated.
Sincerely,
Tony
View 1 Replies
View Related
Sep 28, 2001
Can anyone point me in the direction of a good resource
that will help us set up our system so that
notifications from alerts/jobs send emails to our
Groupwise email system?
View 1 Replies
View Related
Mar 7, 2001
Hello all,
Here's the problem I'm trying to solve:
I have several alerts set up and a job setup to notify via email if alerts occur. There are times when I might be doing maintenace on a box that may generate alerts but I don't want to get emailed or paged for these "dummy" alerts. I thought first of setting the enabled column of sysalerts to 0 - that doesn't work. I still get notified. Then I thought I'd set the enabled column in sysjobs for my notification job to 0 while I'm doing the work. But as soon as I re-enable the job I get an alert. It seems that as soon as the job is re-enabled it checks the NT application log and sees that an alert was fired and somehow knows that there was no notification sent so sends one. If I purge the NT application log before re-enabling the job is solves the problem. But that is a very in-ellegant solution and I don't want to loose all the info stored in the event log any way. Does anyone know how SQL SErver aggent keeps track of this stuff? (ie. that an alert was fired but it's response job is disabled and to check once a job is re-enabled to see if any alerts occured while it was disabled?) I did a Profiler trace while re-enabling the job but didn't see anything pertinant in there.
Thanks in advance.
Patrick
View 2 Replies
View Related
Nov 30, 2000
I want to write a sql alert to notify me when my database is out of space.
So as not to duplicate any messages - has anyone seen threads on this subject?
If not, can anyone give ideas on how to create this script?
thanks in advance.
View 1 Replies
View Related
Jun 3, 2004
I'm searching for tips on how to alert users regarding downtime of our SQL Server. Is it good enough to alert users by email, and then shut down the service, or do you use a better approach (lock database, sp_who, one-by-one alert...)?
Thankful for all replies.
Newbie in DB administration.
View 1 Replies
View Related
Aug 19, 2004
I want to creat an alert that will back up my database when the log files get to 90% full. When i try to create a new alert and select performance condition and select sqlserver:databases as the object then log file(s) Used size (kb) as the counter but when i go and select the instance i dont see my database in the drop down list but if I change to sql server event alert I see the database i want to use for this alert. I dont want to wait until the log is already full to back it up i want to do it when it hits a percent full. Is there a way to do this as a performance condition? thanks for your help!
View 7 Replies
View Related
May 8, 2002
We are in the process of setting up a SQL Server 2000 cluster, but have been told that MAPI email is not cluster aware so we can't use the alert system.
Has anyone got any idea how to get round this or how to set up alerts in another way (eg: when a backup fails, can we send smtp mail?) etc
any feedback would be appreciated.
Regards
Steve
View 1 Replies
View Related
Dec 9, 1998
I once had a procedure to setup exchange client as email for SQL alerts,
but I've misplaced it. (threw it out, actually) I've not had great luck finding it on the web at MS, or otherwise. Does anyone know where this can be found? Thanks in advance, John
View 1 Replies
View Related
Jul 10, 2006
Hi
I want to know which is the best tools in sqlserver who send alerts ,and i want tools who have not a hight consumate cpu
Regards
View 1 Replies
View Related
Feb 6, 2007
Hello,
Does anyone have a sample of an alert they created which would fire when a (backup database) maintenance plan fails?
I am unsure of the type, error number, and/or severity for an event of this type.
Thanks Alot!
View 1 Replies
View Related
Aug 15, 2012
We have occasional problems with transactional replication between 2 databases, and the problem is we dont notice right away. Usually the customer notices a few days after replication has stopped, and thats no good. We want to be notified as soon as there is any problem related to replication so we can go in and figure it out.
Ive been playing with the alerts, and it LOOKS like I should be able to do what I want, but after several hours I still cannot make any of the alerts work.
In my test environment, I'm forcing the following error, in order to try and test an alert: error 20598 "The row was not found at the Subscriber when applying the replicated command."
This seems to be one of our more common errors, and also its really easy to produce, so it seemed like a good candidate for testing the alert.
First off, I noticed that the agent profile was set to "Continue on data consistancy errors", which ignores error 20598. So I changed the profile to "Default", which doesnt skip any errors.
Next I set up a simple Job that simply writes a string to a file. I tested the job by calling it manually and it works. Once i can prove that this job is actually being called, I will change it to email me and the team.
Then I created a new alert in the publisher database which watches for error code 20598. Its response is to call the job I mentioned above. So when the error occurs, a string should be written to that file.
Then I forced the 20598 error to occur. I deleted a row in the subscriber DB, and then changed the corresponding row in the publisher. This causes the error to occur. In my replication monitor, I see new entries saying "Skipped 1 error(s) when applying transactions at the Subscriber." I'm not sure why it says skipped, but I know that these entries are the 20598 error that I'm trying to produce.
Now, there was nothing written to my text file, and I can see from the job history that my job was never called. If I look at the history of my test alert, it says "never occured".
I forced the 20598 error to occur, and I have an alert that is watching for the 20598 error, but it never fires.
I also created an alert in the subscriber database, watching for the same error. This alert was not called either.
View 5 Replies
View Related
Jun 18, 2008
What is the difference between - Alerts and Notification services?
------------------------
I think, therefore I am - Rene Descartes
View 3 Replies
View Related
Oct 7, 2007
Hello everyone,
This is my first participation in this forum
In fact I am trying to prepare myself to earn MCITP and I faced few problems during setting up the following points
- SQL Server Database mail
- Alerts
- Operators
I want to create an internal process to inform me (via email and Net Send) if some errors happened or if some procedures run.
At the beginning I configured the Database Mail then I created new Operator (same name of domain account) and I checked all alert options (email, pager and net send) for this operator.
After that I created a new Alert (Raised based on Error Number) and I selected the created operator to be notified and I checked (email, pager and net send).
Right now everything is good and no problem in all above steps for me
But when the error raised the notification message shown at the operator screen,
But unfortunately nothing was sent to email
Note: I have a website (www.international-systems.net) with SMTP (mail.international-systems.net)
And I have created an email for this operation called (SQL_Server@international-systems.net) but nothing sent to the email
The configuration of my Database Mail was
Email Address: SQL_Server@international-systems.net
Display Name: Essam Binzghayo
Replay Email: SQL_Server@international-systems.net
Server Name: mail.international-systems.net
Port No: 25
Can you help me and try to answer the question
What was wrong in my configuration that caused failure sending email?
Thanks
View 4 Replies
View Related