Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
vBLoadAverages v1.0.0 Details »»
vBLoadAverages v1.0.0
Version: 1.0.1, by anindya anindya is offline
Developer Last Online: Oct 2018 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.8.x Rating:
Released: 01-14-2009 Last Update: 08-16-2009 Installs: 56
DB Changes Uses Plugins Auto-Templates
Re-useable Code Translations  
No support by the author.

About vBLoadAverages

This is my first public vBulletin mod. I got the idea for this mod from a phpbb forum that uses something similar.

This mod checks your server's load averages and displays a warning message in case the load is too high.

Features:
- Displays warning message if load average is greater than X.
- Customizable warning message.
- Option to enable/disable public display of warning message.
- Option to enable/disable the display of the load averages along with the warning message.
- Option to enable/disable sending of 503 HTTP status in case load average is greater than X.

Compatibility

This mod is compatible with linux/unix servers only. It has been tested with vBulletin 3.7 and 3.8 with PHP 5.2.8.

Installation:

Installation is very simple. Just log in to your vBulletin Admin CP, then go to Plugins and Products -> Manage Products -> Add/Import Product and then browse to the product-vloadavgs.xml file and click the Import button. After installation you will see a new setting group in "vBulletin Options" where you can configure the mod.

Support:

I will provide support for this mod right here. Feel free to post any questions, suggestions or comments about this mod.

Changelog:

August 17, 2009 - 1.0.1
- Added feature to send warning email when load is greater than X.

Download Now

File Type: xml product-vloadavgs.xml (11.1 KB, 116 views)

Screenshots

File Type: png 1-15-2009 11-44-49 PM.png (20.3 KB, 0 views)
File Type: png 1-15-2009 11-45-42 PM.png (21.4 KB, 0 views)
File Type: png 1-15-2009 11-48-42 PM.png (6.0 KB, 0 views)
File Type: jpg 8-17-2009 10-50-31 PM.jpg (101.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-15-2009, 04:52 PM
zefyx's Avatar
zefyx zefyx is offline
 
Join Date: Oct 2008
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!
Reply With Quote
  #3  
Old 01-15-2009, 05:03 PM
rule0 rule0 is offline
 
Join Date: Mar 2008
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will try, thanks!
Reply With Quote
  #4  
Old 01-15-2009, 07:57 PM
goyo goyo is offline
 
Join Date: Mar 2002
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very similar mod, works on all versions:

https://vborg.vbsupport.ru/showthread.php?t=82900

Also "if load greater than x turn off the board" is a similar default vB feature.

Thanks anyway...
Reply With Quote
  #5  
Old 01-15-2009, 08:09 PM
digicom's Avatar
digicom digicom is offline
 
Join Date: Apr 2006
Location: England Uk
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed Thanks :up:
Reply With Quote
  #6  
Old 01-15-2009, 08:13 PM
shofolofo shofolofo is offline
 
Join Date: Aug 2007
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't understand the " 2 " number .. I know it resembles the load average but how it represents it ?
Reply With Quote
  #7  
Old 01-15-2009, 08:33 PM
lazydesis lazydesis is offline
 
Join Date: Sep 2006
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does the 503 service load (10 in ur eg.) over-ride the default vbulletin load setup ?
Reply With Quote
  #8  
Old 01-16-2009, 02:59 AM
anindya's Avatar
anindya anindya is offline
 
Join Date: Dec 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by goyo View Post
Very similar mod, works on all versions:

https://vborg.vbsupport.ru/showthread.php?t=82900

Also "if load greater than x turn off the board" is a similar default vB feature.

Thanks anyway...
Yes, I know about microstats and I am using it too.
Reply With Quote
  #9  
Old 01-16-2009, 03:04 AM
anindya's Avatar
anindya anindya is offline
 
Join Date: Dec 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shofolofo View Post
I didn't understand the " 2 " number .. I know it resembles the load average but how it represents it ?
The "2" is for the one minute load average. For example, if the load averages are 0.17, 0.18 and 0.11, then 0.17 is the one minute load average. If its greater than "2" then the warning message will be displayed. I hope you understand what I mean.
Reply With Quote
  #10  
Old 01-16-2009, 03:09 AM
anindya's Avatar
anindya anindya is offline
 
Join Date: Dec 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lazyindian View Post
does the 503 service load (10 in ur eg.) over-ride the default vbulletin load setup ?
[S]Yes, thats right.[/S] But that feature can be disabled if you don't want it.

Oh, sorry. No, it doesn't override anything. If the 503 load is set to 10 and if you have the vBulletin "*NIX Server Load Limit" set to 5, it wont override it.

The vBulletin "*NIX Server Load Limit" still shows the template and all, whereas this 503 setting can send an Apache style error message (as shown in screen shot) or a simple plain text error message.
Reply With Quote
Reply

Thread Tools

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


All times are GMT. The time now is 10:09 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04706 seconds
  • Memory Usage 2,319KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete