Page 2 of 2
Re: NRPE
Posted: Thu May 16, 2013 11:18 am
by abrist
Lets check the permissions:
Re: NRPE
Posted: Thu May 16, 2013 11:30 am
by digitalbennu
ok....So I fixed the permissions on that directory to 755 that seems to have fixed part of the problem with permissions....CPU stats now responds. However Memory usage is still messed up....
Here is what I am getting back:
secure1:libexec admin$ ./check_osx_mem.sh -w 85 -c 95
-bash: ./check_osx_mem.sh: /bin/bash^M: bad interpreter: No such file or directory
Any ideas what might be missing?
Re: NRPE
Posted: Thu May 16, 2013 11:59 am
by lmiltchev
Open the plugin in vi:
type:
save and exit:
Try running your check again.
Re: NRPE
Posted: Thu May 16, 2013 1:38 pm
by digitalbennu
Bingo!!! That got it....
Thanks!!
Dave
Re: NRPE
Posted: Thu May 16, 2013 2:04 pm
by lmiltchev
I'm glad I could help!

Can we mark this issue as "resolved" or you are still having questions?