Customize Monitoring Ports
Status monitoring allows you to view the load and uptime for each of your Linux®-based servers from within the WHMCS Client Area or Admin Area. You can easily customize the ports that the system monitors for enabled servers on self-hosted WHMCS installations.
Customize Monitored Ports
You will need to modify two parts of the port template file:
1. Edit the serverstatus.tpl file.
Use your preferred method to edit the /templates/example/serverstatus.tpl template file, where example is your template name.
2. Update the port column headings.
Update the following lines, near line 44:
<th class="text-center">HTTP</th>
<th class="text-center">FTP</th>
<th class="text-center">POP3</th>
These are the column headings. You can change them to describe the ports you will be monitoring.
3. Update the port numbers.
Update the following lines, near line 73:
checkPort({$num}, 80);
checkPort({$num}, 21);
checkPort({$num}, 110);
Change the numbers (80, 21, and 110 by default) to change, add, or remove ports to check.
4. Save your changes.
Save your changes to the file.
Last modified: 2025 October 17