I have 6 Red Hat Servers all built the same and the nrpe agent installed the same way. I looked at the configuration file and libexex directory and everything appears to be the same both with user and permissions. When I run
Code: Select all
./check_nrpe -H <host1> -c check_mem -a '-w 20 -c 10'
I get the results I would expect OK - 8665 / 11911 MB (72%) Free Memory, Used: 8027 MB, Shared: 0 MB, Buffers: 304 MB, Cached: 4781 MB | total=11911MB free=8665MB used=8027MB shared=0 buffers=304MB cached=4781MB
When I run the same command on one of the 3 "faulty" RHEL servers I get this - CRITICAL - 10581 / 11911 MB (%) Free Memory, Used: 1851 MB, Shared: 0 MB, Buffers: 40 MB, Cached: 521 MB | total=11911MB free=10581MB used=1851MB shared=0 buffers=40MB cached=521MB and the check is the same
Code: Select all
./check_nrpe -H <host2> -c check_mem -a '-w 20 -c 10'
Trying to figure out why I have 3 out of 7 machines that don't want to show the percentage but just %?