When configuring Webhook notification with parameter "Source_link": "${LINK_TO_ALERT}" by default will display the IP address of VMware Aria Operations Master node or VIP instead of the hostname
search cancel

When configuring Webhook notification with parameter "Source_link": "${LINK_TO_ALERT}" by default will display the IP address of VMware Aria Operations Master node or VIP instead of the hostname

book

Article ID: 370239

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Using Webhook notifications with the "Source_link" parameter value set to "${LINK_TO_ALERT}" in the payload template, the alert notifications display the IP address of the VMware Aria Operations Master node or VIP rather than the hostname. This article describes how to configure alert notifications to display the hostname instead of the IP address

 

For example,

Sample payload template configuration

{
    "event_id": "${ALERT_ID}",
    "severity": "2",
    "hostname": "${RESOURCE_NAME}",
    "ci_name": "${RESOURCE_NAME}",
    "ci_type": "VMware Virtual Machine",
    "inc_assignment_group": ",Assignment-Group-Name",
    "inc_priority": "P2",
    "inc_symptom": "Error Message",
    "source_link": "${LINK_TO_ALERT}",
    "inc_shortdescription": "${RESOURCE_NAME} has issues",
    "message": "Error message",
    "description": "Alert on ${RESOURCE_NAME} for Symptoms"
}

Sample Alert Output Description

{    "eventid": "Test-Alert-UUID",    "severity": "2",    "hostname": "<FQDN-of-the-Affected-Object>",    "ci_name": " <FQDN-of-the-Affected-Object >",    "ci_type": "<Type of the Affected Object >",    "message": "Error message",    "message_type": "New",    "description": "Alert on <FQDN-of-the-Affected-Object> ",    "inc_assignment_group": "<Assignment Group of the affected object >",    "inc_priority": "P2",    "inc_symptom": "<Alert on FQDN-of-the-Affected-Object issues with Performance for Virtualization/Hypervisor>",    "business_service": "Business service Info",    "service_offering": "service offering info",    "Source_link": https:// “<Aria-Operation-MasterNode-IP Address > or < Virtual IP Address of the Aria Operations >”/ui/index.action#environment/object-browser/hierarchy/ ########-####-####-####-############/alerts-and-symptoms/alerts/Test-Alert-UUID,    "ipcenter": "no"}

 

Environment

VMware Aria Operations (formerly known as vRealize Operations) 8.x

Resolution

To resolve this issue, Set the System access URL Value to  https:// <Aria-Operation-Master-Node-FQDN > or < VIP FQDN of the Aria Operations > in the Aria Operations Global Settings

Procedure

1.From the left menu, click Administration, and then click the Global Settings tile
2. Choose System Settings, then select “System access URL.” Set the URL  Value to https:// <Aria-Operation-Master-Node-FQDN > or < VIP FQDN of the Aria Operations > and click Save to finish the editing process

 

Note: You can specify the URL that is used to access the system when a load balancer is used. The URL that you enter here is displayed in the outbound notifications and while sharing dashboards