A virtual hub refers to a Microsoft-managed virtual network that serves as a central point for connectivity and networking services. Within the virtual hub, Microsoft provides various service endpoints to facilitate connectivity. From your on-premises network (vpnsite), you can connect to a VPN gateway inside the virtual hub, connect ExpressRoute circuits to a virtual hub, or even connect mobile users to a point-to-site gateway in the virtual hub.

The virtual hub serves as the central component of your network infrastructure within a specific region in Azure. Multiple virtual hubs can be created within the same region, allowing for the segmentation and isolation of network resources based on organizational requirements.

Use OpsRamp Azure public cloud integration to discover and collect metrics against Azure Virtual Hubs.

Setup

To set up the Azure integration and discover the Virtual Hubs resources, do the following:

  1. Create an Azure Integration if not available in your installed integrations. For more information on how to install the Azure Integration, refer to Install Azure integration.

  2. Create a discovery profile.

  3. Select Azure Virtual Hubs under the Filter Criteria on the Edit Discovery Profile page.

  4. Save the discovery profile to make it available in the list of Discovery Profiles.

  5. Scan to discover the resources at any time independent of the predefined schedule.

  6. Once the scan is completed, you can view the Azure Virtual Hubs resources under Infrastructure > Resources > Microsoft Azure category.

  7. Create a template with collector type Azure and applicable for Azure Virtual Hubs. See Create a Template for more information on how to create a template.

  8. Refer to Assign a Template on how to assign a template to a resource.

  9. Click the Metrics tab to view the monitoring data of Azure Virtual Hubs.

Event support

OpsRamp supports Azure events for Azure Virtual Hubs. Configure Azure Events in OpsRamp Azure integration discovery profile. See Process Azure Events for more information on how to configure Azure events.

Supported metrics

OpsRamp MetricAzure MetricMetric Display NameUnitAggregation TypeDescription
azure_network_virtualhubs_BgpPeerStatusBgpPeerStatusBgp Peer StatusCountMaximum1 - Connected, 0 - Not connected
azure_network_virtualhubs_CountOfRoutesAdvertisedToPeerCountOfRoutesAdvertisedToPeerCount Of Routes Advertised To PeerCountMaximumTotal number of routes advertised to peer
azure_network_virtualhubs_CountOfRoutesLearnedFromPeerCountOfRoutesLearnedFromPeerCount Of Routes Learned From PeerCountMaximumTotal number of routes learned from peer
azure_network_virtualhubs_RouteServiceActiveFlowsRouteServiceActiveFlowsNumber of Active Flows in the Virtual Hub RouterCountAverageData on how many flows traverse the virtual hub router in a given time period
azure_network_virtualhubs_RouteServiceFlowsCreationRateRouteServiceFlowsCreationRateMax Flows Created Per SecondCountPerSecondMaximumMaximum Number of Flows Created Per Second in the Virtual Hub Router
azure_network_virtualhubs_RoutingInfrastructureUnitsRoutingInfrastructureUnitsRouting Infrastructure UnitsCountMaximumTotal number of routing infrastructure units, which represent the virtual hub's capacity
azure_network_virtualhubs_SpokeVMUtilizationSpokeVMUtilizationSpoke VM UtilizationPercentMaximumNumber of deployed spoke VMs as a percentage of the total number of spoke VMs that the hub's routing infrastructure units can support
azure_network_virtualhubs_VirtualHubDataProcessedVirtualHubDataProcessedData Processed by the Virtual Hub RouterBytesTotalData on how much traffic traverses the virtual hub router in a given time period. Only the following flows use the virtual hub router: VNet to VNet (same hub and interhub) and branch to VNet (interhub). If a virtual hub is secured with routing intent, then these flows traverse the firewall instead of the hub router

External reference

Azure Virtual Hubs