host and service monitor
Project homepage: https://www.nagios.org/
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.
FLAVORS:
chroot install Nagios in a way suited for chroot'ed httpd
Package information
- Ports path
- net/nagios/nagios,chroot
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- net, lang/php
- Available flavors
- chroot
- Only for architectures
- aarch64, alpha, amd64, mips64, mips64el, powerpc64, riscv64, sparc64
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Library
Runtime
Build
OpenBSD README
This README contains unresolved ports variables; replace them before using its commands.
+-----------------------------------------------------------------------
| Running nagios on OpenBSD
+-----------------------------------------------------------------------
Getting Started
===============
The main documentation for Nagios is provided online at
http://nagios.sourceforge.net/docs/nagioscore/4/en/.
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 \
/var/www/conf/modules
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 <username>
When done, restart the web server:
# rcctl restart apache2
You should then be able to access the web interface at
http://localhost/nagios/
Used by (1 dependency relationships)
Includes library, runtime, build and test dependencies.