Putting uptime results on web pages?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • defining
    Junior Member
    • Aug 2004
    • 8

    #1

    Putting uptime results on web pages?

    Hi There,
    Has anyone created something or knows how to grab the uptime reports of the hostings servers and display them on a web page automatically?

    I'd like to put the uptime results on my company's web page to promote the web hosting.

    ?
  • AndrewT
    Administrator
    • Mar 2004
    • 3657

    #2
    What exactly are you wanting to grab and display?

    Comment

    • defining
      Junior Member
      • Aug 2004
      • 8

      #3
      ? Anything would be cool... I'd like it so that it would always be updated though... I could update it monthly for example but realtime would be best.

      Example:

      Server Status: 99.6% Uptime, Total Amount down: 6 mins, 23 sec...

      or even

      Server Uptime Status: 99.6%.

      Comment

      • AndrewT
        Administrator
        • Mar 2004
        • 3657

        #4
        If you search these forums for "alertra" you'll find a few examples of different things that you can do. In general you'll just need to load the URL into a script and parse the HTML data to get what you need.

        Comment

        • defining
          Junior Member
          • Aug 2004
          • 8

          #5
          Thanks Andrew,
          I'll check it out. If I find anything I'll post the links here.

          Comment

          • Frank Hagan
            Senior Member
            • Mar 2004
            • 724

            #6
            Here's how I did mine.

            First, go to http://forums.dathorn.com/showthread.php?t=4 where the links to all the Dathorn server Alerta pages are, and click on your server. When the page loads, copy the URL for your page. For Cpanel51, its "http://uptime.alertra.com/uptime.php?id2=2174&id1=875375", so you would replace that with YOUR Alerta URL in the following code:

            Code:
            <center>
                  <iframe name="alerta" id="alternate" src="http://uptime.alertra.com/uptime.php?id2=2174&id1=875375"
              width="600" height="400" frameborder="0" scrolling="no">
                  </iframe>
            </center>
            Place that where you want on a page you design, with your header and footer. It works like a champ.

            Comment

            • AndrewT
              Administrator
              • Mar 2004
              • 3657

              #7
              Alertra also offers XML data. Some more info can be found at the URL below.

              Comment

              Working...