brew install nagios
Network monitoring and management system
License: GPL-2.0
Formula JSON API: /api/formula/nagios.json
Bottle JSON API: /api/bottle/nagios.json
Formula code: nagios.rb
on GitHub
Bottle (binary package) installation support provided for:
Intel | monterey | ✅ |
---|---|---|
big sur | ✅ | |
catalina | ✅ | |
64-bit linux | ✅ | |
Apple Silicon | monterey | ✅ |
big sur | ✅ |
Current versions:
stable | ✅ | 4.4.7 |
Depends on:
gd | 2.3.3 | Graphics library to dynamically manipulate images |
libpng | 1.6.37 | Library for manipulating PNG images |
nagios-plugins | 2.4.0 | Plugins for the nagios network monitoring system |
openssl@1.1 | 1.1.1q | Cryptography and SSL/TLS Toolkit |
First we need to create a command dir using superhuman powers: mkdir -p $(brew --prefix)/var/lib/nagios/rw sudo chgrp _www $(brew --prefix)/var/lib/nagios/rw sudo chmod 2775 $(brew --prefix)/var/lib/nagios/rw Then install the Nagios web frontend into Apple's built-in Apache: 1) Turn on Personal Web Sharing. 2) Load the cgi and php modules by patching /etc/apache2/httpd.conf: -#LoadModule php5_module libexec/apache2/libphp5.so +LoadModule php5_module libexec/apache2/libphp5.so -#LoadModule cgi_module libexec/apache2/mod_cgi.so +LoadModule cgi_module libexec/apache2/mod_cgi.so 3) Symlink the sample config and create your web account: sudo ln -sf $(brew --prefix)/Cellar/nagios/4.4.7/share/nagios.conf /etc/apache2/other/ htpasswd -cs $(brew --prefix)/etc/nagios/htpasswd.users nagiosadmin sudo apachectl restart Log in with your web account (and don't forget to RTFM :-) open http://localhost/nagios |
Analytics (macOS):
Installs (30 days) | |
---|---|
nagios |
59 |
Installs on Request (30 days) | |
nagios |
59 |
Build Errors (30 days) | |
nagios |
2 |
Installs (90 days) | |
nagios |
241 |
Installs on Request (90 days) | |
nagios |
241 |
Installs (365 days) | |
nagios |
531 |
Installs on Request (365 days) | |
nagios |
533 |
Analytics (Linux):
Installs (30 days) | |
---|---|
nagios |
0 |
Installs on Request (30 days) | |
nagios |
0 |
Build Errors (30 days) | |
nagios |
0 |
Installs (90 days) | |
nagios |
4 |
Installs on Request (90 days) | |
nagios |
4 |
Installs (365 days) | |
nagios |
9 |
Installs on Request (365 days) | |
nagios |
9 |