![]() |
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:
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:
PHP Code:
|
Any screen shots?
|
How could this be used in a practical sense?
|
Quote:
https://vborg.vbsupport.ru/showthread.php?t=82596 |
Quote:
|
Quote:
|
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.
|
Quote:
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. |
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 ! |
Interesting and no harm in having as it can be usefule *click*
|
I think I'll add a few more goodies. One thing that might pinpoint spikes is a one-minute chart, link for each minute to isolate what was going on. Also stats for most active hosts, scripts, spiders... stay tuned :)
Wa'il |
What would be nice is to see query specs like whats the most run right now ect ect to troubleshoot even the queries being used.
|
You say to add:
PHP Code:
PHP Code:
|
Quote:
|
The most useful thing would be to see where the majority of people are coming from. Within the thread with the most views, show the referers by their frequency.
|
Quote:
The best thing to do, IMHO, is that once you identify the time when the spike occured, is to look at the server logs for that time period (you will have the exact time down to the second), and just look at the "referrer" tag in the apache log. If you still want the referrer though, I can send you to required steps by PM, to avoid having others here do the database updates if they'd rather not have this feature. Or if there's enough demand, I can list the steps here. |
Referrers would be useful.
|
tamarian, the situation which leads to the scenario I am taking about here is a link to a specific thread on your site from another site. (or sometimes if you're lucky, more than one site) when something particularly interesting has caught their attention.
Their referer information*should* in the first instance hold the site containing the link to yours. Perhaps the referer information could only be stored if it's off site. Although having all the referer information would allow us to show the route people take though the site. Something which may be useful in analysing how well presented and usable your site is. However, I don't think any of this fucntionality is worth slowing down the forums significantly. I can't actually analyse our apache logs as they are too big. [Edit:] My moderators have asked if the thread title rather than the thread number could be shown. I agree that this would be most useful. |
Nice hacks, installed en works like it should.
|
Quote:
There's an easier option, if you want to know when a specific site is sending referrals to you. You can add a short peice of code in showthread.php, that "if the referral is site xyz.com, then email this address that they've come". This would have the advanatage the information is not lost, and gives you an email alert. It also has the advanatage of no database access, and no added processing, unless the referral you're interested in has dropped by. Quote:
Quote:
Quote:
|
Lol dont let these guys get ya down, I really like this hack..it will work with 3.0.3 correct?
|
/me installs.
|
Quote:
|
Very,very good.
|
For the brave souls who'll upgrade to vB 3.5 beta, this has now been ported:
https://vborg.vbsupport.ru/showthrea...threadid=82788 |
Got a bug here tamarian in the minute report. No bar images. When I do a view source:
HTML Code:
<td width="100%" align="left" nowrap="nowrap"><img src="../http://www.avforums.com/forums/images/polls/bar3-l.gif" height="10" /><img src="../http://www.avforums.com/forums/images/polls/bar3.gif" width="33.783783783784%" height="10" /><img src="../http://www.avforums.com/forums/images/polls/bar3-r.gif" height="10" /></td> |
Quote:
HTML Code:
img src="../http://www..... |
Quote:
Quote:
This doesn't screw up the buttons on the rest of the forums, but it does make the bar image broken in the vBusy hack because you are adding '../' to the front of the folder name. Just FYI - not a complaint, really since I'll just edit out the bit which adds the '../'. But since a lot of other people use vBadvanced, it's something to bear in mind. :) |
Quote:
A question about vba, when you go to the admincp stats page, and view the stats for registration or new posts, do the bars show, or is it the same problem? If they do show properly, was the stats.php file hacked for it to work? |
Quote:
I did also just notice the time is off by 4 hours. |
Code:
Invalid SQL: |
Quote:
I just updated the file, please re-download, and let me know if it fixes the problem. :) |
Code:
Database error in vBulletin 3.0.7: |
Quote:
|
working perfectly :D
|
Quote:
|
tamarian, im going to pm you....but im very interested to know anything you can share on finding the IP of a person who is ddossing my site.
Secondly if i find the ip of the person, they are most likely using a proxy, could there be a way to detect if that ip is a proxy, and if yes reveal the true ip. and lastly, will blocking that ip address from my site, stop the ddosing, or are most ddosing programs going to hide the ip anyway. Anything on this would be really good. Another question because you seem smart ^^ someone was mentioning something about find out where they came from, im also interested to find out where people are coming from b4 they get to my site, e.g other sites or google etc. Thanks for any info you can help me with. |
All times are GMT. The time now is 12:31 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|