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
  #12  
Old 01-16-2009, 04:11 AM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

do this work for a windows server using apache ????
Reply With Quote
  #13  
Old 01-16-2009, 05:47 AM
anindya's Avatar
anindya anindya is offline
 
Join Date: Dec 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by puertoblack2003 View Post
do this work for a windows server using apache ????
No, this doesn't work on Windows servers. Only works on linux/unix servers.

Read this for more info. http://en.wikipedia.org/wiki/Load_(computing)
Reply With Quote
  #14  
Old 07-02-2009, 09:53 AM
thedudleys thedudleys is offline
 
Join Date: Feb 2008
Location: Umatilla, Fl
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you get it to show the status of the server load if its under the server load, like a way to know if its going to get close.
Reply With Quote
  #15  
Old 07-02-2009, 09:27 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would be nice to send out an email to the host and tech guy if load is over X.

Please add this function.
Reply With Quote
  #16  
Old 07-03-2009, 01:22 AM
maxicep maxicep is offline
 
Join Date: Oct 2006
Location: California
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
Would be nice to send out an email to the host and tech guy if load is over X.

Please add this function.
same here :up:
Reply With Quote
  #17  
Old 07-05-2009, 07:59 PM
chick's Avatar
chick chick is offline
 
Join Date: Aug 2006
Location: PI Land
Posts: 381
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice thank you
Reply With Quote
  #18  
Old 08-15-2009, 06:06 PM
anindya's Avatar
anindya anindya is offline
 
Join Date: Dec 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thedudleys View Post
can you get it to show the status of the server load if its under the server load, like a way to know if its going to get close.
Going to get close? You can set the "Load Average" to whatever you want. For example, in my case, server load usually doesn't go above 2. Which is why I have set the "Load Average" setting to 2, so that I see the warning message in case load ever goes above 2. If I wanted to see the warning message before load reaches or goes above 2, I can set the "Load Average" setting to 1 or 1.5. I hope you understand what I am trying to say.
Reply With Quote
  #19  
Old 08-15-2009, 06:13 PM
anindya's Avatar
anindya anindya is offline
 
Join Date: Dec 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
Would be nice to send out an email to the host and tech guy if load is over X.

Please add this function.
Quote:
Originally Posted by maxicep View Post
same here :up:
I didn't think of adding that feature cause I am using a cPanel (http://www.cpanel.net) powered server with CSF (http://www.configserver.com/cp/csf.html) which already has a feature of sending out email when server load is too high.

But since you guys are asking, I will add that feature too.

Edit: I have added the above mentioned feature.
Reply With Quote
  #20  
Old 01-02-2010, 01:02 PM
karel1985 karel1985 is offline
 
Join Date: Mar 2007
Location: Belgium
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this still work on vb4? Would be nice as this is an interesting mod !

Thanks,
Reply With Quote
  #21  
Old 12-11-2011, 07:03 AM
accludetuner accludetuner is offline
 
Join Date: Jun 2009
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent modification! Thanks for this one!
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 07:54 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08902 seconds
  • Memory Usage 2,332KB
  • Queries Executed 26 (?)
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
  • (5)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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