Configure the websocket server on MID Servers to enable
connections from agents to the MID Server. You can configure only one
websocket server per MID Server.
Procedure
-
Navigate to .
-
Select the relevant MID Server name.
-
In the Related Links section, click Setup ACC
Listener.
The
Agent Client Collector Setup dialog box appears.
-
Enter the MID web server port (8800) in the displayed field.
Note: You can change the default port, 8800, as needed.
-
Click OK.
A confirmation message with the URL for the agent configuration file appears.
The web server and websocket extension are configured for the MID Server. To verify that the configuration is working, you must navigate to the following menu options:
-
Verify the validity of the websocket, using curl:
-
Enter the following command into a cmd or terminal window:
curl -Lk -H "Authorization: Key <API_KEY>"
https://<mid_server_address>:<port>/api/mid/mon
-
Verify that you receive a valid JSON response (and not an error
message), such as the following:
Successful installation JSON message:
{
"connectedAgentsNum" : 1
}