Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Server Info in Admin Control Panel Details »
Server Info in Admin Control Panel
Mod Version: 1.0, by Dream (Member) Dream is offline
Developer Last Online: Sep 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (15 votes - 4.27 average) Installs: 171
Released: 07 Nov 2006 Last Update: 26 Mar 2007 Downloads: 722
Not Supported Additional Files Re-usable Code  

This is a script that shows a lot of server information inside the AdminCP.

- Shows server time with exec(date)
- Shows uptime with exec(uptime)
- Shows server load with file_get_contents("/proc/loadavg")
- Shows memory usage with exec(free -m)
- Shows free disk space with exec(df -h)
- phpinfo() link
- Shows MySQL Stats with mysql_stat()
- Shows MySQL Status with "SHOW STATUS" query
- Shows MySQL Vars with "SHOW VARIABLES" query

Its superadmin only.

Installation
- Upload "server_info.php" to your admincp
- Upload "cpnav_serverinfo.xml" to your includes/xml
- Reload your AdminCP, its under "Server Info"


Info on Server Loads

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Administrative and Maintenance Tools Members Online in Admin Control Panel and Mod Control Panel Michael Biddle vBulletin 3.6 Add-ons 29 11 Apr 2016 22:11
Server Info in Admin Control Panel Darren Lewis vBulletin 2.x Full Releases 20 14 Aug 2002 08:18

  #46  
Old 29 Mar 2007, 00:26
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Use this mod

http://www.vbulletin.org/forum/showthread.php?t=140449
Reply With Quote
  #47  
Old 29 Mar 2007, 19:33
Muellmann's Avatar
Muellmann Muellmann is offline
 
Join Date: Jun 2006
Location: near keyboard
Thumbs up

It works perfect thanks for this addon
Reply With Quote
  #48  
Old 30 Mar 2007, 14:28
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
simple goodness... thanks!

<< installed
__________________
Unreal Addicts: The Ultimate UT Fraggin Fix
Unreal Tournament Sniper Clan and UT Gaming Community.
Serving frags and fun to the UT Community Since 1999
www.UnrealAddicts.com
Reply With Quote
  #49  
Old 17 Apr 2007, 08:52
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Thank you very nice work
Reply With Quote
  #50  
Old 17 Apr 2007, 17:53
Dunno012007 Dunno012007 is offline
 
Join Date: Jan 2007
Great Mod thanks
Reply With Quote
  #51  
Old 17 Apr 2007, 21:57
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Installed....

Reloaded AdminCP and logged in...

Run any function and get this...

Fatal error: Call to undefined function rpm_print_stop_back() in /usr/www/apache/htdocs/milsurps/admincp/server_info.php on line 17

Suggestions?

Thanks

Regards,
Badger

Edit: Ignore above... discovered you had to be logged in as SuperAdmin....

I usually avoid that and only login as Admin.... can I change something someplace to be able to use it under the lower capability?

BTW, here's what I get for loading...

16:57:51 up 194 days, 20:26, 0 users, load average: 0.08, 0.03, 0.01

Last edited by BadgerDog; 17 Apr 2007 at 22:08.
Reply With Quote
  #52  
Old 17 Apr 2007, 23:03
ymy's Avatar
ymy ymy is offline
 
Join Date: Feb 2003
Originally Posted by Dream View Post

thanks a lot Dream
__________________
vBulletin is the ideal community solution for all medium-to-large sites
Reply With Quote
  #53  
Old 21 Apr 2007, 18:17
NeRilkA's Avatar
NeRilkA NeRilkA is offline
 
Join Date: Jun 2002
Real name: Julie
Thanks Dream

I'm testing it for the translation but Uptime is empty and Server Loads said Failed (i didn't translate these lines )

And on another forum I got this error with the original file :
Fatal error: Call to undefined function rpm_print_stop_back() in /home/www/***/web/forum/admincp/server_info.php on line 17
Oh i just thought it may be because this other forum is on 3.6.4 ?
Reply With Quote
  #54  
Old 21 Apr 2007, 20:41
Dotara's Avatar
Dotara Dotara is offline
 
Join Date: Apr 2007
Originally Posted by TexasDreams View Post
FROM (Linux using 'free')
if ($_REQUEST['show'] == 'memoryusage' || empty($_REQUEST['show'])) {
print_form_header('', '');
print_table_header('Memory Usage &nbsp;<span class="normal">exec(free)</span>');
exec('free', $mem);
print_description_row('<pre>'.implode('<br />', $mem).'</pre>');
print_table_footer();

TO (FreeBSD using 'vmstat')
if ($_REQUEST['show'] == 'memoryusage' || empty($_REQUEST['show'])) {
print_form_header('', '');
print_table_header('Memory Usage &nbsp;<span class="normal">exec(vmstat)</span>');
exec('vmstat', $mem);
print_description_row('<pre>'.implode('<br />', $mem).'</pre>');
print_table_footer();
After replacing these codes for freebsd, I'm getting error "parse error: syntax error, unexpected $end in /usr/home/dotara/public_html/admincp/server_info.php 152"



I'm using FreeBSD 6.x
Reply With Quote
  #55  
Old 21 Apr 2007, 20:48
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Originally Posted by NeRilkA View Post
Thanks Dream

I'm testing it for the translation but Uptime is empty and Server Loads said Failed (i didn't translate these lines )

And on another forum I got this error with the original file :


Oh i just thought it may be because this other forum is on 3.6.4 ?
Are you running on unix?

The other problem you have is my bad. You need to run this as a Super Admin or that will happen.
Reply With Quote
  #56  
Old 21 Apr 2007, 20:49
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Originally Posted by Dotara View Post
After replacing these codes for freebsd, I'm getting error "parse error: syntax error, unexpected $end in /usr/home/dotara/public_html/admincp/server_info.php 152"



I'm using FreeBSD 6.x
Most likely an error in your editing the file, thats a PHP parse error. Check line 152 of the file.
Reply With Quote
  #57  
Old 21 Apr 2007, 20:53
Dotara's Avatar
Dotara Dotara is offline
 
Join Date: Apr 2007
Originally Posted by Dream View Post
Most likely an error in your editing the file, thats a PHP parse error. Check line 152 of the file.
Here is Line 152 ?>
I've only replaced the codes of memory usage, didn't edit anything else.
Reply With Quote
  #58  
Old 21 Apr 2007, 20:54
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Attach your modified serverinfo.php
Reply With Quote
  #59  
Old 21 Apr 2007, 20:56
Dotara's Avatar
Dotara Dotara is offline
 
Join Date: Apr 2007
Attached.
Attached Files
File Type: php server_info.php (4.9 KB, 6 views)
Reply With Quote
  #60  
Old 21 Apr 2007, 20:59
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
I think you ate a } after


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 06:53.

Layout Options | Width: Wide Color: