NRPE: Unable to read output

root@sm41 plugins]# /usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/sda3

/usr/lib64/nagios/plugins/check_disk: /lib64/libc.so.6: version `GLIBC_2.14′ not found (required by /usr/lib64/nagios/plugins/check_disk)

———————————————————————————————————–

To know whether your system is 32-bit or 64-bit, type the command “uname -m” and press “Enter”. This displays only the machine hardware name. It shows if your system is running 32-bit (i686 or i386) or 64-bit(x86_64).

/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /dev/sda3

———————————————————————————————————-

1. Download the script:

    https://gist.githubusercontent.com/harv/f86690fcad94f655906ee9e37c85b174/raw/2cfcc7922b0c2f391afb957fd209a1f1f2f9f659/glibc-2.17_centos6.sh

2. As ‘root’, run:

    $ sh ./glibc-2.17_centos6.sh

3. Scan your libc to check that GLIBC_2.14 is now installed:

    $ strings /lib64/libc.so.6 | grep GLIBC

GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_2.14
GLIBC_2.15
GLIBC_2.16
GLIBC_2.17
GLIBC_PRIVATE

Leave a Comment

Your email address will not be published. Required fields are marked *

Open chat