def METHOD_NAME(self, monitor_config, input_dir=''):
    """
    This functions defines that convert health monitor
    :param ns_config: Dict of netscalar commands
    :param avi_config: Dict of AVI
    :param input_dir: Input dir for command_code
    :param tenant_ref: Tenant
    :param cloud_ref: Cloud ref
    :return: None
    """
    netscalar_command = 'add lb monitor'
    LOG.debug("Conversion started for Health Monitors")
    supported_types = ['PING', 'TCP', 'HTTP', 'DNS', 'USER', 'HTTP-ECV']
    ns_monitor_complete_command = \
        ns_util.get_netscalar_full_command(netscalar_command,
                                           monitor_config)
    ns_monitor_type = monitor_config['attrs'][1]
    name = monitor_config['attrs'][0]
    if ns_monitor_type not in supported_types:
        # Skipped health monitor if type is not supported
        ns_util.add_status_row(monitor_config['line_no'], netscalar_command,
                               name, ns_monitor_complete_command,
                               STATUS_EXTERNAL_MONITOR)
        LOG.warning('Monitor type %s not supported skipped:%s' %
                 (ns_monitor_type, name))
        return
    gslb_monitor = self.convert_monitor(monitor_config, input_dir,
                                       netscalar_command,
                                       ns_monitor_complete_command)
    if not gslb_monitor:
        return
    # Add summery of this lb vs in CSV/report
    conv_status = ns_util.get_conv_status(
        monitor_config, self.monitor_skip_attrs, self.monitor_na_attrs,
        self.monitor_indirect_list,
        ignore_for_val=self.monitor_ignore_vals)
    ns_util.add_conv_status(monitor_config['line_no'], netscalar_command,
                            name, ns_monitor_complete_command,
                            conv_status, gslb_monitor)
    # avi_config['HealthMonitor'].append(avi_monitor)
    LOG.debug("Health monitor conversion completed : %s" % name)
    return gslb_monitor