Many NRPE client checks do not work on REDHAT Linux

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Many NRPE client checks do not work on REDHAT Linux

Post by dlukinski »

This is a continuation of the last year topic about NRPE (one of mine)

Given: stock NAGIOS XI 5.2.3 appliance + stock Linux NRPE agent from Nagios assets

Upon install of the agent with or w/o pre-reqs (like those required for SuSe) results are always the same for multiple servers we had attempted.
Please review JPG attached (checks that do not work) and CFG files from the same host after NRPE agent install

Please help with finding best way to fix this and automate NRPE process more or less (by supplying updated CFG files after install?)

Thank you
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Many NRPE client checks do not work on REDHAT Linux

Post by rkennedy »

Can you try to execute one of the failing commands over the CLI from the Nagios machine, and let us know the result? This should give us a bit more information as to what's going on.

On the client machine, please run a tail -n 500 /var/log/messages and post the output?
Former Nagios Employee
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Many NRPE client checks do not work on REDHAT Linux

Post by rajasegar »

Looks familiar.

You might be missing the glibc.x86 library.

Run the plugin manually from the server to see the error message.
Then ldd the plugin (if applicable) to see if there is any missing dependencies.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Many NRPE client checks do not work on REDHAT Linux

Post by dlukinski »

rajasegar wrote:Looks familiar.

You might be missing the glibc.x86 library.

Run the plugin manually from the server to see the error message.
Then ldd the plugin (if applicable) to see if there is any missing dependencies.

Could you help with listing what has to run (we have no access to these servers, everything done by the vendor)
- need some level of detail in the instruction to forward

Please
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Many NRPE client checks do not work on REDHAT Linux

Post by rkennedy »

rkennedy wrote:Can you try to execute one of the failing commands over the CLI from the Nagios machine, and let us know the result? This should give us a bit more information as to what's going on.

On the client machine, please run a tail -n 500 /var/log/messages and post the output?
Can you please run the command over the CLI as requested above, and post the log for your /var/log/messages? We need more information to troubleshoot this.
Former Nagios Employee
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Many NRPE client checks do not work on REDHAT Linux

Post by rajasegar »

dlukinski wrote:
rajasegar wrote:Looks familiar.

You might be missing the glibc.x86 library.

Run the plugin manually from the server to see the error message.
Then ldd the plugin (if applicable) to see if there is any missing dependencies.

Could you help with listing what has to run (we have no access to these servers, everything done by the vendor)
- need some level of detail in the instruction to forward

Please
You need access to the server, or if you enabled debug the system log /var/log/messages.
Not sure exactly what plugin you used, so you need to look at nrpe.cfg and trigger the command manually in the server.

Assuming you are using check_load you can try this in the client server to see if there is any missing dependencies.
If there is any missing you can see it.

It could be a number of other things also.

Code: Select all

[nagios@nagiosprodxi1 libexec]$ ldd check_load
        linux-vdso.so.1 =>  (0x00007fff3d3fc000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00000034c1a00000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00000034c1200000)
        libc.so.6 => /lib64/libc.so.6 (0x00000034c1600000)
        /lib64/ld-linux-x86-64.so.2 (0x00000034c0e00000)
[nagios@nagiosprodxi1 libexec]$

5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Many NRPE client checks do not work on REDHAT Linux

Post by rkennedy »

Thanks @rajasegar. @dlukinski - let us know when you get a chance to look at the previous responses.
Former Nagios Employee
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Many NRPE client checks do not work on REDHAT Linux

Post by dlukinski »

rkennedy wrote:Thanks @rajasegar. @dlukinski - let us know when you get a chance to look at the previous responses.
Would it make sense to run ldd check_load if test versions of SuSe & CentOS (not Redhat unfortunately) work well if/when installed by us instead of trying to deal with servers managed by the vendor?

Example:

SuSe 11 SP3 or CentOS 6.x XI NRPE monitoring would work when I install and patch it.
When we follow same process (plus pre-reqs plus 2 x glibc updates on vendor-managed Linux, we get CPU, Memory and Open files checks in "unknown" state

-----------------------------------------------------
I'll provide RedHat results too in coming days
-----------------------------------------------------
Actually please close this thread, I am to open up new one
- latest results show same problems with RedHat ans SuSe in our case
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Many NRPE client checks do not work on REDHAT Linux

Post by rkennedy »

Closing this thread out as requested, we'll continue in your new thread.
Former Nagios Employee
Locked