Create an API endpoint/option to run the 'test connection' module function on a configured server in WHMCS. Our personal usecase for this would be to monitor servers that may become unreachable from WHMCS.
You can create a custom API endpoint in WHMCS by bootstrapping the system, retrieving server information from the database, and calling the TestConnection module function via WHMCS\Module\Server, then returning the results in JSON for external monitoring. https://brush-jjaemu.io
1 Comment
Login to post a comment.