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.

API Features For Status?

Discussion in 'General Discussion' started by jdhf99, Dec 1, 2008.

  1. jdhf99

    jdhf99 Well-Known Member

    Joined:
    Mar 16, 2004
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Is there an xml-api feature to get the uptime along with the status of MySQL\Apache, etc... anything you have checked off in service manager?

    Thanks!
     
  2. fedlerner

    fedlerner Active Member

    Joined:
    Oct 31, 2007
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Argentina
    This would be a great implementation.
    I'm asking the same question...
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I know we have an internal case open for implementing service status checks into the XML API. However, I have no ETA on when that will become implemented. (Internal Case 836)

    Regarding uptime, as far as I know, cPanel/WHM does not track such things at this time, so there wouldn't be an API function for this. Though, you could create a script that pipes the content of the 'uptime' command to a file within a public_html folder of an account on the server so it can be read over HTTP by whatever application needs that information.
     
Loading...

Share This Page