View Full Version : vB3 Server Status via Admin CP
vB Server Status 1.0 for vBulletin 3 RC 2
A powerful script that shows you server information without any need to login via Telnet or SSH.
This is for a Red Hat linux server and is most useful for dedicated server admins.
Features
------------------
1) Integrated into vB Admin CP - uses Admin CP cp.css style
2) View recent Telnet or SSH logins
3) View current kernel version
4) View current linux version
5) View number of current Apache processes running
6) View number of current MySQL processes running
7) View Hard Disk Partition names and sizes
8) View your current TOP information (including server loads, top processes)
9) View your current Netstat information
8) View your current Apache processes in detail (with % CPU/ memory/ PID)
9) View MySQL database detailed information
10) View PHP detailed information
Installation
-------------------
1) Upload "serverinfo.php" to your /admincp folder.
2) Edit your /admin/index.php file:
Finish!
Once this is installed, you can just click on the "vB Server Status" link in your Admin CP on the left column underneath your "vBulletin Options" to access this.
Enjoy!
Dr. Erwin Loh
Zachery
07 Jan 2004, 05:27
very nice :) your just on a role, however i feel that this will probally be much more usefull to dedicated server owners
shadowbreed
07 Jan 2004, 07:02
Perfect this will be most usefull to ship with our servers
Schorsch
07 Jan 2004, 12:54
/me clicks install
Thanks Erwin!
romanticyao
07 Jan 2004, 13:30
Erwin is the king.
romanticyao
07 Jan 2004, 13:34
sorry if this is off the topic, but i cry for hope that u could update FORM TO FORUM/ THREAD/ PM/ EMAIL - CUSTOMIZABLE FORMS for Mod Apps, Orders, News...
to VB3,
nice hack! i will be installing ;)
/me clicks Install
MGM out
sorry if this is off the topic, but i cry for hope that u could update FORM TO FORUM/ THREAD/ PM/ EMAIL - CUSTOMIZABLE FORMS for Mod Apps, Orders, News...
to VB3,
That hack is quite messy... but I may do it. There's quite a bit of code changes from vb2 to vB3...
Princeton
08 Jan 2004, 14:32
even though I use Putty on a daily basis I believe many can benefit from this hack ... I will click INSTALL now!
cerebro
08 Jan 2004, 20:11
Just install..great hack!
Jadelit
09 Jan 2004, 08:31
Will this work with Mandrake?
cerebro
09 Jan 2004, 15:04
for future upgrate can add My.cnf config, and apache.conf.
A selection menu to select what you want to see :D
Mr. HillBilly
09 Jan 2004, 23:52
Hey erwin, I was wondering if this hack works on FreeBSD 4.7? :)
Mandrake and FreeBSD... I am not familiar with either OSes... If the linux commands are the same, then I don't see why they would not work... however, the Linux version command needs to be changed. My advice is to try it out, and see if it works. :)
Erwin, love ya work!
*clicks install*
Thanks,
Christian
Erwin, love ya work!
*clicks install*
Thanks,
Christian
Hello fellow Aussie. :) I'm going to be in Sydney in 2 weeks. ;)
thuffner
24 Jan 2004, 02:25
What do the recent Telnet/SSH logins represent?
Should these be my IP and everyhting, or is it normal to have different IPs (and not your own)?
They represent exactly what they mean - people from other addresses telnet-ing or ssh-ing into that server. Are you on a shared box? If so you just exposed a big security hole in it's configuration.
If it's just your box, and you are the only one with access, then you have a problem.
thuffner
26 Jan 2004, 09:05
What do you mean 'my own box'? I am not on a dedicated server, but a shared one.
And just to make sure, what are some precautions I can take to patch these security holes, if they are in fact present?
Thanks.
Um, I mean, your own box - your own dedicated server.
Since you are not, and are on a shared server, then the logins you are seeing are naturally going to be from all the other customers who use that server with you.
useless but nice for a small board!
thuffner
26 Jan 2004, 15:40
Um, I mean, your own box - your own dedicated server.
Since you are not, and are on a shared server, then the logins you are seeing are naturally going to be from all the other customers who use that server with you.
Is that a good or bad thing?
useless but nice for a small board!
Wow, what a helpful observation. I'm glad you shared your opinion. Pray tell us why you think larger boards would in no way benefit from this addon.
GlitterKill
27 Jan 2004, 16:52
I have installed this hack but when trying to view the server stats I simply get an "Action Cancelled" or "Page cannot be displayed" page. I have changed permissions as well and it has not helped.
I am also using VB3 RC3 if that helps any.
I have installed this hack but when trying to view the server stats I simply get an "Action Cancelled" or "Page cannot be displayed" page. I have changed permissions as well and it has not helped.
I am also using VB3 RC3 if that helps any.If you are on a shared server, your host may have disabled access to top and other such commands. If it's a dedicated server, php may be running in safe mode?
GlitterKill
02 Feb 2004, 14:52
If you are on a shared server, your host may have disabled access to top and other such commands. If it's a dedicated server, php may be running in safe mode?
This is a dedicated server at EV1Servers.net, Dual Xeon server. Safe Mode is of for all sites on the box. Any other ideas? :ermm:
attroll
06 Feb 2004, 17:59
I downloaded this and installed it and it is a very neat tool. But the downfall to it is that it sucks up your system memory and almost brings your server to a hault. I am on a VPS with memory and this is what happend to me when I tried it twice.
This is a dedicated server at EV1Servers.net, Dual Xeon server. Safe Mode is of for all sites on the box. Any other ideas? :ermm:
Well, I host my private forums with the same machine at the same place, and it works for me. :)
As for memory hogging, this script is meant to be run only once in a while and is really for dedicated servers.
Cloud Strife
26 Feb 2004, 02:21
What about server up time?? Is that included in this hack?
What about server up time?? Is that included in this hack?
It's included as part of top.
LoOnEyToOnZ
27 Mar 2004, 08:09
Hi Erwin. Is it possible to allow users to signup for this hack.... to show THEIR server status on some custom page of the forum ?
Probably a simpler version, only show status of apache, bind, ftpd, mysql, etc ?
Thanks
neocorteqz
27 Mar 2004, 08:48
I do say, another fine quality Hack.
/me clicks install.
HollyRidge
05 Apr 2004, 18:20
Very cool!!!
Installed but as a sidenote, you do not need to put the db server info in the serverinfo.php. You already included global.php which includes init.php which includes the vb config.php file which has the identical variables already declared. ;)
Installed but as a sidenote, you do not need to put the db server info in the serverinfo.php. You already included global.php which includes init.php which includes the vb config.php file which has the identical variables already declared. ;)
You're right of course. :) I run it as a stand-alone program myself, and didn't think about that. Fixed the ZIP.
Onkel_Tom
05 Jun 2004, 19:14
For those Servers which are not running Redhat Linux just change the following line in serverinfo.php to read the version of Linux
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
to your Linux Distribution:
$linux = "cat /etc/debian_version";
$linux = "cat /etc/SuSE-release";
$linux = "cat /etc/mandrake-release";
$linux = "cat /etc/fedora-release";
$linux = "cat /etc/gentoo-release";
$linux = "cat /etc/slackware-version";
$linux = "cat /etc/eos-version";
Nice work Erwin :) I'm going to use this.
The Realist
06 Jun 2004, 11:16
Works 100%
Nice one Doc :)
Laters
Onkel_Tom
06 Jun 2004, 16:00
In arrangement with Dr. Loh I updated the script to get some more server information and also have some cosmetic changes.
New additional Features
--------------------------------
1) Implemented Online Users from Dr. Loh's top.php Script
2) Configure several Unix Distributions
3) View machine Type
4) View Server Name
5) View Operating System Type
6) View Operating System Version
7) View Processor
Depending on your Server it could be that some information are not correct displayed in the output. If this happens you can edit the serverinfo.php file an comment the wrong displayed lines with // in the beginning.
have fun
The Realist
06 Jun 2004, 18:15
Works a treat M8, well done.
But............
One of my settings says:
Open_tables | 1023 | 100% of table_cache in use
Is this right?
Onkel_Tom
06 Jun 2004, 22:10
One of my settings says:
Open_tables | 1023 | 100% of table_cache in use
Is this right?
The script only reads the information an status from your MySQL Server.
So this information must be right !
Check your MySQL Konfiguration to fix the 100% table_cache
Cheers erwin!
/me clicks install
weitalia
05 Jul 2004, 19:33
It's fantastic!!!! ;)
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.