parameters: (self)
docstring: Start firewall monitoring.
  
          Args:
              None
  
          Returns:
              None
  
          Raises:
              None
docstring_summary: Start firewall monitoring.
docstring_tokens: Start firewall monitoring .
function: def startMonitoring(self):
          """
          Start firewall monitoring.
  
          Args:
              None
  
          Returns:
              None
  
          Raises:
              None
          """
          current_time, error = utils.excecute_command('date')
  
          if error:
              self.logger.log(
                  "Time error: " + str(error),
                  logtype="error"
              )
          if current_time:
              self.logger.log(
                  "Time: " + str(current_time),
                  logtype="info"
              )
  
          os_details, error = utils.excecute_command('uname -a')
  
          if error:
              self.logger.log(
                      "OS Detail error: " + str(error),
                      logtype="error"
              )
  
          if os_details:
              self.logger.log(
                      "OS Details: " + str(os_details),
                      logtype="info"
              )
  
          while True:
  
              # Wait for the required sleep seconds
              time.sleep(self._SLEEP)
  
              # Monitor process
              self.check_process()
              # Monitor network usage
              self.network_usage()
              # Monitor open ports
              self.check_open_ports()
              # Monitor running services
              self.check_services()
function_tokens: def startMonitoring ( self ) : current_time , error = utils . excecute_command ( 'date' ) if error : self . logger . log ( "Time error: " + str ( error ) , logtype = "error" ) if current_time : self . logger . log ( "Time: " + str ( current_time ) , logtype = "info" ) os_details , error = utils . excecute_command ( 'uname -a' ) if error : self . logger . log ( "OS Detail error: " + str ( error ) , logtype = "error" ) if os_details : self . logger . log ( "OS Details: " + str ( os_details ) , logtype = "info" ) while True : # Wait for the required sleep seconds time . sleep ( self . _SLEEP ) # Monitor process self . check_process ( ) # Monitor network usage self . network_usage ( ) # Monitor open ports self . check_open_ports ( ) # Monitor running services self . check_services ( )