code: def get_alert(self, nbprocess=0, countmin=None, countmax=None, header="", log=False):
          
          if nbprocess is None:
              return 'OK'
          if countmin is None:
              countmin = nbprocess
          if countmax is None:
              countmax = nbprocess
          if nbprocess > 0:
              if int(countmin) <= int(nbprocess) <= int(countmax):
                  return 'OK'
              else:
                  return 'WARNING'
          else:
              if int(countmin) == 0:
                  return 'OK'
              else:
                  return 'CRITICAL'
docs: Return the alert status relative to the process number.