How to configure Health Monitoring to use another port for sending alerts

Document ID : KB000009741
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

Health Monitoring Agents and Alert Collector are using port TCP 80 (http) or port TCP 443 (https) for the sending of alerts. How to configure them to use another port ?

Instructions:

This solution could be applied for http or https.

 

Sending Alerts from Health Monitoring Agent to Alert Collector :

1- On machine with Alert Collector, open "Internet Information Services (IIS) Manager".

Expand the server name/Sites and right click on "Default Web Site". Then select "Edit Bindings..." in popup menu :

 

1.jpg

 

Click Add button and add a site binding for http (or https) with the new port. Example 100 :

2.jpg

3.jpg

 

Then click Close button and restart "Default Web Site"

4.jpg

 

 

2- In DSM Explorer, unseal the configuration policy applied on the machines for Health Monitoring settings.

Go under DSM/Web Services/client/Health Monitoring.

And put ServerName:Port in "Alert Collector address"

Example : JY-PC2:100

 

 

5.jpg

 

3- Seal the policy. Health Monitoring agents will send the alerts using chosen port (TCP 100 in this example).

 

 

 

Forward Alerts from Alert Collector to DOMAIN ITCM :

1- Do the same step 1 (see above) on Domain Manager in order to add the chosen port in IIS.

2- On Alert Collector server, execute following command to check the server configured for forward alerts :

ccnfcmda -cmd GetParameterValue -ps itrm/healthmonitoring/alertcollector/forwardalerts -pn server_address

 

7.jpg

 

      Execute this command in order to add the port number 

ccnfcmda -cmd SetParameterValue -ps itrm/healthmonitoring/alertcollector/forwardalerts -pn server_address -v <server_name:port>

 

 

8.jpg

 

Remark :

This parameter is locally Managed in the configuration policy but it could be centrally managed

It can be found under Health Monitoring/Alert Collector/Alert Forwarding :

 

10.jpg

 

 

 3- Restart AlertCollector on the server :

alertcollector stop

alertcollecter start