code: def raise_alert_log_entry(self):
          
          if self.__class__.log_alerts:
              log_level = 'info'
              if self.state == 'DOWN':
                  log_level = 'error'
              if self.state == 'UNREACHABLE':
                  log_level = 'warning'
              brok = make_monitoring_log(
                  log_level, 'HOST ALERT: %s;%s;%s;%d;%s' % (
                      self.get_name(), self.state, self.state_type, self.attempt, self.output
                  )
              )
              self.broks.append(brok)
  
          if 'ALIGNAK_LOG_ALERTS' in os.environ:
              if os.environ['ALIGNAK_LOG_ALERTS'] == 'WARNING':
                  logger.warning('HOST ALERT: %s;%s;%s;%d;%s', self.get_name(), self.state,
                                 self.state_type, self.attempt, self.output)
              else:
                  logger.info('HOST ALERT: %s;%s;%s;%d;%s', self.get_name(), self.state,
                              self.state_type, self.attempt, self.output)
docs: Raise HOST ALERT entry
          Format is : "HOST ALERT: *get_name()*;*state*;*state_type*;*attempt*;*output*"
          Example : "HOST ALERT: server;DOWN;HARD;1;I don't know what to say..."
  
          :return: None