Developers API

downloadLinuxHMAgent

Downloads the Wormly Health Monitoring agent.php for Linux platforms.

See enableHostHMLinux for details on how to enable health monitoring once the agent is installed.

Request Parameters

Parameter Data Type Description Required Default
hostid integer The HostID identifying the host on which you will install agent.php Required -

Response Data

Response Variable Data Type Description
errorcode integer Returns an errorcode of 0 if call is successful.
agentphp string The complete contents of the agent.php script to be installed
Try it out with the API Explorer:

Your API Key

API command to be called

Desired response format

The HostID identifying the host on which you will install agent.php (integer)