Failed to validate filter see log for details: Critical expression is not valid


#1

Hi All,

Any one help me on this. syntax : check_eventlog ‘scan-range=-24h’ ‘crit=problem_count<=0’ ‘filter=id=12290’ ‘ok=problem_count>0’ ‘warn=none’

Output :

Failed to validate filter see log for details: Critical expression is not valid


#2

Which version do you have?

check_eventlog "scan-range=-24h" "crit=problem_count<=0" "filter=id=12290" "ok=problem_count>0" "warn=none"
L        cli OK: CRITICAL: No entries found
L        cli  Performance data: 'problem_count'=0;0;0

#3

Thanks for update… NSClient version: I (0.5.0.65 2016-11-13)