The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
Tested on various *nix servers
Description, shows you some important details of your server, the current time, uptime, amount of users that are telneted/ssh'd into your box, the load average, number of proecesses and some information about them, memory usuage and also the swap file usage. ie displays "top" information. Anything above a load average of more than 5 you should try to find out whats taking up the resources. above 10 your server will be running slow as hell. Code:
Example 4:32pm up 10 days, 20:34, 2 users, load average: 0.12, 0.15, 0.35 154 processes: 151 sleeping, 1 running, 2 zombie, 0 stopped Mem: 1545952K av, 1428608K used, 117344K free, 0K shrd, 22372K buff Swap: 1052216K av, 0K used, 1052216K free 876512K cached Sun Nov 18 16:32:16 GMT 2001 Edit the Following Vars To Suit Your Needs. Code:
$mysqladmin and $mysqllogin Upload to {vbportalpath}/{forums dir}/{admin dir} Edit the index.php in your main forum admin directory as follows (eg /{path to vbportal}/{forum path}/{vbb admin path}/index.php) Find code Code:
// ************************************************* makenavoption("Add","announcement.php?action=add","|"); makenavoption("Modify","announcement.php?action=modify"); makenavselect("Announcements"); // *** Code:
// Server Stats makenavoption("Server Information","servstats.php","|"); makenavselect("Server Health"); // Server Stats End The above will give you a sub menu in your vbb's main admin panel. (all done if just using vbb 2.2.x) Goto your portal admin area (eg http://127.0.0.1/vbportal/admin.php Choose side blocks (eg http://127.0.0.1/vbportal/admin.php?op=AdvBlocksAdmin) Edit the Administration Block (eg http://127.0.0.1/vbportal/admin.php?...cksEdit&bid=15) Find: Code:
<strong><big>?</big></strong> <a href="/forums/admin/index.php">VB Admin</a><br> Code:
<strong><big>?</big></strong> <a href="/forums/admin/servstats.php">Server Health</a><br> on the Administration Sideblock, no others will be able to see it. Open /{pathtovbportal}/admin.php Find: Code:
echo "<center><font size=\"4\"><b><a href=\"admin.php\">"._ADMINMENU."</a></b>"; Code:
echo "<center><font size=\"4\"><b><a href=\"/forums/admin/servstats.php\">Server Health</a></b>"; All done If yo have a different forums or vbb admin path please change the directories appropriately for the above instructions. Sorry if theirs better ways of doing this, but im new at trying, and trying is what counts? Hope you find it useful. You can also change the name of servstats.php to what you desire, if you do please remember to change all occurances of servstats.php in all occurances in these intructions. For support check www.phpportals.com Show Your Support
|
Comments |
#12
|
|||
|
|||
fixing a couple of issues with the disc space addition, not forgotten to update, doesnt work properly yet.
|
#13
|
|||
|
|||
after getting many many parse errors, i got it working....here is the new file:
|
#14
|
||||
|
||||
you may want to add the "httpd" processes cpu utilization.
|
#15
|
|||
|
|||
This hack worked well for more than a month. Now, suddendly, it stopped without changing anything on my server or on servstats.php ????
Still using vb 2.2.1 ... Actually I get - now, for example, an html page containing only: Quote:
|
#16
|
|||
|
|||
Uhmmm. Seems very good.... I'll install it when I get a *nix box for the board.
|
#17
|
|||
|
|||
Quote:
I tried reinstalling it again and again, but !! :stupid: |
#18
|
||||
|
||||
Quote:
|
#19
|
|||
|
|||
Infact I'm using the bla.txt version, as the Over's original one always gave me parse errors...
|
#20
|
|||
|
|||
Nobody's here ???
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|