View Full Version : vB3 Server Status via Admin CP
Erwin
01-06-2004, 10:00 PM
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
01-07-2004, 03:27 AM
very nice :) your just on a role, however i feel that this will probally be much more usefull to dedicated server owners
shadowbreed
01-07-2004, 05:02 AM
Perfect this will be most usefull to ship with our servers
HiDeo
01-07-2004, 10:21 AM
Thanks for your hacks
Schorsch
01-07-2004, 10:54 AM
/me clicks install
Thanks Erwin!
romanticyao
01-07-2004, 11:30 AM
Erwin is the king.
romanticyao
01-07-2004, 11:34 AM
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 ;)
* MGM clicks Install
MGM out
Erwin
01-07-2004, 10:59 PM
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
01-08-2004, 12:32 PM
even though I use Putty on a daily basis I believe many can benefit from this hack ... I will click INSTALL now!
cerebro
01-08-2004, 06:11 PM
Just install..great hack!
Jadelit
01-09-2004, 06:31 AM
Will this work with Mandrake?
cerebro
01-09-2004, 01:04 PM
for future upgrate can add My.cnf config, and apache.conf.
A selection menu to select what you want to see :D
Mr. HillBilly
01-09-2004, 09:52 PM
Hey erwin, I was wondering if this hack works on FreeBSD 4.7? :)
Erwin
01-09-2004, 10:05 PM
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. :)
PranK
01-10-2004, 03:22 AM
Erwin, love ya work!
*clicks install*
Thanks,
Christian
Erwin
01-10-2004, 03:33 AM
Erwin, love ya work!
*clicks install*
Thanks,
Christian
Hello fellow Aussie. :) I'm going to be in Sydney in 2 weeks. ;)
ixian
01-13-2004, 07:59 PM
Awesome hack. Installed.
thuffner
01-24-2004, 12:25 AM
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)?
ixian
01-24-2004, 12:31 AM
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
01-26-2004, 07:05 AM
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.
ixian
01-26-2004, 12:34 PM
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.
gmarik
01-26-2004, 12:59 PM
useless but nice for a small board!
thuffner
01-26-2004, 01:40 PM
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?
ixian
01-26-2004, 03:07 PM
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
01-27-2004, 02:52 PM
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.
Erwin
02-01-2004, 08:48 AM
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-02-2004, 12:52 PM
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
02-06-2004, 03:59 PM
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.
Erwin
02-10-2004, 08:05 AM
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
02-26-2004, 12:21 AM
What about server up time?? Is that included in this hack?
Erwin
02-26-2004, 12:49 AM
What about server up time?? Is that included in this hack?
It's included as part of top.
LoOnEyToOnZ
03-27-2004, 06:09 AM
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
03-27-2004, 06:48 AM
I do say, another fine quality Hack.
/me clicks install.
Xabbu
04-04-2004, 11:33 PM
Good one.. :)
HollyRidge
04-05-2004, 04:20 PM
Very cool!!!
Maikel
04-26-2004, 09:09 AM
nice hack :)
Sketch
04-26-2004, 12:18 PM
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. ;)
Erwin
05-01-2004, 03:46 AM
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.
sc4r3d
05-03-2004, 03:07 PM
thank you
Onkel_Tom
06-05-2004, 05:14 PM
For those Servers which are not running Redhat Linux just change the following line in serverinfo.php to read the version of Linux
$linux = "cat /etc/redhat-release";
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-06-2004, 09:16 AM
Works 100%
Nice one Doc :)
Laters
Onkel_Tom
06-06-2004, 02:00 PM
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-06-2004, 04:15 PM
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-06-2004, 08:10 PM
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
PranK
06-07-2004, 04:53 AM
Cheers erwin!
/me clicks install
weitalia
07-05-2004, 05:33 PM
It's fantastic!!!! ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.