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.

For more information, see Servers.

Customize Ports

To customize the monitored ports, edit the /templates/example/serverstatus.tpl template file, where example is your template name.

You will need to modify two parts of the template:

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.

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.

Last modified: October 30, 2024