The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Add cPanel Uptime and 'small'.. error?

Discussion in 'General Discussion' started by IberHosting, Sep 14, 2005.

  1. IberHosting

    IberHosting Well-Known Member

    Joined:
    Jun 1, 2005
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    Im looking in cPanel to add a line with the 'system uptime'. Anyone know what modifications I need made to show the system uptime in a new box like..

    [​IMG]

    Btw... the 'monitor' is a error in the new release version?

    Thanks,

    Antonio
     
  2. IberHosting

    IberHosting Well-Known Member

    Joined:
    Jun 1, 2005
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    16
  3. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    Displaying the system uptime in a location that can be accessed by your clients may not be a good idea, as from time to time the uptime will not be too great as reboots are sometimes needed.

    What is more important to your clients, and to you, is not how long the server has been up, but how long it has been down and over what period. From such data you can then calculate the true uptime over the whole period.

    For example if your server was up for two years and then, due to some OS upgrades, you needed to reboot, your uptime shortly after the reboot would be very little - hardly an impressive thing to display. Whereas if you knew that for two years and a little bit your server was only down for 2 minutes 30 seconds for the reboot, you could tell the true uptime for the whole period.

    Admittedly this is more complex than what you were probably looking for, however better in the long run.

    How to record the downtime is tricky, unless you just feel like doing it by hand as and when it happens.

    As for including it in the cPanel service status page - this could be achieved through the modification of your own custom theme and a bit of backed Perl or PHP jiggery pokery.
     
Loading...

Share This Page