vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB3 Server Status via Admin CP (https://vborg.vbsupport.ru/showthread.php?t=59827)

Erwin 01-06-2004 10:00 PM

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 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,

MGM 01-07-2004 06:29 PM

nice hack! i will be installing ;)

[high]* MGM clicks Install
[/high]

MGM out

Erwin 01-07-2004 10:59 PM

Quote:

Originally Posted by romaticyao
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

Quote:

Originally Posted by PranK
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

Quote:

Originally Posted by ixian
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

Quote:

Originally Posted by gmarik
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

Quote:

Originally Posted by GlitterKill
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

Quote:

Originally Posted by Erwin
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

Quote:

Originally Posted by GlitterKill
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

Quote:

Originally Posted by Cloud Strife
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

Quote:

Originally Posted by Sketch
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


All times are GMT. The time now is 04:44 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
  • Page Generation 0.01232 seconds
  • Memory Usage 1,791KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete