Difference between revisions of "Servers"

From WHMCS Documentation

m
(Logging In)
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Adding a New Server==
+
In WHMCS, server modules allow you to quickly enable and configure automation on many popular server control panels. You can add each of your servers in order to assign sales to them and perform other important tasks.
[[File:Videotutorial.png‎|center|link=http://www.youtube.com/watch?v=7Mg6OMqJxps&hd=1|Watch Video Tutorial]]
 
  
===Using the Server Setup Wizard===
+
You can access this feature at '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > Servers''' or, prior to WHMCS 8.0, '''Setup > Products/Services > Servers'''.
  
WHMCS provides a Server Setup Wizard to allow for quick and easy implementation of new servers. To make use of this, navigate to "Setup > Products/Services > Servers".
+
<html><a href="https://www.youtube.com/watch?v=NeB5GekyC4Q" class="docs-video-tutorial"><em>Watch the video tutorial for this feature.</em><span> <img src="https://assets.whmcs.com/icons/youtube.png"> </span></a></html>
  
*Click "Add New Server"
+
== Add a Server ==
*You are now presented with the Server Setup Wizard
 
*As a minimum, input your required module, Hostname/IP, username and password.
 
*Click "Test Connection". This will ensure that WHMCS can successfully connect to this server
 
*After testing the connection, you will be redirected to the servers configuration page where you can input additional information as required. See [[#Manually_Adding_a_New_Server|Manually Adding a New Server]].
 
  
[[File:ServerSetup.png|500px|center]]
+
You can add servers to WHMCS using either simple or advanced mode.
  
===Manually Adding a New Server===
+
To add a new server to your WHMCS installation:
  
You can add new servers by going to '''Setup > Products/Services > Servers''' and selecting '''Add New Server'''. On this, page click the "Click Here" link to load the previous experience.
+
# Click '''Add New Server'''.
 +
# Choose one of the following server configuration methods:
 +
#* For Advanced mode, click '''Go to Advanced Mode'''. Advanced mode allows you to manually provide the full list of server details.
 +
#* For Simple Mode, perform the following steps. Simple mode accesses your server to retrieve some or all server information from the server itself.
 +
#*# Select a module from the '''Module''' menu. The settings below this change for the module you select.
 +
#*# Enter your server's details.
 +
#*# Click '''Test Connection''' to ensure that WHMCS can successfully connect to this server.  
 +
#*# If the test succeeded, the server configuration page will appear.
 +
#*# If the test failed, check and update the details you entered and try again. To ignore the failure and continue, click '''Continue'''.
 +
# Provide the desired server information. For more information, see the sections below.
 +
# Click '''Test Connection''' to ensure that WHMCS can successfully connect to this server.
 +
# Click '''Save Changes'''.
  
All fields are optional but you should at least enter a name and IP for each server you add:
+
=== Server Settings ===
  
*Name - should be unique to allow you to identify this server
+
For each server, you can configure:
*Hostname - this is the primary domain of the server - used to link to the server by certain modules
 
*IP Address - this is the primary IP address of the server - used to connect to it
 
*Assigned IP Addresses - List the IP Addresses assigned to the server here, these are used in conjunction with Utilities > [[Domain_Resolver_Checker|Domain Resolver]] to check which domains in WHMCS are pointing to your server.
 
*Monthly Cost - optional field - used in reports to calculate profit if entered
 
*Datacenter/NOC - optional field - used only for you to remember where the server is located
 
*Maximum No. of Accounts - a value used to work out the percentage usage of the server (must be entered, can be very large)
 
*Primary/Secondary/Tertiary/Quaternary Nameservers - these are the nameservers for this server, eg. ns1.yourdomain.com and ns2.yourdomain.com - used in welcome email and when registering domains
 
*Primary/Secondary/Tertiary/Quaternary Nameserver IPs - these are the ips for each of the nameservers, can be used in emails
 
*Server Type, Username, Access Hash and Password - should be the login (root/reseller) details for your server (Or Username/Access Hash for cPanel/WHM Servers)
 
* The cPanel, DirectAdmin and Plesk modules offer a '''Test Connection''' button. Clicking this will test the details entered on this page so you can be sure the connection and login details are valid before clicking Save Changes.
 
*Server Status URL - This is the url to the status folder. See Status Monitoring below.
 
  
If this is the only server listed for the selected module afterwards, click on the name and ensure it results in an asterisk (*) next to it. This ensures it is the default and used when any other non-specific configuration (server groups) doesn't apply.
+
* '''Name''' — Enter a unique name to identify this server.
 +
* '''Hostname''' — Enter the primary domain of the server. The system uses this to link to the server with certain modules.
 +
* '''IP Address''' — Enter the primary IP address of the server. The system uses this to connect to the server.
 +
* '''Assigned IP Addresses''' — Enter the other IP addresses for the server here. The system uses them in conjunction with '''Utilities > [[Domain_Resolver_Checker|Domain Resolver]]''' to check which domains in WHMCS are pointing to your server.
 +
* '''Monthly Cost''' — Optionally enter the monthly server cost. The system uses this in reports to calculate profit.
 +
* '''Datacenter/NOC''' — Optionally, enter the datacenter for the server. The system only uses this to help you keep records of where servers are.
 +
* '''Maximum No. of Accounts''' — Enter the maximum number of accounts to add to the server. The system uses this to find the server's use percentage and determine when the default server is full. Once the selected server is full the default is updated so accounts can be provisioned on the next server with available space.
 +
* '''Primary/Secondary/Tertiary/Quaternary Nameservers''' — Enter the nameservers for this server (for example, <tt>ns1.example.com</tt> and <tt>ns2.example.com</tt>). The system uses them in the welcome email and when registering domains.
 +
* '''Primary/Secondary/Tertiary/Quaternary Nameserver IPs''' — Enter the IP addresses for each of the nameservers. The system may use this in emails.
 +
* '''Server Type''', '''Username''', '''Access Hash''', and '''Password''' — Enter the root or reseller login details for your server. For cPanel & WHM servers, you can also enter a username and access hash.
 +
* '''Server Status URL''' — Enter the URL for the status folder. See the Status Monitoring section below.
  
===Syncing Accounts to WHMCS===
+
If this is the only server for the selected module, click on the name and ensure it results in an asterisk (*) next to it. This ensures it is the default. The system will use it when any other non-specific configuration (like a server group) doesn't apply.
  
After adding a new server, it's possible that you already have some accounts on your server which you want to import in to WHMCS.
+
=== Deleting a Server ===
  
In WHMCS 7.8, we have introduced a new Server Sync Tool which allows for quick and easy import from any server which supports it.
+
To delete a server, click the red '''X''' icon on the same row as the server you wish to delete. If the deletion succeeds, a message will appear confirming whether you want to delete it. Click OK to remove it.
  
Click here to learn about our Server Sync Tool. (Link to server sync tool)
+
You cannot delete a server with assigned accounts. This includes terminated and cancelled accounts.
  
==Status Monitoring==
+
== Server Groups ==
  
[[File:Videotutorial.png‎|center|link=http://www.youtube.com/watch?v=0w7YcalU078&hd=1|Watch Video Tutorial]]
+
Server groups allow you to configure servers into sets in which you can assign products automatically, based on your requirements and provisioning settings. For example, you may want shared accounts on certain servers and resellers on others, with accounts being distributed evenly between all the servers you have.  
  
 +
=== Creating a Group ===
  
Status monitoring allows you to view the load and uptime for each of your linux based servers from within the WHMCS client/admin area.
+
To create a group:
  
To enable this, you must upload the status folder supplied in the WHMCS zip file download to each of your servers. And then enter the URL to that folder into the server setup '''Server Status URL''' field.
+
#Click '''Create New Group''' under the '''Options''' heading.
 +
#Enter a name for your group.
 +
#Choose whether to assign new orders to the least-full server ''(based on the percentage of accounts available within the '''Maximum No. of Account''' value)''  '''or''' fill the default server until it reaches the limit for accounts, and then move to the next server.
 +
#Select the servers you want to assign to this group in the box on the left.
 +
#Click '''Add''' to move them to the box on the right, which contains the servers for this group. If you only assign one server to a group, select the ''Add to the least full server'' fill type.
 +
#Click '''Save Changes''' to complete the process.
  
You can leave the field blank, which simply disables monitoring for that server.
+
===Assigning Products to a Group===
 +
 
 +
You can assign products to groups when you edit them at '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > [[Products_and_Services|Products/Services]]''' or, prior to WHMCS 8.0, '''Setup > Products/Services > Products/Services''' in the '''Module Settings''' tab.
 +
 
 +
=== Editing/Deleting a Group ===
 +
 
 +
You will see the same interface and options when you edit a group as when you create one.
 +
 
 +
*You can add or remove servers from a group at any time.
 +
*You can set the maximum number of accounts to assign to a server when editing the setup of the individual server.
 +
 
 +
== Logging In ==
 +
 
 +
Some server modules support logging in to the control panel directly from WHMCS. Click the appropriate button to do this.
 +
 
 +
== Sync Accounts ==
 +
 
 +
<div class="docs-alert-info">The '''Server Sync Tool''' replaced the '''[[cPanel/WHM Import]]''' tool in WHMCS 7.8.</div>
 +
 
 +
When you add a new server, it may already have accounts on it that you want to import to WHMCS. The '''Server Sync Tool''' can help you resolve the following issues:
 +
 
 +
* Accounts that exist on the remote system (typically a web server) but that do not exist within WHMCS.
 +
* Service records that are active within WHMCS but that do not exist on the remote system.
 +
* Service records that exist within WHMCS but have differing info to the remote system.
 +
 
 +
=== Performing a Sync ===
 +
 
 +
To perform a sync:
 +
 
 +
# Click '''Sync Accounts''' for the server you wish to analyse. WHMCS will fetch an up-to-date list of account records from the server. This may require a few seconds. Upon completion, an analysis summary report will display.[[File:Server_sync_analyse.png|400px]]
 +
# Review the displayed report. The report displays two columns containing the data retrieved from the remote system (left) and the service record matches in WHMCS (right).
 +
#* The system highlights differences in red and highlights exact matches in green.
 +
#* Use the ID column in the WHMCS service record to go to the manage service screen for those records and make manual edits.
 +
# To update services, check '''Import/Sync''' for the desired service. The type of record determines how the system updates the service (see below).
 +
# Click '''Continue'''. <br/>[[File:Server_sync_review.png|400px]]
 +
# If you want to make any changes, click '''Back'''.  Otherwise, click '''Continue'''. A summary of the sync process will display.
 +
 
 +
To view more information about the updated records and other changes, check the activity log at '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > [[System Logs]]''' or, prior to WHMCS 8.0, '''Utilities > Logs'''.
 +
 
 +
==== Sync Report ====
 +
 
 +
<div class="docs-alert-warning">
 +
Auto-imported services will be created under an existing client with a matching email address, or a newly created client where no existing match exists. Since most web server control panels do not track end customer details, we can usually import only an email address and other details must be populated manually. In cases where even an email address is not available, a placeholder email address of <tt>{domain}@example.com</tt> will be used for the client in WHMCS.
 +
</div>
 +
 
 +
===== Partial Match =====
 +
 
 +
Service record exists in WHMCS but there are some discrepancies in data.
 +
 
 +
Checking '''Import/Sync''' for a service like this will result in the service being modified to match the information returned from the remote system.  This can include updating any of the following: domain, primary IP, username, product, status and/or creation date.
 +
 
 +
===== Missing within WHMCS =====
 +
 
 +
This occurs when an account exists on the remote system, but no matching service record can be found within WHMCS.
 +
 
 +
Selecting '''Import/Sync''' for a record like this will result in a new service record being created. WHMCS will attempt to use an existing product if a match is found, otherwise it will create a new product also.
 +
 
 +
===== Missing on Remote System =====
 +
 
 +
This occurs when a service record exists within WHMCS but not on the remote system. You can resolve this using one of the following methods:
 +
 
 +
* To terminate the service in WHMCS, check '''Import/Sync'''. The system will set the service to '''Terminated''' within WHMCS.
 +
* To create the service on the server, don't check '''Import/Sync'''. Instead, go to the service, ensure the details are set correctly, and click '''Create''' to provision it again.
 +
 
 +
== Status Monitoring ==
 +
 
 +
<html><a href="http://www.youtube.com/watch?v=0w7YcalU078&hd=1" class="docs-video-tutorial"><em>Watch the video tutorial for this feature.</em><span> <img src="https://assets.whmcs.com/icons/youtube.png"> </span></a></html>
 +
 
 +
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.
 +
 
 +
To enable this, you must upload the <tt>status</tt> folder in the WHMCS ZIP file download to each of your servers. Then, enter the URL to that folder in the '''Server Status URL''' field. You can also leave the field blank, which disables monitoring for that server.
 +
 
 +
WHMCS disables '''PHP Info''' output by default for security reasons. To enable it, edit the <tt>index.php</tt> file and uncomment (remove the <tt>#</tt> character from) the line <tt>#phpinfo();</tt>.
  
PHP Info output is disabled by default for security reasons so if you would like to enable it, you simply need to uncomment the line "#phpinfo();" (remove the #) within the index.php file.
+
=== Customising Ports ===
  
===Customising the Ports===
+
The ports that the server status page checks can be customised by editing the <tt>/templates/*your active template*/serverstatus.tpl</tt> template file. You will need to modify two parts of the template:
The ports checked by the server status page can be customised by editing the '''/templates/*your active template*/serverstatus.tpl''' template file. There are two parts of the template which need modifying to achieve this:
 
  
Around line 44:
+
Near line 44:
  
 
<source lang="php">
 
<source lang="php">
Line 67: Line 149:
 
</source>
 
</source>
  
These are the column headings, they can be changed to describe the ports you will be monitoring.
+
These are the column headings. You can change them to describe the ports you will be monitoring.
  
Then around line 73:
+
Near line 73:
  
 
<source lang="php">
 
<source lang="php">
Line 77: Line 159:
 
</source>
 
</source>
  
Change the numbers (80, 21, 110 by defualt) to change, add or remove ports to be checked.
+
Change the numbers (80, 21, and 110 by default) to change, add, or remove ports to check.
 
 
==Deleting a Server==
 
*To delete a server, go to '''Setup > Servers''' and then click the red X icon on the same row as the server you wish to delete
 
*If it is allowed to be deleted you'll get a confirmation popup confirming you want to delete it and once you click Ok it will be removed
 
*You cannot delete a server while there are any accounts assigned to it. This includes terminated and cancelled accounts.
 
 
 
==Status==
 
Not to be confused with Status Monitoring above. Servers can have one of two statuses; enabled and disabled denoted by a green tick or grey cross respectively. During normal operations a server would be active, however should you decide to mothball an old server and disconnect it the status should be changed to disabled.
 
 
 
Disabling a server removes it from the daily usage statistics update (which could fail if a disconnected server was listed as active) and moves it to the bottom of all server dropdown menus.
 
 
 
To change the status of a server navigate to Setup > Servers and click the status icon to toggle to the other status (ie. Clicking the green tick icon of an active server would deactivate it).
 
 
 
==Server Groups==
 
  
Server groups allow you to configure servers into sets where products can then be assigned automatically based on your requirements & provisioning settings. For example you may want shared accounts on certain servers, and resellers on others, with accounts being distributed evenly between all the servers you have. Server groups makes this possible.
+
== Status ==
 
 
===Creating a Group===
 
 
 
#Begin by going to '''Setup > Products/Services > Servers'''
 
#Next click '''Create New Group''' under the Options heading
 
#On the screen that appears, enter a name for your group
 
#Next choose whether to assign new orders to the least full server '''or''' fill the default server until it reaches the number of accounts limit you've set for it and then move to the next least used.
 
#Finally, select the servers you want to assign to this group in the box on the left and click Add to move them to the box on the right which contains the servers for this group.<br />'''NOTE:''' If you only assign one server to a group select the ''Add to the least full server'' fill option.
 
#Then click Save Changes to complete the process
 
 
 
===Assigning Products to a Group===
 
  
#To assign a product to a group, begin by locating the product in the '''Products & Services''' configuration area, then click the edit icon for it
+
Status is not the same as Status Monitoring, above. Servers can have one of two statuses: enabled and disabled, denoted by a green check or grey X respectively. During normal operations, a server would be active. However, if you will no longer use an old server and disconnect it, change the status to disabled.
#Next click onto the '''Module Settings''' tab
 
#There you will see a dropdown labelled Server Group.
 
##By default this will be set to None in which case the product is assigned to the default server for that module.
 
##However, you can select a group there by choosing it from the dropdown and saving.
 
  
===Editing/Deleting a Group===
+
Disabling a server removes it from the daily usage statistics update (which could fail if a disconnected server was active) and moves it to the bottom of all server menus.
  
#When editing a group you get exactly the same interface & options as when you create one.
+
To change the status of a server, click the status icon to toggle to the other status. For example, click the green checkmark icon on an active server to deactivate it.
#Servers can be added or removed from a group at any time.
 
#The maximum number of accounts to assign to a server is set on a per server basis when editing the setup of the individual server
 

Latest revision as of 16:50, 29 June 2023

In WHMCS, server modules allow you to quickly enable and configure automation on many popular server control panels. You can add each of your servers in order to assign sales to them and perform other important tasks.

You can access this feature at Configuration () > System Settings > Servers or, prior to WHMCS 8.0, Setup > Products/Services > Servers.

Watch the video tutorial for this feature.  

Add a Server

You can add servers to WHMCS using either simple or advanced mode.

To add a new server to your WHMCS installation:

  1. Click Add New Server.
  2. Choose one of the following server configuration methods:
    • For Advanced mode, click Go to Advanced Mode. Advanced mode allows you to manually provide the full list of server details.
    • For Simple Mode, perform the following steps. Simple mode accesses your server to retrieve some or all server information from the server itself.
      1. Select a module from the Module menu. The settings below this change for the module you select.
      2. Enter your server's details.
      3. Click Test Connection to ensure that WHMCS can successfully connect to this server.
      4. If the test succeeded, the server configuration page will appear.
      5. If the test failed, check and update the details you entered and try again. To ignore the failure and continue, click Continue.
  3. Provide the desired server information. For more information, see the sections below.
  4. Click Test Connection to ensure that WHMCS can successfully connect to this server.
  5. Click Save Changes.

Server Settings

For each server, you can configure:

  • Name — Enter a unique name to identify this server.
  • Hostname — Enter the primary domain of the server. The system uses this to link to the server with certain modules.
  • IP Address — Enter the primary IP address of the server. The system uses this to connect to the server.
  • Assigned IP Addresses — Enter the other IP addresses for the server here. The system uses them in conjunction with Utilities > Domain Resolver to check which domains in WHMCS are pointing to your server.
  • Monthly Cost — Optionally enter the monthly server cost. The system uses this in reports to calculate profit.
  • Datacenter/NOC — Optionally, enter the datacenter for the server. The system only uses this to help you keep records of where servers are.
  • Maximum No. of Accounts — Enter the maximum number of accounts to add to the server. The system uses this to find the server's use percentage and determine when the default server is full. Once the selected server is full the default is updated so accounts can be provisioned on the next server with available space.
  • Primary/Secondary/Tertiary/Quaternary Nameservers — Enter the nameservers for this server (for example, ns1.example.com and ns2.example.com). The system uses them in the welcome email and when registering domains.
  • Primary/Secondary/Tertiary/Quaternary Nameserver IPs — Enter the IP addresses for each of the nameservers. The system may use this in emails.
  • Server Type, Username, Access Hash, and Password — Enter the root or reseller login details for your server. For cPanel & WHM servers, you can also enter a username and access hash.
  • Server Status URL — Enter the URL for the status folder. See the Status Monitoring section below.

If this is the only server for the selected module, click on the name and ensure it results in an asterisk (*) next to it. This ensures it is the default. The system will use it when any other non-specific configuration (like a server group) doesn't apply.

Deleting a Server

To delete a server, click the red X icon on the same row as the server you wish to delete. If the deletion succeeds, a message will appear confirming whether you want to delete it. Click OK to remove it.

You cannot delete a server with assigned accounts. This includes terminated and cancelled accounts.

Server Groups

Server groups allow you to configure servers into sets in which you can assign products automatically, based on your requirements and provisioning settings. For example, you may want shared accounts on certain servers and resellers on others, with accounts being distributed evenly between all the servers you have.

Creating a Group

To create a group:

  1. Click Create New Group under the Options heading.
  2. Enter a name for your group.
  3. Choose whether to assign new orders to the least-full server (based on the percentage of accounts available within the Maximum No. of Account value) or fill the default server until it reaches the limit for accounts, and then move to the next server.
  4. Select the servers you want to assign to this group in the box on the left.
  5. Click Add to move them to the box on the right, which contains the servers for this group. If you only assign one server to a group, select the Add to the least full server fill type.
  6. Click Save Changes to complete the process.

Assigning Products to a Group

You can assign products to groups when you edit them at Configuration () > System Settings > Products/Services or, prior to WHMCS 8.0, Setup > Products/Services > Products/Services in the Module Settings tab.

Editing/Deleting a Group

You will see the same interface and options when you edit a group as when you create one.

  • You can add or remove servers from a group at any time.
  • You can set the maximum number of accounts to assign to a server when editing the setup of the individual server.

Logging In

Some server modules support logging in to the control panel directly from WHMCS. Click the appropriate button to do this.

Sync Accounts

The Server Sync Tool replaced the cPanel/WHM Import tool in WHMCS 7.8.

When you add a new server, it may already have accounts on it that you want to import to WHMCS. The Server Sync Tool can help you resolve the following issues:

  • Accounts that exist on the remote system (typically a web server) but that do not exist within WHMCS.
  • Service records that are active within WHMCS but that do not exist on the remote system.
  • Service records that exist within WHMCS but have differing info to the remote system.

Performing a Sync

To perform a sync:

  1. Click Sync Accounts for the server you wish to analyse. WHMCS will fetch an up-to-date list of account records from the server. This may require a few seconds. Upon completion, an analysis summary report will display.Server sync analyse.png
  2. Review the displayed report. The report displays two columns containing the data retrieved from the remote system (left) and the service record matches in WHMCS (right).
    • The system highlights differences in red and highlights exact matches in green.
    • Use the ID column in the WHMCS service record to go to the manage service screen for those records and make manual edits.
  3. To update services, check Import/Sync for the desired service. The type of record determines how the system updates the service (see below).
  4. Click Continue.
    Server sync review.png
  5. If you want to make any changes, click Back. Otherwise, click Continue. A summary of the sync process will display.

To view more information about the updated records and other changes, check the activity log at Configuration () > System Logs or, prior to WHMCS 8.0, Utilities > Logs.

Sync Report

Auto-imported services will be created under an existing client with a matching email address, or a newly created client where no existing match exists. Since most web server control panels do not track end customer details, we can usually import only an email address and other details must be populated manually. In cases where even an email address is not available, a placeholder email address of {domain}@example.com will be used for the client in WHMCS.

Partial Match

Service record exists in WHMCS but there are some discrepancies in data.

Checking Import/Sync for a service like this will result in the service being modified to match the information returned from the remote system. This can include updating any of the following: domain, primary IP, username, product, status and/or creation date.

Missing within WHMCS

This occurs when an account exists on the remote system, but no matching service record can be found within WHMCS.

Selecting Import/Sync for a record like this will result in a new service record being created. WHMCS will attempt to use an existing product if a match is found, otherwise it will create a new product also.

Missing on Remote System

This occurs when a service record exists within WHMCS but not on the remote system. You can resolve this using one of the following methods:

  • To terminate the service in WHMCS, check Import/Sync. The system will set the service to Terminated within WHMCS.
  • To create the service on the server, don't check Import/Sync. Instead, go to the service, ensure the details are set correctly, and click Create to provision it again.

Status Monitoring

Watch the video tutorial for this feature.  

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.

To enable this, you must upload the status folder in the WHMCS ZIP file download to each of your servers. Then, enter the URL to that folder in the Server Status URL field. You can also leave the field blank, which disables monitoring for that server.

WHMCS disables PHP Info output by default for security reasons. To enable it, edit the index.php file and uncomment (remove the # character from) the line #phpinfo();.

Customising Ports

The ports that the server status page checks can be customised by editing the /templates/*your active template*/serverstatus.tpl template file. 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.

Status

Status is not the same as Status Monitoring, above. Servers can have one of two statuses: enabled and disabled, denoted by a green check or grey X respectively. During normal operations, a server would be active. However, if you will no longer use an old server and disconnect it, change the status to disabled.

Disabling a server removes it from the daily usage statistics update (which could fail if a disconnected server was active) and moves it to the bottom of all server menus.

To change the status of a server, click the status icon to toggle to the other status. For example, click the green checkmark icon on an active server to deactivate it.