Install Nagios on Macos

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
westofpluto
Posts: 1
Joined: Tue Jan 22, 2019 4:35 pm

Install Nagios on Macos

Post by westofpluto »

Hi All
I cannot seem to get Nagios to work on localhost on Macos (High Sierra). I know that both Nagios and Apache are running, and I managed to configure apache so that it points to a Nagios folder when going to http://localhost/nagios but it gives me an error:
Forbidden
You don't have permission to access /nagios/ on this server.

Obviously I have misconfigured something but I don't know what. It also seems that there are http and nagios config files in various paths so I really don't know which one is the valid one. What can I do to fix this? How can I find out which are the correct config files for apache and nagios?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Install Nagios on Macos

Post by benjaminsmith »

Hi @westofpluto,

Did you follow these instructions?
https://support.nagios.com/kb/article/n ... Apple_OS_X

Did you create the nagios user and group:

Code: Select all

sudo make install-groups-users
sudo dseditgroup -o edit -a _www -t user nagios
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked