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.
Hi everybody!
i have installed nagios core 4 on ubuntu server 12.04 lts..
everything working fine,, but... i have a problem with remote command to a remote linux (ubuntu server 12.04) pc!
when i try to check a service, for example: check_swap, check_disk etc.. i got everytime an error:
Remote command execution failed: /home/nagios/plugins/check_disk: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /home/nagios/plugins/check_disk)
the remote pc is not my pc and i don't want to make a disaster!
So... how can i fix this problem?
any help be appreciate!!!
thanks in advance!
The Libc package is going to be required by a lot of applications, and also your nagios plugins, updating should not harm the system in the least bit, but just in case, if you are running this on a VM I recommend taking a snapshot.
yum install libc6
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.fastbull.org
* extras: mirror.softaculous.com
* updates: mirror.euserv.net
Reducing CentOS-5 Testing to included packages only
Finished
Setting up Install Process
No package libc6 available.
Nothing to do
you know what is the right package that i should install??
Thank you in advance!
You should definitely do a "yum update" to bring this system up to as close to current as possible (and maybe a "yum upgrade" after that), but it's unlikely you'll be able to piece together the bits you need to make it run glibc 2.14 given your current state.
If this is a virtual machine, I'd say delete it and start over. If it's a physical machine, you may have a tough time of it.
The good news is that you can always download the source for the Nagios plugins and compile them on your machine, so at least they will be built with the libraries that you currently have installed. Honestly, this might be your best bet.
Thank you for all replies!
yesterday i have tried to download and copy on CentOS machine the nagios 1.4 plugins and everything working fine with this machine!
thank you for all support! @eloyd @scottwilkerson @slansing