Page 2 of 2

Re: Monitoring MAC OS

Posted: Wed Mar 02, 2016 12:21 pm
by bheden
This issue has now been fixed. I'm not sure when it will be included with a release, however.

In the meantime, you could run the following command to patch your check_osx_mem.sh

Code: Select all

sed -i.bak 's/print $8/print $2/;s/print $10/print $6/' /usr/local/nagios/libexec/check_osx_mem.sh
Of course, that is assuming that your script is in the /usr/local/nagios/libexec directory (which it should be unless you moved it). This will create a backup of the original file (/usr/local/nagios/libexec/check_osx_mem.sh.bak). There should be no more input necessary - Nagios will just start polling the proper data.

Re: Monitoring MAC OS

Posted: Thu Mar 10, 2016 12:12 pm
by paulol
Thx bheden, it works...

Re: Monitoring MAC OS

Posted: Thu Mar 10, 2016 2:56 pm
by hsmith
Are we all right to close this post?

Re: Monitoring MAC OS

Posted: Tue Mar 15, 2016 10:39 am
by paulol
Sure.

Thx for help. ;)