The net/nagios/nagios port

nagios-4.4.13 – host and service monitor (cvsweb github mirror)


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.

        chroot    install Nagios in a way suited for chroot'ed httpd
WWW: https://www.nagios.org/


| Running ${PKGSTEM} on OpenBSD

Getting Started

The main documentation for Nagios is provided online at

The included sample configuration carries out some simple checks
on the local machine; these should work as-is.

You may check your configuration file format before starting Nagios:

   # su -m _nagios -c "${TRUEPREFIX}/sbin/nagios -v ${SYSCONFDIR}/nagios/nagios.cfg"

This will parse all configuration files and warn about any problems
which have been identified.

Enable automatic startup on boot for nagios:

   # rcctl enable nagios

To start nagios, reboot or start it manually:

   # rcctl start nagios

Web User-Interface

If using Apache2, you can enable nagios-web by linking the provided
http2.conf snippet (you may wish to modify this file):

      # ln -s /var/www/conf/modules.sample/nagios.conf \

By default it uses HTTP basic authentication; you can create the
password file as follows (default is nagiosadmin):

      # touch ${SYSCONFDIR}/nagios/htpasswd.users
      # htpasswd ${SYSCONFDIR}/nagios/htpasswd.users 

When done, restart the web server:

      # rcctl restart apache2

You should then be able to access the web interface at


The OpenBSD ports mailing-list


nagios-4.4.13 nagios-web-4.4.13p1

Only for arches

aarch64 alpha amd64 mips64 mips64el powerpc64 riscv64 sparc64


lang/php net

Library dependencies

Build dependencies

Run dependencies

Reverse dependencies