Developers API
enableHostHMLinux
Enables Linux health monitoring for the specified host.
See downloadLinuxHMAgent for details on how to download and install agent.php.
Note that due to an Apache limitation, this API method must be accessed via an HTTP POST to api.wormly.com. A GET request will fail.
Request Parameters
Parameter | Data Type | Description | Required | Default |
---|---|---|---|---|
hostid | integer | The HostID identifying the host on which to enable Linux Server Health Monitoring | Required | - |
agenturl | string | The URL through which agent.php can be reached. | Required | - |
Response Data
Response Variable | Data Type | Description |
---|---|---|
errorcode | integer | Returns an errorcode of 0 if call is successful. |