Closed xyzzy-plugh closed 3 months ago
Installing NCPA:
Download MacOS archive (https://www.nagios.org/ncpa/#downloads)
Double click open the disk image file to mount it
Find the installer volume name in the terminal: ls /Volumes Look for NCPA-
(e.g. NCPA-3.0.0) Run the installer, and follow any user prompts: sudo zsh /Volumes/NCPA-
/install.sh Note: if you already have NCPA installed, the installer will upgrade the NCPA software, and retain your configuration.
Restarting NCPA: After making configuration changes, you will need to restart NCPA for changes to take effect. This is accomplished by stopping then starting the service.
1. On the command line, enter: sudo launchctl stop com.nagios.ncpa sudo launchctl start com.nagios.ncpa
It looks like you tried to run NCPA directly. Have you tried running it with sudo launchctl start com.nagios.ncpa
? I believe this is the intended method of starting NCPA on Mac and it worked when I tested it on Mac OS 13 and 14 before with NCPA 3.
Thanks …
yes, I did try this … many times stopping & starting via launchctl. (FYI I’ve also successfully used NCPA with many Linux & Windows hosts, and a couple of older Mac hosts. Have some new Mac boxes I want to monitor now, wanted to try NCPA v3 because of a few things)
First I established nothing was running listening on port 5693…so no sense trying to troubleshoot from the Nagios server side.
The manual start of NCPA was purely so I could see the traces and why it was not starting.
Happy to try anything else to capture more info if needed.
Thanks!
I can confirm that 3.0.2 works correctly on macOS 14.4.1 (M2 CPU)
Fairly recent OS install, largely vanilla. Suggestions on what to do welcome!
Hardware: macMini 2023, Apple M2 CPU OS: Sonoma 14.3.1
I downloaded NCPA 3.0.1 DMG, mounted it and installed ... which seemed to work OK:
Immediately after installing (as-installed, default ncpa.cfg file) - however, it's not running...
Trying to start it from the command line yields the following. Note, no /usr/local/Cellar directory exists on this system.
No logfile entries: