View Full Version : Mini Mods - [OzzModz] Server Load Stats on Who's Online
ozzy47
09-11-2014, 10:00 PM
Another mod brought to you by,
https://vborg.vbsupport.ru/external/2015/01/1.png
This is a modification that will will add your server load stats to the Who's Online page.
It is a simple installation, just import the product XML, ozzmodz_server_load
You can edit the options under the settings, [OzzModz] Server Load Stats on Who's Online Settings
Papa Bear (https://vborg.vbsupport.ru/member.php?u=430115) asked for this here (http://ozzmodz.com/showthread.php/4750-Load-stats). :)
Complete Feature List
Option to disable the mod completely.
Option to select which usergroups can see the stats.
Option to set which user id's can see the stats.
Frequently Asked Questions.
Q. Why do I need such a thing, you ask?
A. Some admins might like to see their server load stats without having to go into the ACP.
-------------------------------------------------------------------------------------------
If you like this mod please hit the https://vborg.vbsupport.ru/external/2015/08/1.png button to the right ---->
Please remember to click the, https://vborg.vbsupport.ru/external/2015/08/2.png button to the right if you installed the mod ---->
What does 'Marking As Installed' do ?
* It helps you to stay on top of updates - members who have installed modifications will be notified whenever new updates are available.
* For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.
* Marking a modification as installed also helps me know how many people are using my work, giving me extra incentive to provide more features and new modifications.
I appreciate the support!
-------------------------------------------------------------------------------------------
* History (Changelog) *
-------------------------
v1.0.0 (September 11, 2014)
- Initial public release.
ozzy47
09-11-2014, 10:47 PM
Reserved.
Papa Bear
09-11-2014, 11:03 PM
Nice work Ozzy.:up:
ozzy47
09-11-2014, 11:03 PM
I sent you a PM on my site regarding this. :)
Papa Bear
09-11-2014, 11:04 PM
Yep.Got it.
ozzy47
09-11-2014, 11:05 PM
Good deal.
Snowhog
09-15-2014, 12:38 AM
Wow. Downloaded and installed three of your MODs today.
I like the 'little gems' you come up with. Small, but big in value.
Marked as installed, and rated 5 stars.
Thank you again.
Snowhog
Administrator
Kubuntu Forums . Net
ozzy47
09-15-2014, 12:44 AM
LOL. Glad you like it, thanks for rating, nominating and marking as installed. :)
iraqiboy90
09-18-2014, 02:38 AM
Does this require "exec"?
ozzy47
09-18-2014, 09:20 AM
Does this require "exec"?
What is that?
ozzy47
09-19-2014, 01:16 AM
If you mean, http://php.net/manual/en/function.exec.php
This mod should not require anything you don't have already.
migratoria
09-19-2014, 09:28 AM
Mod installed but I can not see the results anywhere
Disco_Dave
09-19-2014, 09:29 AM
Mod installed but I can not see the results anywhere
Have you selected who can view it? In the options....
ozzy47
09-19-2014, 09:31 AM
They should show up on the online.php page. Make sure your user is in a group that you set in the mod's options, or you set your userid.
madness85
09-19-2014, 02:51 PM
great mod ozzy :) would it be possible to have it at the very bottom of the forum above vb branding?
ozzy47
09-19-2014, 03:26 PM
great mod ozzy :) would it be possible to have it at the very bottom of the forum above vb branding?
I might be possible, I'll look into it for a future update.
thetechgenius
10-01-2014, 11:19 PM
I see the text:
Server Load Averages: , ,
Server Up Time: ,
But no stats show up. Maybe because im running my site on a windows based server (Windows Server 2008R2)?
ozzy47
10-01-2014, 11:20 PM
Most likely, I don't think it will work on a windows server.
gajinoz
10-02-2014, 09:54 PM
Marked as installed. Works just fine. Thanks.
I have a question though, what do the server load figures actually mean? For example, here is what I see on mine:
Server Load Averages: 0.13, 0.04, 0.06
Server Up Time: 150 days, 6:53
What does the number 0.13 actually mean, is this high or low or whatever?
Firyou
10-02-2014, 10:40 PM
Marked as installed. Works just fine. Thanks.
I have a question though, what do the server load figures actually mean? For example, here is what I see on mine:
Server Load Averages: 0.13, 0.04, 0.06
Server Up Time: 150 days, 6:53
What does the number 0.13 actually mean, is this high or low or whatever?
0.13 is a pretty low server load average. You can learn more about those server load numbers here
http://blog.scoutapp.com/articles/2009/07/31/understanding-load-averages
gajinoz
10-03-2014, 01:22 AM
Great stuff, thanks.
ozzy47
10-03-2014, 01:49 AM
Glad you like it, and thanks for marking as installed. :)
thetechgenius
10-03-2014, 07:47 PM
Most likely, I don't think it will work on a windows server.
Yeah, I figured that was the problem.
qpurser
10-03-2014, 11:11 PM
Ozzy,
installed your MOD and did the settings as required.
However I get also the
Server Load Averages: , ,
Server Up Time: ,
problem.
We are on a regular Apache server
ozzy47
10-03-2014, 11:20 PM
Not sure, have not run across that on a linux system before.
tbworld
10-04-2014, 08:40 PM
Most likely, I don't think it will work on a windows server.
Microsoft released an 'uptime.exe' many years back -- it might still work. Today, many admins handle this through 'power shell' on windows servers, although there are a quite a few alternate methods. If you can get some feedback from the users here, maybe we can gain a picture of what the windows hosts are recommending for a "loading response". A good host will have already established a response method.
thetechgenius
10-27-2014, 06:35 PM
Microsoft released an 'uptime.exe' many years back -- it might still work. Today, many admins handle this through 'power shell' on windows servers, although there are a quite a few alternate methods. If you can get some feedback from the users here, maybe we can gain a picture of what the windows hosts are recommending for a "loading response". A good host will have already established a response method.
I run my own dedicated server though. So there isn't any host that manages my machine.
tbworld
10-27-2014, 06:46 PM
I run my own dedicated server though. So there isn't any host that manages my machine.
Sorry, I am not sure what you are referring to, or your point?
:)
gajinoz
11-01-2014, 05:11 AM
Interesting development ....
I had this working perfectly on Vers. 4.1.7
I've now upgraded to Vers. 4.2.3 Publishing Suite. Now it doesn't appear to be working. Yes, I did re-enable the plugin.
Possibly something I did somewhere but maybe there is some issue with 4.2.3
No big deal but maybe you might want to have a look at it.
ozzy47
11-01-2014, 09:10 AM
I have it working fine on v4.2.2 pl2
Papa Bear
11-01-2014, 10:37 AM
I have it running fine on 4.2.3 beta 3..
gajinoz
11-01-2014, 09:06 PM
I have it working fine on v4.2.2 pl2
Fair enough, possibly something I've done somewhere but I have no idea what. It would be interesting to know if anyone else with 4.2.3 has a similar problem.
ozzy47
11-01-2014, 09:07 PM
Possibly disable all your other mods and see if the issue is resolved.
andrew67
11-13-2014, 12:46 AM
Any chance a future update might include displaying it on the forum home page ?
ozzy47
11-13-2014, 12:50 AM
Possibly, but IMO that is just clutter on there, and would not be as easily viewable as it is on the online.php page. Another advantage to it being on the online page, is the page auto refreshes, giving you more up to date numbers. :)
andrew67
11-13-2014, 01:03 AM
Most VBulletin forums are full of clutter :). The "whats going on" box has number of members, number of guests, most users ever online, etc etc and I though server load and server uptime would be a worthwhile stat inclusion. As a reasonable sized forum (600K posts,60k members), we do regular mailouts that refer members to a particular thread which can send our server load up and down a bit so it would be interesting to both members and staff.
On a seperate note, keep up the good work :)
ozzy47
11-13-2014, 10:37 PM
Most VBulletin forums are full of clutter :). The "whats going on" box has number of members, number of guests, most users ever online, etc etc and I though server load and server uptime would be a worthwhile stat inclusion. As a reasonable sized forum (600K posts,60k members), we do regular mailouts that refer members to a particular thread which can send our server load up and down a bit so it would be interesting to both members and staff.
On a seperate note, keep up the good work :)
Now that I think about it more, you should be able to add the following to any template, to get the display.
{vb:raw show.server_load}
AURFSCAN
11-21-2014, 08:54 AM
Now that I think about it more, you should be able to add the following to any template, to get the display.
{vb:raw show.server_load}
Indeed you can. Here its displayed on my navbar
ozzy47
11-21-2014, 09:34 AM
Well there you go. :)
helmer.co
11-25-2014, 10:07 PM
Well, this installed fine but shows no stats. Show the text from the mod but all stats are blank.
ozzy47
11-25-2014, 10:09 PM
It should be showing fine, not sure what the issue is.
Did you set the perms to view it?
helmer.co
11-25-2014, 10:28 PM
Yes I did. I also found what appears to be a bug. If you disable the mod but, you add in users such as 1,2 your text still appears even though the mod is disabled.
ozzy47
11-25-2014, 10:30 PM
Hmmm, perhaps something on your server is stopping it from reading.
Do the load stats show up in the ACP?
helmer.co
11-25-2014, 10:33 PM
Help
Welcome to the vBulletin Admin Control Panel
Server Type Linux Data Usage 14.13 MB Users to Moderate 0 [View]
Web Server Apache Index Usage 2.86 MB Threads to Moderate 0 [View]
PHP 5.3.27 Attachment Usage 0 Posts to Moderate 0 [View]
PHP Max Post Size 8.00 MB Avatar Usage 1.6 KB Attachments to Moderate 0 [View]
PHP Maximum Upload Size 10.00 MB Profile Picture Usage 0 Events to Moderate 0 [View]
PHP Memory Limit 256.00 MB Unique Members Today 1 Messages to Moderate 0 [View]
MySQL Version 5.5.37-cll New Users Today 0 New Threads Today 0
MySQL Packet Size 256.00 MB New Posts Today 0 Number of Queued E-Mails 0
ozzy47
11-25-2014, 10:38 PM
No, not there, look in the block titled, Quick Administrator Links
It will be the first thing in the block.
helmer.co
11-25-2014, 10:55 PM
OK, I must be stupid or something as I do not find any block that says Quick Administrator Links.
I am running 4.22 PL2
helmer.co
11-25-2014, 10:58 PM
Found it after I scrolled down some. "Face Palm". What is it you want to know?
ozzy47
11-25-2014, 10:58 PM
It should be there, when you first go to the ACP.
So yoursite.com/admincp/index.php
ozzy47
11-25-2014, 10:59 PM
Found it after I scrolled down some. "Face Palm". What is it you want to know?
Do the server load averages show up in there?
helmer.co
11-25-2014, 11:00 PM
Quick Administrator Links
Users Online 44 (1 members and 43 guests)
Quick User Finder
Quick Phrase Finder
PHP Function Lookup
MySQL Language Lookup
Useful Links
ozzy47
11-25-2014, 11:02 PM
So if the server load stats do not show up there, then it is something on your server stopping it.
helmer.co
11-25-2014, 11:03 PM
OK, thanks for your help.
ozzy47
11-25-2014, 11:06 PM
Not a problem, to bad it is not available for you. :(
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.