BSD Ports

net-mgmt/nagios4 4.5.1,1 DragonFly

Powerful network monitoring system

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2
Categories
net-mgmt
Package size
1465.3 KiB, 7740.0 KiB installed

Description

Nagios is a host and service monitor designed to inform you of network problems before your clients, end-users or managers do. The monitoring daemon runs intermittent checks on hosts and services you specify using external "plugins" which return status information to Nagios. When problems are encountered, the daemon can send notifications out to administrative contacts in a variety of different ways (email, instant message, SMS, etc.). Current status information, historical logs, and reports can all be accessed via a web browser.

In the other systems

The newest version among them is 4.5.12, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlynet-mgmt/nagios44.5.1,1none known-[email protected]-
FreeBSDnet-mgmt/nagios44.5.12,1 newestnone known-[email protected]-
MidnightBSDnet-mgmt/nagios44.4.6_1,1no data-[email protected]-
HardenedBSDnet-mgmt/nagios44.5.12,1 newestno data-[email protected]-
GhostBSDnet-mgmt/nagios44.5.12,1 newestno data-[email protected]-

Install

Binary package:

pkg install nagios4

From DPorts:

cd /usr/dports/net-mgmt/nagios4 && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 8

Configuration

No options to configure.

Service scripts
none

Message after installing

Enable Nagios in /etc/rc.conf with the following line:

   nagios_enable="YES"

 Configuration templates are available in /usr/local/etc/nagios as
 *.cfg-sample files.  Copy them to *.cfg files where required and
 edit to suit your needs.

 If you don't already have a web server running, you will need to
 install and configure one to finish off your Nagios installation.
 When used with Apache, the following should be sufficient to publish
 the web component of Nagios (modify the allow list to suit):

   <Directory /usr/local/www/nagios>
     Require ip 127.0.0.1
     php_flag engine on
     php_admin_value open_basedir /usr/local/www/nagios/:/var/spool/nagios/
   </Directory>

   <Directory /usr/local/www/nagios/cgi-bin>
     Options ExecCGI
   </Directory>

   ScriptAlias /nagios/cgi-bin/ /usr/local/www/nagios/cgi-bin/
   Alias /nagios/ /usr/local/www/nagios/