Page 1 of 1
check_ntp_time ||suse Linux 11 error
Posted: Mon Jun 03, 2019 8:19 am
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
Re: check_ntp_time ||suse Linux 11 error
Posted: Mon Jun 03, 2019 11:31 am
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.
Re: check_ntp_time ||suse Linux 11 error
Posted: Mon Jun 10, 2019 6:17 am
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
Re: check_ntp_time ||suse Linux 11 error
Posted: Mon Jun 10, 2019 10:19 am
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.
Re: check_ntp_time ||suse Linux 11 error
Posted: Tue Jun 11, 2019 10:35 am
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
Re: check_ntp_time ||suse Linux 11 error
Posted: Tue Jun 11, 2019 1:46 pm
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.