check_ntp_time ||suse Linux 11 error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
progressive.nagiosXI
Posts: 277
Joined: Mon Jul 31, 2017 5:54 am

check_ntp_time ||suse Linux 11 error

Post by progressive.nagiosXI »

Hi ,

we are getting below error when executing check_ntp_time plugin
/lib64/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/ncpa/plugins/check_ntp_time)"

Please find below OS details
dcn1hp10db:/usr/local/ncpa/plugins # cat /etc/os-release
NAME="SLES"
VERSION="11.4"
VERSION_ID="11.4"
PRETTY_NAME="SUSE Linux Enterprise Server 11 SP4"
ID="sles"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:11:4"

Thanks
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: check_ntp_time ||suse Linux 11 error

Post by benjaminsmith »

Hi @progressive.nagiosXI,

Are you getting this error on any of the other plugins as it looks like the server is missing a required c library. Which instructions did you use to compile the plugins?

Nagios Plugins - Installing Nagios Plugins From Source

Please let me know. Thanks.
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!
progressive.nagiosXI
Posts: 277
Joined: Mon Jul 31, 2017 5:54 am

Re: check_ntp_time ||suse Linux 11 error

Post by progressive.nagiosXI »

Team,

we compile check_ntp_time in centos 7,we don't have suse linux 11 for compilation.

can you please share check_ntp_time plugin which work on below suse libc version

required :
/lib64/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/ncpa/plugins/check_ntp_time)"

GNU libc running on suse server
dcnahp10db1:/usr/local/ncpa/plugins # ldd --version
ldd (GNU libc) 2.11.3

Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

Thanks
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: check_ntp_time ||suse Linux 11 error

Post by benjaminsmith »

Hello,

Just to clarify, this is my understanding of the issue.

1. Can compile check_ntp_time for Cent7
2. Cannot compile check_ntp_time for Suse 11

If this is correct, have you tried upgrading the Suse 11 server to GLIBC 2.14 as required by the plugin? Please let me know.

Thanks.
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!
progressive.nagiosXI
Posts: 277
Joined: Mon Jul 31, 2017 5:54 am

Re: check_ntp_time ||suse Linux 11 error

Post by progressive.nagiosXI »

Hi

compile check_ntp_time for Cent7 => we compile this plugin in our Nagiosxi centos server successfully and this plugin also work in Suse linux 12,Centos 7,etc.where glib version > 2.14.

we need this plugin to work for client suse linux 11 sp4(GNU libc = 2.11.3).but we have only client server so we don't make any changes on that server.

we don't have suse linux11 machine with GNU libc = 2.11.3 for testing and compilation .So please help

Note: we monitor client server via NCPA agent and only need check_ntp_time plugin for time comparison with ntp server.

Thanks
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: check_ntp_time ||suse Linux 11 error

Post by lmiltchev »

You will have to compile the plugin on a SUSE 11 machine. It doesn't have to be your "production" server... you could spin up a new SUSE 11 VM, and use it for compiling the plugin. I don't see any other way of going about that, but if someone else has a better idea, I would love to hear it. I will leave the topic open for the time being, hoping to hear from people who tackled the same issue successfully.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked