Does version 2 forcing work on nrpe 4

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
IkaIka
Posts: 34
Joined: Fri Dec 21, 2018 4:37 am

Does version 2 forcing work on nrpe 4

Post 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?
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: Does version 2 forcing work on nrpe 4

Post 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
Locked