vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Administrative and Maintenance Tools - vBLoadAverages v1.0.0 (https://vborg.vbsupport.ru/showthread.php?t=201889)

anindya 01-14-2009 10:00 PM

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

zefyx 01-15-2009 04:52 PM

Thanks!

rule0 01-15-2009 05:03 PM

will try, thanks!

goyo 01-15-2009 07:57 PM

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... :)

digicom 01-15-2009 08:09 PM

Installed Thanks :up:

shofolofo 01-15-2009 08:13 PM

I didn't understand the " 2 " number .. I know it resembles the load average but how it represents it ?

lazydesis 01-15-2009 08:33 PM

does the 503 service load (10 in ur eg.) over-ride the default vbulletin load setup ?

anindya 01-16-2009 02:59 AM

Quote:

Originally Posted by goyo (Post 1713799)
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. :)

anindya 01-16-2009 03:04 AM

Quote:

Originally Posted by shofolofo (Post 1713810)
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. :D

anindya 01-16-2009 03:09 AM

Quote:

Originally Posted by lazyindian (Post 1713828)
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. :D


All times are GMT. The time now is 06:03 PM.

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.01142 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete