CMD

CMD

class CMD(id_unique, name, cmd_type, line)

This class represents a command

Parameters
  • id_unique (int) – ID of the command

  • name (str) – Name of the command

  • cmd_type (CMDType) – Type of the command

  • line (str) – Command line arguments for the command

CMDType

class CMDType

This class represents the type of a command

CHECK = 'check'
DISCOVERY = 'discovery'
MISC = 'misc'
NOTIFY = 'notify'

CMDParam

class CMDParam

This class represents a parameter for a command

COMMENT = 'comment'
EXAMPLE = 'example'
GRAPH = 'graph'
LINE = 'line'
NAME = 'name'
TYPE = 'type'