/ServerStatus

Server Status website script, displays uptime (days), free RAM, free HDD.

Primary LanguagePHPOtherNOASSERTION

ServerStatus

============ EASTOKES NOTE: Updated to add MEM / BUFFER / SWAP info, numberic resource usage instead of percents, a link to control panel (you need to add a 'link' column to your database if you earlier imported mojeda's sql file), and reversed the bar fill to show used resources instead of free.

ServerStatus is based off BlueVM's Uptime Checker script, original download and information.

It uses Bootstrap for theming and progress bars.

You can currently see Load, RAM (free), HDD (free) statistics, and if it is online or not.

Screenshot

============ Screenshot Mobile Screenshot

Installation

============

  1. Create a database with a user.
  2. Import the servers.sql file in in the /sql/ folder, to populate the database.
  3. Configure /includes/config.php with the database and user information.
  4. Copy uptime.php to any server you want to monitor. This needs to be publicly accessible.
  5. Insert an entry into the database.
  • name - The name of your server.
  • url - The URL path to the uptime.php file (minus uptime.php and http://) e.g. dns.domain.tld/path/
  • location - Where is your server physically located?
  • type - What type of server is this? DNS, SQL, Apache/nginx, etc.

Requirements

============

Remote Servers:

  • PHP5, currently php_exec needs to be enabled in order to get the uptime.
  • Web Server (lighttpd, apache2, nginx, etc.)
  • You do NOT need a database running on the remote servers.

Master Server:

  • PHP5 + PHP5_CURL
  • Web Server (lighttpd, apache2, nginx, etc.)
  • mySQL server unless you choose to use a remote mySQL server.