The problem is we're talking about CentOS 6.10 that seems not to support version 1.36 of RMA.
It gives the following error when trying to start the process:
./rma: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by ./rma)
./rma: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./rma)
I do not want to change this legacy system as it has a critical app. I know, EOL OS, EOL libraries, but that's life.
Do you have an intermediate version that I can try in that OS? In any case, why the difference when the other two file systems report free space properly and this one (/db) not?
It is a passive agent and using UNC method.
I did create a script for BASH that provides the check without this issue in the meantime.
Code: Select all
#!/bin/sh
if [ $# -ge 2 ]
then
filesystem=$1
alarmthreshold=$2
freespace=$(df -BG $filesystem | awk 'NR==2{gsub("G", ""); print $4}')
if [ $freespace -ge $alarmthreshold ]
then
echo "ScriptRes:Ok:$freespace"
else
echo "ScriptRes:Bad:$freespace"
fi
else
echo 'ScriptRes:Unknown:not enough parameters specified'
fi