nsca.check.form nsca.check

The method must return a tuple (RC, MESSAGE) where RC is an integer:

  • 0: OK
  • 1: WARNING
  • 2: CRITICAL
  • 3: UNKNOWN

Any other RC value will be treated as CRITICAL.

E.g. (1, u"3 mails not sent")

nsca.check.tree nsca.check Checks ir.actions.act_window nsca.check form ['|', ('active', '=', True), ('active', '=', False)]