Get the number of problems detected by the system or the user

Description

Description Get the number of problems detected by the system or the user
Fonctionnement OK if the number of problems is lower or equal to the warning count WARNING if the number or problems is lower to the critical count CRITICAL if the number of problem is higher or equal to the critical count
API utilisée  
Autorité requise *USE

Command argument

Command name Number of arguments Arguments    
allJobHaveNoMsgW n * 2 + 1 Argument’s order Description Example
    Argument 1 Types of problems wanted 1
    Argument 2 Warning Threashold 2
  Repeat threashold for each type of problem wanted Argument 3 Critical Threashold 2
Sent metric open=1;;;2;4 ready=0;;2;3      
Sent output OK: There are 1 OPENED / 0 READY statys problems      

Configuration example

Macro name Macro value
CHECK workWithProblem
ARGS 1!2