The following section will show you how to integrate the provided single server monitoring directive into your own projects.
If you don't know what a directive is, you just need to know that it is a sort of a HTML tag or attribute that has the ability to change the DOM.
For the simplicity of the learning process, all the samples will use a simple HTML page layout.
The following file structure is assumed to exists on the server as this is the default structure that the package comes with.
The file we are editing is /sample/index.html
This widget is designed as a stand alone component to be used inside other applications. There are just a few attributes needed to customize the single server monitoring widget:
The following code shows how to integrate the widget directive:
After browsing to our http;//the-server-root/php-server-monitor/sample/index.html, we should get something like:
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.