nrpe 3.1.0 libc issue

This forum is intended for the discussion of Nagios plugin development. Feature requests, patches, bug fixes, and all types of development-related discussions are welcome!

NOTE: The SourceForge.net nagiosplug-devel mailing list has been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

nrpe 3.1.0 libc issue

Postby emjga » Mon Jun 26, 2017 5:30 am

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
emjga
 
Posts: 6
Joined: Wed Mar 06, 2013 1:42 am

Re: nrpe 3.1.0 libc issue

Postby ssax » Mon Jun 26, 2017 12:48 pm

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
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
ssax
Dreams In Code
 
Posts: 2973
Joined: Wed Feb 11, 2015 12:54 pm

Re: nrpe 3.1.0 libc issue

Postby emjga » Tue Jun 27, 2017 2:11 am

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 39 times
emjga
 
Posts: 6
Joined: Wed Mar 06, 2013 1:42 am

Re: nrpe 3.1.0 libc issue

Postby tgriep » Tue Jun 27, 2017 1:45 pm

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!
User avatar
tgriep
Madmin
 
Posts: 6091
Joined: Thu Oct 30, 2014 9:02 am

Re: nrpe 3.1.0 libc issue

Postby emjga » Wed Jun 28, 2017 8:33 am

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
emjga
 
Posts: 6
Joined: Wed Mar 06, 2013 1:42 am

Re: nrpe 3.1.0 libc issue

Postby tmcdonald » Wed Jun 28, 2017 10:30 am

Good to hear! Are we okay to close this up?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tmcdonald
Support Lead / Operations Engineer
 
Posts: 8699
Joined: Mon Sep 23, 2013 8:40 am

Re: nrpe 3.1.0 libc issue

Postby emjga » Wed Jun 28, 2017 10:33 am

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.
emjga
 
Posts: 6
Joined: Wed Mar 06, 2013 1:42 am


Return to Nagios Plugin Development

Who is online

Users browsing this forum: No registered users and 1 guest