Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
README.md
server_info.php

README.md

Logo of TrackMy.Services

TrackMy.Services

Scrutinizer Code Quality Build Status GitHub release Packagist

About

TrackMy.Services - easy tool to track all your sites and servers online. Install app on your smartphone and get notification messages each time, when щт your server or web site appear a problem.

Features

  • Server load avaraige;
  • Tracking sevices on the server;
  • Disks usage.

Platforms

Linux, Unix.

Installation

Copy the file server_info.php to the availeble from Internet folder on the server and add to app link:

http://yourdomain.com/your_path/server_info.php

Configuration

Add services, which you want to track and users, that launch them:

// add your services to track here
$servicesToCheck=array();
$servicesToCheck[]=array('what'=>'nginx', 'user'=>'www-data');
$servicesToCheck[]=array('what'=>'apache2', 'user'=>'www-data');
$servicesToCheck[]=array('what'=>'mysql', 'user'=>'mysql');
$servicesToCheck[]=array('what'=>'fail2ban', 'user'=>'root');

Security

You can block direct access to the statistic via providing password to server_info.php:

// set up password
$password=false; //without password (default)
$password='p@$$w0rd'; //data is not available without password

Todo's

  • Fix status for serives in FreeBSD.