'Handle multiple process managers and watch over all of them.
:param config: oslo config object with the agent configuration.
:type config: oslo_config.ConfigOpts
:param resource_type: can be dhcp, router, load_balancer, etc.
:type resource_type: str'

def __init__(self, config, resource_type):

    self._config = config
    self._resource_type = resource_type
    self._monitored_processes = {}
    if self._config.AGENT.check_child_processes_interval:
        self._spawn_checking_thread()
