code: def load_modules_alignak_configuration(self):
          alignak_cfg = {}
          for instance in self.modules_manager.instances:
              if not hasattr(instance, 'get_alignak_configuration'):
                  return
              try:
                  logger.info("Getting Alignak global configuration from module '%s'", instance.name)
                  cfg = instance.get_alignak_configuration()
                  alignak_cfg.update(cfg)
              except Exception as exp:
                  logger.error("Module %s get_alignak_configuration raised an exception %s. "
                               "Log and continue to run", instance.name, str(exp))
                  output = io.StringIO()
                  traceback.print_exc(file=output)
                  logger.error("Back trace of this remove: %s", output.getvalue())
                  output.close()
                  continue
          params = []
          if alignak_cfg:
              logger.info("Got Alignak global configuration:")
              for key, value in sorted(alignak_cfg.items()):
                  logger.info("- %s = %s", key, value)
                  if key.startswith('_'):
                      key = '$' + key[1:].upper() + '$'
                  if value is None:
                      continue
                  if value == 'None':
                      continue
                  if value == '':
                      continue
                  params.append("%s=%s" % (key, value))
              self.conf.load_params(params)