Date: Fri, 29 Mar 2024 02:43:01 +0100 (CET) Message-ID: <1212864279.5731.1711676581106@documentation-backend.dpl.deploymentcode.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_5730_498125505.1711676581106" ------=_Part_5730_498125505.1711676581106 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The module automatically displays network graphs when you add a = switch in NOC-PS and assign the ports to the corresponding servers. If you = don't have your own switch, but your data center provides an API for queryi= ng bandwidth usage, you can use the "nocpsforwhmcs_customBandwidthGraph" fu= nction to query the data and create a graph.
This function refers exclusively to the output of the network graphs. To= measure the bandwidth consumption as well, use the following function:&nbs= p;Externa= l Bandwidth Collection Function
The function can be activated via customconfig.php, which can be found i= n the directory "/modules/servers/ded= icated/"
/modules/servers/dedicated/
Adjust the code accordingly. The functi= on must return either a link to an image (png/jpg/svg) or a base64 encoded = image.