Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Dec 2006
    Location
    Cardiff, Wales
    Posts
    803

    server status script for php

    hey guys,

    id like to display the server status for my servers on my new website.

    it only needs to display if it up or down (tick or cross) and how long its been up for.

    Best,
    Nathaniel
    SIP Trunking and VoIP Lines, Numbering (DIDs and DDIs), Low Cost Minute add-ons, Secure SIP and VoIP. Business and Enterprise Grade Quality, Low Cost and Highly Competitive. Available at: https://www.voipyonder.com/

  2. #2
    Try phpSysInfo.

    << removed >>
    Last edited by writespeak; 09-25-2009 at 10:39 AM.

  3. #3
    Join Date
    Mar 2009
    Location
    CA
    Posts
    9,350
    WHMCS has a great little addon for this included for free
    〓〓 RackNerd LLC - Introducing Infrastructure Stability
    〓〓 Dedicated Servers, Private Cloud, DRaaS, Colocation, VPS, DDoS Mitigation, Shared & Reseller Hosting
    〓〓 www.linkedin.com/in/dustincisneros/
    〓〓 My fancy email dustin@racknerd.com

  4. #4
    Join Date
    Jun 2008
    Posts
    1,471
    This is fairly simple. You can achieve this through the SSH2 module for PHP (have it SSH in and run 'uptime') or have a simple script on each server and grab them centrally. If it fails to connect, then you can mark the servers as being down.

  5. #5
    Join Date
    May 2003
    Location
    Moon
    Posts
    1,177
    I think this will be what you need http://www.sillydns.com/index.php?title=StatusMon

    Comcities.com| provide hosting solutions – Since 2002
    Icecast Hosting | Shoutcast Hosting | Mobile Streaming | Live TV Streaming | Live Radio Streaming
    CPanel Hosting Solutions | Dedicated Servers | Wowza Media Dedicated Servers | CDN Solutions

  6. #6
    Join Date
    Sep 2005
    Location
    Albany, NY
    Posts
    3,956
    You can try this as well: http://www.status2k.com/
    AYKsolutions.com - High Bandwidth Specialists - 10Gbps/20Gbps+ Unmetered & DDOS Protected
    Over 20+ Global Locations - Asia (Hong Kong, Singapore, Tokyo), Mexico, Brazil, India, Australia, US, CA, EU - Bare Metal and Virtual Cloud. All Managed.
    We are Professional. Painless. Polite.

  7. #7
    Join Date
    Sep 2007
    Posts
    1,018
    Quote Originally Posted by ayksolutions View Post
    You can try this as well: http://www.status2k.com/
    I would also suggest Status2k.

  8. #8
    Join Date
    Aug 2001
    Location
    Brea, CA
    Posts
    541
    Pingdom (http://pingdom.com/) also provides a widget, API and portal for providing that info. Their portal also allows you to share the historical metrics behind the average uptime.

    They aren't the cheapest solution in the world, but we've had a lot of luck with them.
    Jeff Standen, Software Architect, Cerb
    Cerb - web-based teamwork and workflow automation - https://cerb.ai/

  9. #9
    Join Date
    Jun 2006
    Location
    Support Ticket Near You!
    Posts
    1,106
    We personally use a mixture, but our internal system uses phpWatch (open source).
    HostGuard.net - VPS Control Panel
    Automating and monitoring your hosting business.

  10. #10
    Join Date
    Nov 2007
    Posts
    98
    you can take WHMCS "serverstatus.php" page
    i think it's will work with you

  11. #11
    Join Date
    Jun 2009
    Location
    /r00t AZ,USA
    Posts
    34
    Hello CymraegWalesHosting,
    I have been coding a php script that is using fsockopen and can be found here mrvinux.com/mvstatus i'll add a download link later on,nothing to install just upload and your good to go.
    It shows web server load averages and uptime that's runing linux mvstatus shows if Cpanel,FTP,Mysql,Apache,Email(POP3),Email(IMAP),Webmail is up or down you can add more ports to.
    Good luck.

  12. #12
    Quote Originally Posted by CymraegWalesHosting View Post
    hey guys,

    id like to display the server status for my servers on my new website.

    it only needs to display if it up or down (tick or cross) and how long its been up for.

    Best,
    Nathaniel
    Is your site on the same server, or a different one? Seems obivious is the server is down, or not. My 2 cents..

  13. #13
    Join Date
    Dec 2006
    Location
    Cardiff, Wales
    Posts
    803
    Quote Originally Posted by honeyhosting View Post
    Is your site on the same server, or a different one? Seems obivious is the server is down, or not. My 2 cents..
    In the middle of building a 35 server + cloud so not really

    Best,
    Nathaniel
    SIP Trunking and VoIP Lines, Numbering (DIDs and DDIs), Low Cost Minute add-ons, Secure SIP and VoIP. Business and Enterprise Grade Quality, Low Cost and Highly Competitive. Available at: https://www.voipyonder.com/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •