Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    46

    Default Access server stats outside of CPanel

    hi!

    I'd love to be able to have the full server status report (with the green - I hope - lights) saying which services are running & CPU load on a page on my site, is there anyway I can do this?

    cg

  2. #2
    Member
    Join Date
    Mar 2004
    Posts
    46

    Default

    ??

    anyone?

    cg

  3. #3
    Member
    Join Date
    Apr 2003
    Posts
    479

    Default

    I don't think there's any easy way. I'll do it for you for a couple bucks, but here's how I would do it:

    Make a new account. Don't give it much space, make it a demo account.

    Add a new file to the theme:

    /usr/local/cpanel/base/frontend/xxxxxxxx/status.html

    where xxxxxxxxx is your theme.

    The file contains 1 line:
    <cpanel Serverinfo="servicestatus()">

    Then.... on your site, where you want the status table (must be a php file)

    PHP Code:
    <?php include("http://user:pass@yoursite.com:2082/frontend/xxxxxxxxxx/status.html"); ?>
    fopen wrappers must be turned on, and if you're using phpsuexec, make sure the php file is not world readable.

  4. #4
    Member
    Join Date
    Mar 2004
    Posts
    46

    Default

    thank you

    cg

Similar Threads & Tags
Similar threads

  1. How to only give access to Stats
    By kickedmydog in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-08-2005, 01:32 AM
  2. cutomer access to stats
    By larryscala in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-21-2004, 02:10 PM
  3. access stats outside cpanel
    By Sopos in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-17-2003, 10:58 AM
  4. How do i access bandmin stats please
    By ivaserver in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-26-2003, 05:25 AM
  5. stats - how to access via scripts?
    By codez in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-30-2002, 11:45 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube