The following section will show you how to setup a daemon (aka. cronjob or scheduled task) to allow servers checking at specified time intervals.
The status report (if any) will be sent by e-mail to the addresses set in the "Daemon Settings" screen of the application.
This tutorial acts as a generic sample and will explain the daemon setting-up only for Linux platforms (maybe shared hosting) with cPanel admin module.
For other OS & platform please check the corresponding documentation.
Either way, what it is important to know is that the script needed to be run by the daemon is /bins/os/sample/os-cron.php.
The following file structure is assumed to exists on the server as this is the default structure that the package comes with.
After login into cPanel account, please find the "Cron Jobs" section and enter.
Under the "Add New Cron Job" section choose the cron running times and the command that should be run:
The command should be similar to:
/usr/bin/php -q /home/php-server-monitor/bins/os/os-cron.php
where you need to replace:
For shared hosting a command should look like (assuming that the php-server-monitor package is located under public_html root dir of the server):
/usr/bin/php -q /home/your-username/public_html/php-server-monitor/bins/os/os-cron.php
After clicking "Add New Cron Job" button, the job should appear under the "Current Cron Jobs" area:
From now on, the os-cron.php will run periodically to check the servers and will send status reports by e-mail according to the settings made in the application daemon settings screen.
Affordable server monitoring software that allows you to check the online status of your servers.
WiseLoop PHP Server Monitor can check status of any server types such as web servers, FTP servers, mail servers, SQL and NoSQL database servers, game servers, VPN servers, cloud servers, cdn servers etc.
By setting up a cron job, the tool is able to send email notifications and server status reports so you will be always up to date regarding the online status of your servers.
This system status checker tool is ideal for hosting providers, hosting resellers, IT systems administrators, database administrators, webmasters and can be used in any other scenarios where servers/services online status info is needed.