Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Suppress-o-Matic - Stop database error spam Details »
Suppress-o-Matic - Stop database error spam
Mod Version: 1.00, by GeekyDesigns (Coder) GeekyDesigns is offline
Developer Last Online: May 2012 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (20 votes - 4.90 average) Installs: 94
Released: 15 Jul 2009 Last Update: 17 Nov 2009 Downloads: 525
Not Supported Code Changes Additional Files  

What is Suppress-o-matic?
Suppress-o-matic is a change to the way vBulletin handles database error emails. It limits sending the same error email repeatedly to your inbox every time a database error is generated. On a busy site if a table is crashed or mysql itself goes down you could recieve several thousand emails. This causes the email server to bog down, and possibly the server itself if there is enough traffic generating emails.

Why do I want Suppress-o-matic?
It should be pretty clear, you still get the vital information that your vBulletin forum is offline for whichever reason, without the hassle of having to delete and manage your inbox afterwords.

Why do I have to edit the files?
If the database is down, there is no way to get to the plugins. Plugins are stored in the vBulletin database.

Isn't there a vBulletin Option for this?
There is an option to disable some emails, assuming that the settings table can be read. If it cannot then it doesn't work. It even states this on the option itself.

Can't I just remove my tech email from the config file?
This doesn't keep you up to date. What if a serious error like error 28 (no space left) crops up? This means that your server could potentially have serious issues. Not resolving these problems could cause major issues.

Are you considering adding more functionality to Suppress-o-matic?
We have plans to add a repair feature at some point in time, with an on/off switch.

What is SQlite?
SQLite is a tiny database engine that is found in PHP. It is very lite, and requires only that php have the extension. There is no other dedicated server for it. You can find more information here: http://en.wikipedia.org/wiki/SQLite


Whats required?
PHP5
SQLITE2 or newer (found in most php installations)
1 file edit
1 file to upload

Future versions:
Repair table feature



Project Credits:
Zachery - Project Planning, design goals, pestering.
Link14716 - Hard work.

This works for vBulletin 4.0 as well as 3.7+. vB4 thread located here.

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Administrative and Maintenance Tools Advanced Query Matic Atakan KOC vBulletin 3.8 Add-ons 16 17 May 2009 15:37
Administrative and Maintenance Tools Advanced Query Matic Atakan KOC vBulletin 3.7 Add-ons 22 04 Jul 2008 14:35

  #16  
Old 30 Jul 2009, 17:22
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
Since we've had no reported issues, I'm pulling the beta tag.
__________________
Looking for ImpEx?
Reply With Quote
  #17  
Old 31 Jul 2009, 07:47
mahz mahz is offline
 
Join Date: Mar 2006
Wow, great.
Reply With Quote
  #18  
Old 02 Aug 2009, 18:36
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
isnt this default in vb?
Reply With Quote
  #19  
Old 02 Aug 2009, 21:43
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
Originally Posted by MentaL View Post
isnt this default in vb?
Nope, that is why we released it.

Right now, if there is a db error, your email will be sent 1 mail for every time someone visits the page with the db error message. (100 guests + 100 regulars) x 10-15 refreshes = lost of database error emails. This stops it dead cold, 10,000 page requests with the same database error, 1 mail is sent.
__________________
Looking for ImpEx?
Reply With Quote
  #20  
Old 03 Aug 2009, 01:57
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
vbulletin options
HelpError
Handling & Logging
--> Disable Database Error Email Sending
Reply With Quote
  #21  
Old 03 Aug 2009, 02:03
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Real name: Matthew Gordon
This doesn't disable e-mail sending, this stops it from destroying your inbox. Pretty big difference.

Stopping DB error mails entirely is as simple as removing the technical address from config.php. No need for anything special for that, but this isn't what the mod does.
__________________
Along with Zachery, I make releases as GeekyDesigns. Please do not PM or IM me for support.
Reply With Quote
  #22  
Old 03 Aug 2009, 03:48
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
Originally Posted by MentaL View Post
vbulletin options
HelpError
Handling & Logging
--> Disable Database Error Email Sending
Also doesn't stop connection, and crashed table emails if the system cannot connect or read the database.

There is a pretty big note about this.
__________________
Looking for ImpEx?
Reply With Quote
  #23  
Old 13 Aug 2009, 15:14
GeekyDesigns's Avatar
GeekyDesigns GeekyDesigns is offline
 
Join Date: Mar 2004
Updated the description text, should read much better.
__________________
The Geeky Designs team is proudly bringing you awesome addons and styles!
Reply With Quote
  #24  
Old 13 Aug 2009, 16:00
matthewhotdude matthewhotdude is offline
 
Join Date: Jul 2009
Installed dunno if it works tho, anyway to test?
Reply With Quote
  #25  
Old 14 Aug 2009, 00:34
Trek Trek is offline
 
Join Date: Sep 2003
This is good, but I think it could be taken a little further. For instance, if you get an error, you get an email. But you don't get duplicates for X time after wards.

That works, but how do I know I have a REAL problem or not then? Meaning it could of just been a quick outage where a query failed for whatever reason. Or, it might be something really serious where things are completely down.

I guess what I'm saying is, maybe some way to email saying "We just received 350 error reports for this same error, you should check it out ASAP" type of message.

I dunno, maybe I'm not explaining it well but... hopefully it's enough to spark what I mean and maybe a better idea than only suppression.
Reply With Quote
  #26  
Old 14 Aug 2009, 23:14
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
Originally Posted by Trek View Post
This is good, but I think it could be taken a little further. For instance, if you get an error, you get an email. But you don't get duplicates for X time after wards.

That works, but how do I know I have a REAL problem or not then? Meaning it could of just been a quick outage where a query failed for whatever reason. Or, it might be something really serious where things are completely down.

I guess what I'm saying is, maybe some way to email saying "We just received 350 error reports for this same error, you should check it out ASAP" type of message.

I dunno, maybe I'm not explaining it well but... hopefully it's enough to spark what I mean and maybe a better idea than only suppression.
Its a pretty good idea, we'll take it into consideration for sure
__________________
Looking for ImpEx?
Reply With Quote
  #27  
Old 15 Aug 2009, 07:08
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
Originally Posted by matthewhotdude View Post
Installed dunno if it works tho, anyway to test?
messup the config by using a bad password
__________________
Looking for ImpEx?
Reply With Quote
  #28  
Old 16 Aug 2009, 13:50
Sarthek Sarthek is offline
 
Join Date: May 2006
Finally, some very useful mod. I tagged it for now, will give it a try in coming weeks.

Our "record" so far: over 18.000 emails in less than day.
Reply With Quote
  #29  
Old 10 Sep 2009, 23:59
janslu janslu is offline
 
Join Date: May 2006
I have it installed but I got php errors when my database had too many connections. The error logged was:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Any idea what might be the problem?

Line 1015 of modified class_core.php is:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #30  
Old 11 Sep 2009, 04:37
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Real name: Matthew Gordon
Originally Posted by janslu View Post
I have it installed but I got php errors when my database had too many connections. The error logged was:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Any idea what might be the problem?

Line 1015 of modified class_core.php is:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Try to change that line to
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I wish it gave more details about the syntax error so I could see exactly what its problem is.
__________________
Along with Zachery, I make releases as GeekyDesigns. Please do not PM or IM me for support.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 11:40.

Layout Options | Width: Wide Color: