Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

The Industry Standard In Infrastructure Monitoring

Nagios XI Installing The Mac OS/X Agent

Purpose
This document describes how to install the Mac OS/X NRPE agent for Nagios XI.

Target Audience
This document is intended for use by Nagios XI Administrators that would like to use Nagios XI to monitor
Mac OS/X.

Dependencies
• OS/X Development tool Xcode installed on OS/X system
◦ This is installed from the App Store (it is called Xcode) or download directly from:
https://developer.apple.com/
• OpenSSL installed via Homebrew
◦ OpenSSL used to be included with Xcode however it is not longer part of the Xcode package so it
must be installed separately.
◦ Steps for installing OpenSSL using Homebrew are shown below

Xcode Command Line Developer Tools


After installing Xcode from the App Store, the following command must be executed first before Xcode can be
used. Open a terminal session on you Mac OS/X and execute the following command:

sudo xcodebuild -license

Press the Return key to view the license agreement.

After reading the license agreement type q .


Then type agree and press the Return key.

1295 Bandana Blvd N, St. Paul, MN 55108 sales@nagios.com US: 1-888-624-4671 INTL: 1-651-204-9102

www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 1 / 4
Updated – November, 2021
The Industry Standard In Infrastructure Monitoring

Nagios XI Installing The Mac OS/X Agent

Execute the following command to install the Command Line Tools for Xcode:

sudo xcode-select --install

You will be prompted on your Mac display to install the component, click Install.
Click Agree.
Wait while it is downloaded and installed.

OpenSSL Installation
First Homebrew must be installed. In a terminal session on you Mac OS/X and execute the following
command to install Homebrew:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Press the Return key to continue.


Wait while Homebrew is installed.

Now install OpenSSL by executing the following command based on OS:

Non-Monterey OS
brew install openssl

MacOS Monterey
brew install openssl@1.1
ln -s '/usr/local/opt/openssl@1.1' /usr/local/opt/openssl

Wait while OpenSSL is installed.

1295 Bandana Blvd N, St. Paul, MN 55108 sales@nagios.com US: 1-888-624-4671 INTL: 1-651-204-9102

www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 2 / 4
Updated – November, 2021
The Industry Standard In Infrastructure Monitoring

Nagios XI Installing The Mac OS/X Agent

NRPE Installation Steps


Download the Nagios Mac OS X Agent by executing the following commands:

cd /tmp
curl -o macosx-nrpe-agent.tar.gz https://assets.nagios.com/downloads/nagiosxi/agents/macosx-nrpe-agent.tar.gz

Run the following commands to install NRPE:

tar xzf macosx-nrpe-agent.tar.gz


cd macosx
sudo ./fullinstall

The install will prompt you for a the IP address of your Nagios XI server, for example:

Allow from: 10.25.5.11

A successfully install should end with:

### Nagios Mac OSX Agent Installation Complete! ###

Monitoring From Nagios XI


Now that you have installed the NRPE agent on Mac OS/X you can now run the Mac OS/X configuration
wizard. Please refer to the following documentation which will step you through it:
Monitoring OSX With Nagios XI

Finishing Up
This completes the documentation on how to install the Mac OS/X agent.

1295 Bandana Blvd N, St. Paul, MN 55108 sales@nagios.com US: 1-888-624-4671 INTL: 1-651-204-9102

www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 3 / 4
Updated – November, 2021
The Industry Standard In Infrastructure Monitoring

Nagios XI Installing The Mac OS/X Agent

If you have additional questions or other support related questions, please visit us at our Nagios Support
Forums:

https://support.nagios.com/forum

The Nagios Support Knowledgebase is also a great support resource:

https://support.nagios.com/kb

1295 Bandana Blvd N, St. Paul, MN 55108 sales@nagios.com US: 1-888-624-4671 INTL: 1-651-204-9102

www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 4 / 4
Updated – November, 2021

You might also like