Configuring Webhooks¶
The Webhooks feature is enabled by default. However, you must manually activate the webhooks service for all connectors in your environment.
In theory, it is possible to have the webhooks service active on some connectors only. However, because such an environment can have unpredictable results, it is not recommended.
Info
In a future release, a push configuration to enable the webhooks service will be available.
Enabling the Webhooks Service¶
-
SSH into the Connector.
-
Run the following command:
sudo /usr/local/bin/anyware-connector configure --enable-webhook=true
-
Do this for all the connectors in your deployment.
Checking the Status of the Webhooks Services¶
The status for the webhooks services on all connectors can be viewed simultaneously. However, the webhooks service status appears in the connector's health report only if the service is activated.
Info
It might take a few seconds for the health report of the connector to update after enabling the webhooks service.
To check the status of the webhooks service:
-
Do one of the following:
-
Open the health report of the connector, and look for "Webhooks" under Connector Capabilities:
-
Run the following command command locally on the connector:
sudo /usr/local/bin/anyware-connector diagnose --health
-
Info
The health status information of the connector will be listed, which will include the status of the webhook service. Older versions of Anyware Connector will not display the webhook service status.