NRPE ERROR On NagiosXI GUI (version mismatch)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
apteancloud
Posts: 47
Joined: Wed Sep 09, 2020 4:05 am

NRPE ERROR On NagiosXI GUI (version mismatch)

Post by apteancloud »

Hi Guys,

We are migrating servers from Nagios core to NagiosXI. And on windows2008 server, for one of the check service below is the output in NagiosXI CLI:

Code: Select all

[root@nagiosxiawsdev libexec]# ./check_nrpe -H <IP> -2 -c CheckFile2 -a max-dir-depth=0 path=\\\\PalsINTSQL001\\iERP85_Production pattern=IntuitiveERP_PalsINTSQL001_iERP85_Production.dbk filter+size=gt:10k MinWarn=0 MinCrit=0
IntuitiveERP_PALSINTSQL001_iERP85_Production.dbk|'found files'=1;0;0;

Code: Select all

[root@nagiosxiawsdev libexec]# ./check_nrpe -2 -H <IP>
I (0.3.8.76 2010-05-27) seem to be doing fine...
But, I'm getting an error in NagiosXI GUI as shown below:

O/P with Private IP

Code: Select all

[nagios@nagiosxiawsdev ~]$ /usr/local/nagios/libexec/check_nrpe -H <Private IP> -2 -t 30 -c CheckFile2 -a max-dir-depth=0 path=\\\\PalsINTSQL001\\iERP85_Production pattern=IntuitiveERP_PalsINTSQL001_iERP85_Production.dbk filter+size=gt:10k MinWarn=0 MinCrit=0
Check contains error. Check log for details (or enable show_errors in nsc.ini)
O/P with Public IP

Code: Select all

[nagios@nagiosxiawsdev ~]$ /usr/local/nagios/libexec/check_nrpe -H <Public IP> -2 -t 30 -c CheckFile2 -a max-dir-depth=0 path=\\\\PalsINTSQL001\\iERP85_Production pattern=IntuitiveERP_PalsINTSQL001_iERP85_Production.dbk filter+size=gt:10k MinWarn=0 MinCrit=0
CHECK_NRPE: Receive header underflow - only 0 bytes received (4 expected).
And as checked-in logs, we got the below errors:

Code: Select all

localhost check_nrpe: Remote <Private IP> does not support version 3/4 packets
localhost check_nrpe: Remote <pub IP> does not support version 3/4 packets
On NagiosXI Machine, i have installed nrpe with passing
./configure --enable-command-args
and in nrpe.cfg modified
dont_blame_nrpe=1
And on remote machine in file NSC.INI, I have made the below changes :
[NRPE]
allow_arguments=1
payload length=8192

Could you guys Please suggest your inputs on this
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NRPE ERROR On NagiosXI GUI (version mismatch)

Post by benjaminsmith »

Hi,

Welcome to the Nagios Customer Forum!

It looks like it's working from the command line but not from the GUI in Nagios XI, is that a correct statement? The Run Check Command from the GUI is pretty restrictive due to tighter security requirements.

When you apply configuration are you getting valid check results for this service, go to Home > Details > Service Status (search for the service).

If that's not the case, can you post a screenshot of how you have the arguments configured for this service check in the CCM, Configure > CCM > Monitoring > Services
service-settings.png
Regards,
Benjamin
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked