Icinga 2 is a network monitoring system and parallel development branch to
Icinga 1.
Written from scratch, it builds on the success of Icinga 1 and deals with
shortcomings inherited from Nagios as a fork.
Icinga 2 is:
- Easy to install with soft link activation of functions and packages
- Multithreaded and very fast: Capable of thousands of checks per second
- Intuitive to configure, using new object-based, template-driven format
- Easy to extend with native support for Livestatus and Graphite
- Cluster-enabled for distributed monitoring out of the box
===> The following configuration options are available for icinga2-2.16.5_1:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
LTO=off: Use Link-Time Optimization
UNITY=on: Use icinga unity build system (faster, memory intensive)
====> Options available for the group BACKEND
MYSQL=on: MySQL database support
PGSQL=on: PostgreSQL database support
====> Build and/or install plugins: you can only select none or one of them
MONPLUGINS=on: Plugins from monitoring-plugins.org
NAGPLUGINS=off: Plugins from nagios-plugins.org
===> Use 'make config' to modify these settings
*/*: De-orbit alias.mk
Mk/Uses/alias.mk was an attempt for compat with DPorts, but has rotted.
This feature was never documented in the PHB, so there is no work to
be done by the docs@ team.
Nothing against DragonFly, but if DPorts still needs FreeBSD 9
support, they really should work that out with upstream projects.
Ultimately, we don't need to keep carrying this outdated feature that
doesn't affect us.
net-mgmt/icinga2: Update to 2.14.6
This includes a security update for Icinga2 built with OpenSSL < 1.1.0.
As everything we shipped since 12.0 included OpenSSL >= 1.1.1a and we
don't provided a supported version of OpenSSL < 1.1.0 in ports since
January 2020 I opted not to make this a security update and not create a
VuXML entry for this.
Security: https://icinga.com/blog/cve-2025-48057/
net-mgmt/icinga2: mark as BROKEN with Boost>=1.87 (+)
Since 1.87 release some long-time-ago deprecated Boost.asio facilities was
dropped off
Sponsored by: Future Crew, LLC
net-mgmt/icinga2: Update to 2.13.6
Changelog:
The main focus of version 2.13.6 is improved performance of Icinga DB
and apply rules. Additionally, it includes bug fixes related to config
loading and API permissions.
Bugfixes:
-Improve the throughput of the Icinga DB feature. #9550
-Multiple changes to speed up evaluation of apply rules. #9559 #9565 #9558
-Fix a possible crash on config loading related to ignore_on_error.#9560
-Check API user permission on objects returned by joins. #9561
-Windows: update bundled Boost and OpenSSL versions. #9562 #95
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/icinga2: Update to 2-13.2
changelog:
-Prefix command_id with command type
-Decouple environment from Icinga 2 Environment constant
-Make icinga:history:stream:*#event_id deterministic
-Add downtime.duration & service_state.host_id to Redis
-Sync checkables along with their states first
-Flush both buffered states and state checksums on initial dump
-Introduce icinga:history:stream:downtime#scheduled_by
-Actually write parent to parent_id of zones
-Set value in milliseconds for program_start in stats/heartbeat
-Clean up vanished objects from icinga:checksum:*:state
-Remove usernotification history stream
-Write IDs of notified users into notification history stream
-Make CheckResult#scheduling_source available to Icinga DB
-Stream runtime state updates only to icinga:runtime:state
-Publish Redis schema version via XADD icinga:schema
-Don't include checkable types in history IDs
-Remove unused Redis key 'icinga:zone:parent'
Sponsored by: Netzkommune GmbH
net-mgmt/icinga2:
- Update to 2.11.3 which fixes a long standing bug in the Icinga API that led to
crashes [1]
- Fix directory permissions for 'icinga2 feature enable / disable'
- Add new option UNITY to enable or disable the build with Unity. Unity
makes building Icinga 2 faster but memory intensive. With Unity disabled it is
possible to build Icinga 2 on memory restricted machines like a Raspberry Pi.
[2]
PR: 245985 [1], 245461 [2]
Submitted by: Armin Gruner <ag-freebsd@muc.de> [1], Alexander Wittig
<alexander@wittig.name> [2]
MFH: 2020Q2
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".
I tried to only set insource where explictely needed.
PR: 232038
Exp-run by: antoine
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
net-mgmt/icinga2: Use .conf suffix for /usr/local/etc/newsyslog.conf.d/
Rename files intended for installation to /usr/local/etc/newsyslog.conf.d/
to end with a '.conf' suffix.
Proposed changes to /etc/newsyslog.conf will only include files from the
/usr/local/etc/newsyslog.conf.d/ directory which end with '.conf' and do
not beginning with a '.' character. https://reviews.freebsd.org/D17086
Approved by: lme (maintainer)
Differential Revision: https://reviews.freebsd.org/D17091
Remove redundant DOCS, NLS, EXAMPLES, and IPV6 from OPTIONS_DEFAULT as they
are put there by the framework (see line 200 of Mk/bsd.options.mk), except
for `finance/quantlib' which makes very unorthodoxal usage of port options.
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
Fix port builds for architectures which remain on gcc as the default compiler.
This will primarily help powerpc64.
For archs where clang is the default compiler, these changes will have no
effect, as the base compiler already has these capabilities (primarily, but
not exclusively, c++-11).
Tested for no-harm on amd64.
While here, pet portlint.
Approved by: portmgr (tier-2 blanket)
net-mgmt/icinga2: unbreak with boost 1.67
In file included from lib/base/base_unity.cpp:61:
lib/base/timer.cpp:269:31: error: no matching conversion for functional-style
cast from 'double' to 'boost::posix_time::milliseconds' (aka
'subsecond_duration<boost::posix_time::time_duration, 1000>')
l_TimerCV.timed_wait(lock,
boost::posix_time::milliseconds(wait * 1000));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PR: 227427
Reported by: antoine (via exp-run)
Add support from check_procs's -j <jailid>.
This was added in r448907 and r448923.
PR: 221910
Submitted by: mat
Approved by: maintainer timeout
Sponsored by: Absolight