Page 1 of 1

Does version 2 forcing work on nrpe 4

Posted: Fri Apr 09, 2021 12:50 am
by IkaIka
Does version 2 forcing work on nrpe 4 as it did on nrpe 3?

When I have nrpe version 3 on the nagiosa server, and nrpe 4 on client server can I expect problems?

Re: Does version 2 forcing work on nrpe 4

Posted: Fri Apr 09, 2021 1:24 pm
by vtrac
Hi,
Yes, I think it should work.
However, I would recommend that you upgrade NRPE so that they all match the same version.

I tested by forcing the "-2" and "-3" option below, all seem fine.

[root@vt-nagiosxi-62 libexec]# ./check_nrpe -H 192.168.23.63 -c check_load -a "-w 15,10,5 -c 30,25,20"

Code: Select all

OK - load average: 0.03, 0.04, 0.05|load1=0.030;15.000;30.000;0; load5=0.040;10.000;25.000;0; load15=0.050;5.000;20.000;0;
[root@vt-nagiosxi-62 libexec]# ./check_nrpe -2-H 192.168.23.63 -c check_load -a "-w 15,10,5 -c 30,25,20"

Code: Select all

OK - load average: 0.02, 0.03, 0.05|load1=0.020;15.000;30.000;0; load5=0.030;10.000;25.000;0; load15=0.050;5.000;20.000;0;
[root@vt-nagiosxi-62 libexec]# ./check_nrpe -3 -H 192.168.23.63 -c check_load -a "-w 15,10,5 -c 30,25,20"

Code: Select all

OK - load average: 0.02, 0.03, 0.05|load1=0.020;15.000;30.000;0; load5=0.030;10.000;25.000;0; load15=0.050;5.000;20.000;0;

Best Regards,
Vinh