Using phpSysInfo to Monitor The System Health Of a PHP Webserver

 Published by Dirk Paessler
Last updated on January 23, 2024 • 1 minute read

Using scripts from Open Source project phpSysInfo it is quite easy to set up a simple system-health monitoring on any webserver that can run PHP files.

using phpsysinfo to monitor the system health of a php webserver
This feature can be monitored using IPCheck Server Monitor. The trick is that phpSysInfo shows red bars as soon as the available memory, CPU resources or disk space fall below a certain threshold. These red bars are shown using GIFs images with the word "redbar" in their filename. Using an HTTP Advanced sensor we are monitoring that the resulting HTML from the script does not include the word "redbar". As long as this word is not included in the HTML the server works fine.

Read more in our Knowledge Base: Using phpSysInfo to monitor the system health of a PHP webserver with IPCheck Server Monitor