Results 1 to 13 of 13
Thread: server status script for php
Hybrid View
-
06-17-2009, 10:53 AM #1Web Hosting Master
- 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,
NathanielSIP 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/
-
06-18-2009, 01:40 AM #2Junior Guru Wannabe
- Join Date
- Mar 2009
- Posts
- 75
Try phpSysInfo.
<< removed >>Last edited by writespeak; 09-25-2009 at 10:39 AM.
-
06-18-2009, 02:32 AM #3Web Hosting Master
- 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
-
06-18-2009, 03:22 AM #4Web Hosting Master
- 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.
-
06-21-2009, 05:19 PM #5Streaming Specialist
- 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
-
06-21-2009, 06:12 PM #6Web Hosting Master
- 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.
-
06-21-2009, 07:30 PM #7Web Hosting Master
- Join Date
- Sep 2007
- Posts
- 1,018
-
06-22-2009, 03:34 PM #8Web Hosting Evangelist
- 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/
-
06-22-2009, 10:56 PM #9Web Hosting Master
- 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.
-
06-22-2009, 11:44 PM #10Junior Guru Wannabe
- Join Date
- Nov 2007
- Posts
- 98
you can take WHMCS "serverstatus.php" page
i think it's will work with you
-
06-23-2009, 09:59 AM #11Junior Guru Wannabe
- 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.
-
06-23-2009, 04:30 PM #12Disabled
- Join Date
- Jun 2009
- Posts
- 57
-
06-25-2009, 04:38 PM #13Web Hosting Master
- Join Date
- Dec 2006
- Location
- Cardiff, Wales
- Posts
- 803
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/