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 NameUnitDescriptionAggregation Type
azure_network_virtualhubs_BgpPeerStatusBgpPeerStatusBgp Peer StatusBytesRefers to the status of the Border Gateway Protocol (BGP) peering relationship between the virtual hub and its connected network devices or endpoints. For example, 1 - Connected, 0 - Not connected.Maximum
azure_network_virtualhubs_CountOfRoutesAdvertisedToPeerCountOfRoutesAdvertisedToPeerCount Of Routes Advertised To PeerCountTotal number of routes advertised to peer.Maximum
azure_network_virtualhubs_CountOfRoutesLearnedFromPeerCountOfRoutesLearnedFromPeerCount Of Routes Learned From PeerCountTotal number of routes learned from peer.Maximum
azure_network_virtualhubs_VirtualHubDataProcessedVirtualHubDataProcessedData Processed by the Virtual Hub RouterBytesThe data that has been processed by the virtual hub router within a specific time period.Total
azure_network_virtualhubs_RoutingInfrastructureUnitsRoutingInfrastructureUnitsRouting Infrastructure UnitsCountTotal number of routing infrastructure units which represent the virtual hubs capacity.Maximum
azure_network_virtualhubs_SpokeVMUtilizationSpokeVMUtilizationSpoke VM UtilizationPercentThe percentage of deployed spoke VMs relative to the total number of spoke VMs that the hub's routing infrastructure can support.Maximum

External reference

Azure Virtual Hubs