nrpe 3.1.0 libc issue

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
emjga
Posts: 8
Joined: Wed Mar 06, 2013 1:42 am

nrpe 3.1.0 libc issue

Post by emjga »

Folks

Was upgrading from NRPE 2.12 to 3.1.0
Most of the plugins seem to work fine however one kept on dying on the following

kernel: nrpe[19674] general protection ip:382a847946 sp:7ffc6da7d960 error:0 in libc-2.12.so[382a800000+18a000]

check_linux_stats.pl

If I run check_linux_stats on the machine it self , it worked fine but using nrpe the plugin would die with the above error.
Reverting back to NRPE 2.12 the above plugin works fine.

OS redHat 6.8

Any idea's
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: nrpe 3.1.0 libc issue

Post by ssax »

Please attach your check_linux_stats.pl plugin so that we can make sure that we have the same plugin to test with, I see a few different versions of that.


Thank you
emjga
Posts: 8
Joined: Wed Mar 06, 2013 1:42 am

Re: nrpe 3.1.0 libc issue

Post by emjga »

ssax wrote:Please attach your check_linux_stats.pl plugin so that we can make sure that we have the same plugin to test with, I see a few different versions of that.


Thank you
Attached is version 1.5

It only seemed to fail on the CPU check.
However if I ran the plugin directly on the remote machine , it worked fine.

Matt
Attachments
check_linux_stats.pl
(19.28 KiB) Downloaded 339 times
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: nrpe 3.1.0 libc issue

Post by tgriep »

I did a test with the NRPE Agent but a newer version 3.1.1 and running the command worked without any errors.
What version of the check_nrpe plugin were you using in the Nagios server to test the command?
Can you post how the command was setup in the nrpe.cfg file?
How was the NRPE Agent installed on the remote system, was it compiled or an RPM was used?
Be sure to check out our Knowledgebase for helpful articles and solutions!
emjga
Posts: 8
Joined: Wed Mar 06, 2013 1:42 am

Re: nrpe 3.1.0 libc issue

Post by emjga »

Indeed I see a newer version 3.2.0
Changelog does not say anything about LibC issues but after installing it the issue goes away.

Thanks

Matt
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: nrpe 3.1.0 libc issue

Post by tmcdonald »

Good to hear! Are we okay to close this up?
Former Nagios employee
emjga
Posts: 8
Joined: Wed Mar 06, 2013 1:42 am

Re: nrpe 3.1.0 libc issue

Post by emjga »

tmcdonald wrote:Good to hear! Are we okay to close this up?
Indeed we are , thanks for the help and point in the right direction.
Locked