vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=218620

Suppress-o-matic - Stop database error spam
by GeekyDesigns
15 Jul 2009 08:55

1 Attachment(s)
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.

Link14716 15 Jul 2009 08:57

Q: How do I change the time interval between error e-mails?

Add the following to your /includes/config.php file:

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

Change 1800 to the time interval that you want, in seconds. By default, it is 1800 seconds (30 minutes).

Link14716 15 Jul 2009 09:00

If something does not work as it should, slap me around until I fix it. This is a beta that I threw together. It Works For Me(tm) but that's as far as it has been tested.

Oblivion Knight 15 Jul 2009 09:14

Installed (on demand). Thanks.. ;)

sensimilla 15 Jul 2009 09:29

I might need it, my mailbox is just full all over. Waiting for the GOLD.

Hostboard 15 Jul 2009 16:22

I just got 2000 DB error messages the other day...LOL...

saadessa 15 Jul 2009 17:31

thank you i will try later

jaredwilli 16 Jul 2009 15:46

*installs*
thanks

Gladius2007 20 Jul 2009 13:46

Zachery, why on earth isn't this part of the stock vB? It's been suggested dozens of times and it should have been included years ago.

Zachery 20 Jul 2009 13:52

I know it has, and in the past i knew that Scott was looking into it. Where it got lost in versions I'm not sure.

But, its here now, and hopefully in the future some sort of stock verison can be intergrated.

Gladius2007 20 Jul 2009 17:25

I sure hope so.

gwerzal 21 Jul 2009 00:11

should defo be part of the stock vb

Thank you

Zachery 22 Jul 2009 17:44

Havent had any reported bugs yet, And Link14716 is curretly without interwebs.

Though we have plans to impliment the listed features and get this pushed out as a final shortly here.

cheesegrits 23 Jul 2009 19:29

Thankyou thankyou thankyou. Thankyou.

Been having One Of Those Days (several in a row, actually), where I'm on the road and MySQL goes tits up ... thought my Crackberry was going to self destruct with the volume of vB error msgs.

Hoping this makes it into the core product ASAP.

-- hugh

Zachery 24 Jul 2009 13:27

Quote:

Originally Posted by cheesegrits (Post 1854265)
Thankyou thankyou thankyou. Thankyou.

Been having One Of Those Days (several in a row, actually), where I'm on the road and MySQL goes tits up ... thought my Crackberry was going to self destruct with the volume of vB error msgs.

Hoping this makes it into the core product ASAP.

-- hugh

Let us know how well its working :)


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

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.
Copyright ©2001 - , vbulletin.org. All rights reserved.