Troubleshooting Status Monitoring
Server Status Monitoring may not display the uptime or CPU load statistics for a monitored server. This is generally due to one of a few common causes.
Operating System
Server Status Monitoring can only monitor Linux-based servers.
Status Directory Inaccessible
You must upload the contents of the status
directory to the server being monitored, and it must be web-accessible.
To do this:
- Visit the directory in your browser. The uptime and CPU load will display onscreen.
- Enter this URL in WHMCS as the Server Status Address value for the server at Configuration > System Settings > Servers.
PHP Functions Disabled
If the CPU load and uptime do not display, the required PHP functions to obtain this data are disabled in the PHP configuration of the monitored server.
To correct this issue:
- Edit the
php.ini
configuration file on the monitored server. - Find the
disable_function
directive. - Remove the
exec
andshell_exec
functions from the disabled functions list. This will enable both functions.
If these functions are disabled, PHP scripts are unable to check the uptime and CPU usage information.