Server ++
The Main Scripts:
- logger.php - executes linux commands used to monitor the server regularly.(interval set by crontab/cronjob).
- extract.php - retrieves server configuration,version and other live data.
- index.php - displays the Server ++ pannel for monitoring the server.
INSTALLATION-
-
Download the files to your workstation and extract the archive to the required folder on the server
for example: /path/to/server++ -
Give config.php file read, write, and execute permissions (777) .
(You can use Cpanel, Command line, or any FTP client, for the same.)
Eg: In the command line type in:
~/# chmod 777 /path/to/server++/config.php -
Run install.php in the web browser and fill in the required details.
Eg: http://yourdomain/path/to/server++/install.php -
Set the cronjob for "logger.php" , it is required to execute within every 5 minutes (recommended; you can change the time interval as required.) for monitoring the server continuously.
on the command line type in:
~/# crontab -e
<to edit the crontab> select the preffered editor <if you are editing crontab for the first time> and insert the following line:
5 * * * * php /path/to/server++/logger.php
Note: to execute the above command you should have the php-cgi/php-cli packages installed on the server.
The above command is recommended. If you want to change the time interval from 5 minutes to 3 minutes or to every 1 minute you can replace the above line by
3 * * * * php /path/to/server++/logger.php
<or>
* * * * * php /path/to/server++/logger.php - The installation process of Server ++is complete.
-
After installation, give config.php read permissions(444).
Eg:~/# chmod 444 /path/to/server++/config.php
You can start monitoring the server from:
http://yourdomain/path/to/server++/
SCREENSHOTS-



