code: def manage_signal(self, sig, frame):  # pylint: disable=unused-argument
          
          logger.info("received a signal: %s", SIGNALS_TO_NAMES_DICT[sig])
          if sig == signal.SIGUSR1:  # if USR1, ask a memory dump
              self.need_dump_environment = True
          elif sig == signal.SIGUSR2:  # if USR2, ask objects dump
              self.need_objects_dump = True
          elif sig == signal.SIGHUP:  # if HUP, reload the monitoring configuration
              self.need_config_reload = True
          else:  # Ok, really ask us to die :)
              logger.info("request to stop the daemon")
              self.interrupted = True
docs: Manage signals caught by the daemon
          signal.SIGUSR1 : dump_environment
          signal.SIGUSR2 : dump_object (nothing)
          signal.SIGTERM, signal.SIGINT : terminate process
  
          :param sig: signal caught by daemon
          :type sig: str
          :param frame: current stack frame
          :type frame:
          :return: None