I have made some changes to the website and database monitoring script which I published in March 2016.
A summary of these changes:
- The script can be used in PHP versions older than 5.4.0.
- The script has been work with PHP Server Monitor, an open-source self hosted monitoring solution.
You can view the code on Github here, or the previous Blog post here.