def METHOD_NAME(self, _):
    # Handle service check (availablity / reachability)
    if not self.pingable(self.instance.get('hostname')):
        self.service_check('nn_sdwan.sdwan_controller.online', self.CRITICAL, message='Host unreachable.')
        return
    try:
        self.vmanage_api.get_device_info()
        # vManage is online and responding
        self.service_check('nn_sdwan.sdwan_controller.online', self.OK)
    except Exception:
        self.service_check(
            'nn_sdwan.sdwan_controller.online', self.WARNING, message='vManage API is not responding.'
        )
        return
    # Get metrics
    for method in (
        self.get_control_status,
        self.get_top_application_stats,
        self.get_application_aware_routing,
        self.get_connection_summary_stats,
        self.get_certificate_summary,
        self.get_reboot_count,
        self.get_vmanage_count,
        self.get_site_health,
        self.get_transport_interface,
        self.get_wan_edge_health,
        self.get_wan_edge_inventory,
    ):
        try:
            method()
        except Exception as e:
            self.log.exception(e)