Page 1 of 1

Nagios 5.7.4 - check_nrpe problem

Posted: Thu Nov 12, 2020 7:30 am
by Support_Talea
HI,

I have a problem that I don't understand after updating NagiosXI from version 5.7.1 to 5.7.4.

With the command check_nrpe via NSClient ++ (all versions) from the graphical interface the system logs this:

PROCESS COMMAND: CMD = 1132, DATA = / usr / local / nagios / libexec / check_nrpe -t 60 -H XXXX -c check_drivesize -a 'drive = C:' 'warning = free <20G' 'critical = free <15G' show-all 'perf-config = * (unit: G)' detail-syntax = '{$ {drive_or_name} $ {free} free / $ {used} used / $ {size} total}' top-syntax = '$ {status}: $ {problem_list} '

CMDLINE = / usr / local / nagios / libexec / check_nrpe -t 60 -H XXXX -c check_drivesize -a 'drive = C:' 'warning = free \ <20G' 'critical = free \ <15G' show-all 'perf -config = \ * \ (unit: G \) 'detail-syntax =' \ {\ $ \ {drive_or_name \} \ $ \ {free \} free / \ $ \ {used \} used / \ $ \ {size \} total \} 'top-syntax =' \ $ \ {status \}: \ $ \ {problem_list \} '
OUTPUT = CHECK_NRPE: Invalid packet version received from server.
Failed to validate filter see log for details: Warning expression is not valid: free \ <20G

Puts \.

Everything works from the command line.

Do you also encounter this problem?

Thanks
-f

Re: Nagios 5.7.4 - check_nrpe problem

Posted: Thu Nov 12, 2020 10:41 am
by Support_Talea
HI,


I add that even with the new appliance, in version 5.7.3 through check_nrpe and check_ncpa.py the same error remains.

PROCESS COMMAND: CMD = 1132, DATA = / usr / local / nagios / libexec / check_ncpa.py -H XXXX -t 'POPOPOO' -P 5693 -M "disk / logical / C: | / used_percent" --warning 90 --critical 95

CMDLINE = / usr / local / nagios / libexec / check_ncpa.py -H X.X.X.X -t 'POPOPOO' -P 5693 -M "disk / logical / C: \\\ | / used_percent" --warning 90 --critical 95
OUTPUT = UNKNOWN: The node (C: \\ /) requested does not exist.

Understand this error only by starting the controls from the web page. It works as a shell.