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.
@preunexec if [ -d /var/spool/nagios ]; then echo "==> If you are permanently removing this port, you should do a ``rm -rf /var/spool/nagios`` to remove any files left behind."; fi
@preunexec if [ -d etc/nagios ]; then echo "==> If you are permanently removing this port, you should do a ``rm -rf etc/nagios`` to remove any configuration files."; fi
===> The following configuration options are available for nagios4-4.5.12,1:
COREWINDOW=off: Enable the corewindow parameter
NANOSLEEP=off: Use nanosleep in event timing
UNHANDLED_HACK=off: Display passive checks in unhandled queries
====> Build and/or install plugins: you can only select none or one of them
MONPLUGINS=off: Plugins from monitoring-plugins.org
NAGPLUGINS=on: Plugins from nagios-plugins.org
===> Use 'make config' to modify these settings
net-mgmt/nagios4: Update to 4.5.1
changes: Fix text rendering in Configuration -> Command Expansion when the
command ends in whitespace
Sponsored by: Netzkommune GmbH
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
net-mgmt: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* @BABOLO <.@babolo.ru>
* Alex Samorukov, samm@freebsd.org
* Alexander Kriventsov <avk@vl.ru>
* Alexander Sulfrian <alexander@sulfrian.net>
* Alexander Y. Grigoryev <alexander.4mail@gmail.com>
* Alexandre Biancalana <ale@biancalanas.net>
* Alexandre Snarskii <snar@paranoia.ru>
* Alexandre Snarskii <snar@snar.spb.ru>
* Alexey Bobkov <mr.deadlystorm@gmail.com>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alexey V. Degtyarev
(Only the first 15 lines of the commit message are shown above )
*/*: Remove redundant '-*' from CONFLICTS definitions
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Approved by: portmgr (blanket)
converters/libiconv:
- Remove const qualifier from iconv(3) to match POSIX:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html
- Patch iconv.h to expose more GNU extensions when LIBICONV_PLUG is
defined because the base system iconv supports these extensions too.
Add/remove patches to/from ports to call iconv with non-const arguments.
This breaks some ports on FreeBSD 10 because base system iconv.h still has
the const qualifier. Fix this by letting USES=iconv add a build dependency
on converters/libiconv so ports can use its iconv.h (with LIBICONV_PLUG
defined) instead of the base system iconv.h.
This exposed some ports that link with libiconv when it is available instead
of using libc iconv. In these cases one of the following changes has been
(Only the first 15 lines of the commit message are shown above )
Add a couple of patches to fix the number of workers and CPU load.
While there, regen patches, and update pkg-message to apache 2.4.
PR: 197204
Submitted by: Rudolf Cejka
Sponsored by: Absolight
Replace USE_AUTOTOOLS=libltdl with an ordinary LIB_DEPENDS in all ports.
There are only 60 such ports so there doesn't need to be a separate
keyword or USES for this.
Approved by: portmgr (bapt)
- Add OPTIONS to either depend on plugins from nagios-plugins.org,
monitoring-plugins.org or neither at all
- Bump PORTREVISION
Approved by: mat (implicit)
Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS. Also remove references to
PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
required additional patches.
Somewhat simplified a linker command line looks like:
${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}
where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us. If possible -L and -l flags need to be
(Only the first 15 lines of the commit message are shown above )
Add PKGNAMESUFFIX back.
Why I removed it, I have no idea. Maybe my eyes read PORTREVISION=4 and my
brain thought it should be removed.
Sponsored by: Absolight
It seems nagios 4 can't build without the event broker, so remove the option
and force it on.
While there, replace a REINPLACE_CMD by a patch to get rid of a
bsd.port.options.mk include.
Reported by: demon, pkg-fallout
Sponsored by: Absolight