vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBusy: Last minute session stats analyzer for admins (https://vborg.vbsupport.ru/showthread.php?t=82682)

tamarian 06-07-2005 10:00 PM

vBusy: Last minute session stats analyzer for admins
 
There's also a vB 3.5 version: https://vborg.vbsupport.ru/showthrea...threadid=82788

What this hack does: This hack will allow you to have a quick glance at what's going on in the forum, based on the session table. The session table contains short-term information, that can be useful in finding out if things are more busy than usual. This idea come from this thread: How to view the busiest threads? You will have the option to view the bussiest threads, or all activities, in the last 1, 5 or 10 minutes. You can enter addiitonal minute values in the URL.

Features:
Lists is descending order busiets/most active:
  • Threads
  • Forums
  • PHP Scripts
  • Hosts IP's
  • Resolved IP's
  • Useragents and bots
Lists all session data, with sort options based on (time, user, host, useragent, location.

Per minute chart of sessions table activities.

Installation: : Just copy the file vbusy.php into your admincp directory.

Optional: If you want to have it integrated in the admin panel menu, just do this simple edit:

In ./admincp/index.php:

Find:
PHP Code:

construct_nav_option($vbphrase['scheduled_task_log'], 'cronlog.php?do=choose''<br />'); 

Add after it:
PHP Code:

// vBusy hack
        
construct_nav_option('vBusy''vbusy.php''<br />');
// vBusy end 

Click install to receive auto updates about new features/bugs.

Corriewf 06-08-2005 02:23 PM

Any screen shots?

Corriewf 06-08-2005 02:24 PM

How could this be used in a practical sense?

tamarian 06-08-2005 02:27 PM

Quote:

Originally Posted by corriewf
How could this be used in a practical sense?

It's mainly useful for busy forums, or to see if you've been slash-dotted, which thread is being slash-dotted etc. See this thread:

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

Corriewf 06-08-2005 02:31 PM

Quote:

Originally Posted by tamarian
It's mainly useful for busy forums, or to see if you've been slash-dotted, which thread is being slash-dotted etc. See this thread:

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

Slash dotted?

tamarian 06-08-2005 02:37 PM

Quote:

Originally Posted by corriewf
Slash dotted?

It's a saying, for quick spikes in traffic, like what might happen when your site is mentioned in a slashdot ( http://slashdot.org/ ) article, or a ddos attack, etc.

Corriewf 06-08-2005 03:17 PM

I guess what I meant by my previous question is what kind of action could be taken to correct the problem based off data from this hack.

tamarian 06-08-2005 03:42 PM

Quote:

Originally Posted by corriewf
I guess what I meant by my previous question is what kind of action could be taken to correct the problem based off data from this hack.

That's a tough question :) Defending against a ddos is very complicated, and outside the scope of this thread. This hack may give you a hint as to what range of IP's should be blocked, if their activity level is suspicious. If it shows a thread being targeted, and bringing the server to it's knees, you may want to hide the thread for a while.

The hack is simply a monitoring/diagnostic tool, what you do with the information is up to you. But it's better to know what might be happening behind the scene, than not having any idea why things seem too busy.

Spinball 06-08-2005 03:57 PM

I requested such a hack because we occasionally get spikes in traffic. We chug along at about 800 or 900 visitors online, but occasionally it will spike to over 1,200 and at unusual times. This hack will help me see what they are looking at. As tamarian says, it's usually because one if your threads has found interest on another busy site and people are clicking through in droves.
Well done tamarian :up: It's nice and fast, too.
Unlike who's online !

Reeve of shinra 06-08-2005 04:40 PM

Interesting and no harm in having as it can be usefule *click*


All times are GMT. The time now is 08:30 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.01119 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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