Monitoring MAC OS

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
bheden
Product Development Manager
Posts: 179
Joined: Thu Feb 13, 2014 9:50 am
Location: Nagios Enterprises

Re: Monitoring MAC OS

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Nagios Enterprises
Senior Developer
paulol
Posts: 159
Joined: Wed Jul 02, 2014 11:39 am

Re: Monitoring MAC OS

Post by paulol »

Thx bheden, it works...
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Monitoring MAC OS

Post by hsmith »

Are we all right to close this post?
Former Nagios Employee.
me.
paulol
Posts: 159
Joined: Wed Jul 02, 2014 11:39 am

Re: Monitoring MAC OS

Post by paulol »

Sure.

Thx for help. ;)
Locked