Working with Streaming Databus

VMware Aria Operations for Networks Databus is a framework used to share the data stored in VMware Aria Operations for Networks with the other applications. You can share high volumes of data with low latency over the Databus, and the data will be delivered in near real-time.The data published over the Databus is divided into different message groups where a subscriber can subscribe to the message groups and receive the data over HTTP or HTTPs endpoints. The supported message groups are applications and problems.
Subscriber
A subscribe is an endpoint that registers with the Databus to receive the data from the message group.
Procedure
To subscribe to a message group, make a POST request. For example:
Request: POST https://operations-for-networks.example.com/api/ni/settings/databus/subscribers Content-type : application/json Accept : application/json Authorization : NetworkInsight {auth-token} Body: { "id": "9c488c91-692e-4992-a83f-ee33a0f9a6c6", "message_group": "problems", "url": "https://data-pipeline.vmware.com/operations-for-networks/events" } Response: { "id": "9c488c91-692e-4992-a83f-ee33a0f9a6c6", "message_group": "problems", "url": "https://data-pipeline.vmware.com/operations-for-networks/events" }
Use cases of the data received are:
  • Send alerts to: Slack, ServiceNow, PagerDuty, and any other supported platforms.
  • Based off alert Allow traffic by default firewall rule: Trigger an NSX firewall rule change that changes the default rule to deny.
  • Update CMDB based off application updates in VMware Aria Operations for Networks (flow-based app discovery).
  • Fix a VLAN trunk mismatch on 2 switch ports.
  • Disable alerts for vSphere hosts or NSX-T Transport nodes in maintenance mode.