| Port details |
- icinga2 Monitoring and management system for hosts, services and networks
- 2.15.1 net-mgmt
=10 2.15.0Version of this port present on the latest quarterly branch. - Maintainer: flo@FreeBSD.org
 - Port Added: 2014-06-22 20:44:32
- Last Update: 2025-10-26 12:06:26
- Commit Hash: 0c3bd77
- People watching this port, also watch:: portmaster, nginx, icingaweb2-php83, poudriere, nextcloud-php83
- License: GPLv2
- WWW:
- https://www.icinga.org/icinga2/
- Description:
- 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
¦ ¦ ¦ ¦ 
- Manual pages:
-
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
-
- Dependency lines:
-
- icinga2>0:net-mgmt/icinga2
- To install the port:
- cd /usr/ports/net-mgmt/icinga2/ && make install clean
- To add the package, run one of these commands:
- pkg install net-mgmt/icinga2
- pkg install icinga2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: icinga2
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1761397098
SHA256 (icinga-icinga2-v2.15.1_GH0.tar.gz) = 698cfae4aeded8fe05351995156814305a77bd0404b12e513a8dce8e7884c520
SIZE (icinga-icinga2-v2.15.1_GH0.tar.gz) = 9454711
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- bison : devel/bison
- cmake : devel/cmake-core
- ninja : devel/ninja
- Runtime dependencies:
-
- bash : shells/bash
- check_nagios : net-mgmt/monitoring-plugins
- Library dependencies:
-
- libboost_thread.so : devel/boost-libs
- libedit.so.0 : devel/libedit
- libmysqlclient.so.21 : databases/mysql80-client
- libpq.so.5 : databases/postgresql17-client
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for icinga2-2.15.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
- Options name:
- net-mgmt_icinga2
- USES:
- alias bison cmake:insource compiler:c++0x libedit ssl mysql pgsql
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
2.5.4_1 23 Nov 2016 12:45:47
  |
jbeich  |
devel/boost-*: update to 1.62.0
- Enable `long double` C99 math usage
- Switch 9.x back to building with GCC
Changes: http://www.boost.org/users/history/
PR: 199601
Submitted by: Chen Xu, bapt, amdmi3, truckman (based on)
Reviewed by: rakuco (kde) (earlier version)
Exp-run by: antoine (3 tries), truckman (consumers only, earlier versions)
Approved by: bapt (office) |
2.5.4 15 Sep 2016 20:30:00
  |
lme  |
net-mgmt/icinga2:
- Update to 2.5.4
- Install vim syntax files [1]
PR: 212660 [1]
Submitted by: mat |
2.5.3_2 27 Aug 2016 05:38:08
  |
lme  |
net-mgmt/icinga2:
- Remove USES=ssl again. The last approach did not fix the problem with
unresolved symbols.
Upstream now has symbol versioning in development, so once the new version is
released,
all should be fine.
- Bump PORTREVISION |
2.5.3_1 25 Aug 2016 19:23:08
  |
lme  |
net-mgmt/icinga2:
Remove bogus dependency on devel/libconfig. Some time ago I added this because
the ports tree's Q/A check warned that the icinga2 binary is linked against
libconfig.
However this is a private library shipped with Icinga 2.
With version 2.5.1 USES=ssl was added to the port's Makefile which added
rpath=${LOCALBASE}/openssl when Icinga 2 gets built and {Open,Libre}SSL from
ports
was installed. The result was that ld picked up libconfig.so from the
devel/libconfig
port instead of Icinga 2's private library.
To prevent this, the following CMAKE_ARGS were added:
CMAKE_{EXE,MODULE,SHARED,STATIC}_LINKER_FLAGS=${PREFIX}/lib/icinga2
At the moment only EXE_ and SHARED_ linker flags are really needed, to be
prepared for
future changes the other flags were also set.
Thanks to mat and Gunnar Beutner (upstream developer) for the insights on the
ports
and Icinga 2's build system.
- Re-add USES=ssl
- Bump PORTREVSION |
2.5.3 25 Aug 2016 13:16:58
  |
lme  |
net-mgmt/icinga2:
- Update to Bugfix release 2.5.3
- Remove USES=ssl to workaround a missing symbol error on startup [1]
Noticed by: many [1] |
2.5.1 23 Aug 2016 16:52:18
  |
lme  |
net-mgmt/icinga2:
- Update to 2.5.1
- Install a log rotation configuration file for newsyslog(8) in EXAMPLESDIR
- Add dependencies on SSL and libconfig
- Display pkg-message - the file already existed but was not shown
- Regenerate some patches with makepatch
- Pet portlint
Changelog and upstream upgrading instructions:
https://www.icinga.org/2016/08/23/icinga-2-v2-5-released/ |
2.4.10 04 Aug 2016 16:41:53
  |
marino  |
net-mgmt/icinga2: Fix LIB_DEPENDS with USES=execinfo
The unconditional specification of libexecinfo.so is redundant on most
plaforms that have libexecinfo.so in base. The helper USES=execinfo
was created just to avoid this issue, so convert port to that.
Approved by: just-fix-it |
2.4.10 19 May 2016 17:55:05
  |
lme  |
- Update to 2.4.10
- Switch to USES= mysql |
2.4.7 19 May 2016 11:09:14
  |
amdmi3  |
- Fix trailing whitespace in pkg-messages
Approved by: portmgr blanket |
2.4.7 24 Apr 2016 16:58:58
  |
lme  |
- Update to 2.4.7
- Introduce new rc.conf variable "icinga2_mkvar" defaulting to "NO". The
variable controls the creation and chown'ing of missing files and
directories in /var. [1]
- Add an UPDATING entry for this
PR: 206022 [1]
Submitted by: Oliver Hartmann <ohartman@zedat.fu-berlin.de>
Sponsored by: Essen Linuxhotel Hackathon 2016 |
2.4.4 21 Apr 2016 16:43:15
  |
swills  |
many ports: mark broken on powerpc64 |
2.4.4 01 Apr 2016 14:16:20
  |
mat  |
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat: portmgr
Sponsored by: Absolight |
2.4.4 18 Mar 2016 06:47:41
  |
lme  |
Update to 2.4.4 |
2.4.3 24 Feb 2016 22:21:03
  |
lme  |
Update to 2.4.3
Noticed by: ohauer |
2.4.2 24 Feb 2016 10:33:12
  |
lme  |
Update to 2.4.2 |
2.4.1 06 Jan 2016 20:54:14
  |
lme  |
Update to 2.4.1 |
2.4.0_2 24 Nov 2015 21:14:38
  |
lme  |
Fix build on 9.x
PR: 204723
Submitted by: Markus Mann <freebsd-public@it64.de> |
2.4.0_2 17 Nov 2015 21:22:08
  |
lme  |
- Remove the unneeded .sample files in $DATADIR/itl. The .conf files there
should never be touched by a user.
- Add a pkg-message with a notice on major upgrades
- Bump PORTREVISION |
2.4.0_1 16 Nov 2015 20:12:33
  |
lme  |
- Add a dependency on libedit [1]
- Add procname variable to the rc script it knows about the running process [2]
- Bump PORTREVISION
Noticed by: ohauer [1], Oliver Brandmueller <ob@e-Gitt.NET> [2] |
2.4.0 16 Nov 2015 15:28:14
  |
lme  |
- Update to 2.4.0 |
2.3.11 26 Oct 2015 21:30:45
  |
lme  |
Update to 2.3.11 |
2.3.10 11 Sep 2015 04:59:15
  |
lme  |
- Update to 2.3.10
- Re-enable start_precmd in the rc script, creating needed directories in /var |
2.3.9 27 Aug 2015 19:39:15
  |
lme  |
Update to 2.3.9 |
2.3.8 24 Jul 2015 22:20:08
  |
lme  |
Update to 2.3.8
Changelog: https://github.com/Icinga/icinga2/blob/v2.3.8/ChangeLog
Committed from: Essen FreeBSD Hackathon
MFH: 2015Q3 |
2.3.6 14 Jul 2015 20:18:11
  |
lme  |
- Fix typo in plist [1]
- Install libdb_ido.so conditionally
Noticed by: pi [1] |
2.3.6 14 Jul 2015 18:42:55
  |
lme  |
- Update to 2.3.6
- Install more config files as sample config
- Fix directory permissions under /var
- Change database backend options to GROUP, so one can de-select both [1]
PR: 201114 [1]
Submitted by: Niels Kristensen
MFH: 2015Q3 |
2.3.4 28 Apr 2015 18:44:05
  |
bdrewery  |
USE_GITHUB: For the new support, fix DISTNAME to be more consistent.
When using GH_TAGNAME the DISTNAME would have GH_PROJECT and GH_ACCOUNT in
it. When not using GH_TAGNAME it would not have this. Now both cases
will add in the GH_PROJECT and GH_ACCOUNT.
Add special care to ensure that the DISTVERSION is not added in twice. If
a port does GH_TAGNAME=v${PORTVERSION} it will be added in twice though. For
that case DISTVERSIONPREFIX=v should be set and no GH_TAGNAME should be used.
empty() is used rather than (!defined || !${}) to support fmake.
The purpose of setting DISTNAME at all in these cases is to make it more clear
that the distfile is from *GITHUB* and to avoid collisions if a project were
to be renamed or moved. Without adding in GH_PROJECT and GH_ACCOUNT then there
are real risks that collisions on filenames would happen on renamed or moved
projects, which is fairly common. A GITHUB-generated file may not match
a custom-rolled or git-archive-rolled distfile.
PR: 199069
With hat: portmgr
Testing done: All USE_GITHUB ports without GH_COMMIT were
checksum/fetch/extract/WRKSRC tested. |
2.3.4 24 Apr 2015 12:04:39
  |
lme  |
- Update to 2.3.4
- Switch to USE_GITHUB |
2.3.3_1 01 Apr 2015 14:44:18
  |
lme  |
- Fix plist
- Bump PORTREVISION
PR: 198975
Submitted by: Chad Payne <cpayne@gmail.com> |
2.3.3 26 Mar 2015 21:37:17
  |
lme  |
Update to 1.3.3 |
2.2.4 08 Feb 2015 15:48:57
  |
lme  |
Update to 2.2.4 |
2.2.3 13 Jan 2015 17:50:17
  |
lme  |
- Update to 2.2.3 |
2.2.2_1 07 Jan 2015 19:43:40
  |
lme  |
- Fix segfault at startup by hardcoding "--no-stack-rlimit" in
lib/base/application.cpp
- Bump PORTREVISION
Noticed by: ohauer |
2.2.2 23 Dec 2014 15:44:43
  |
lme  |
Update to 2.2.2 |
2.2.1 12 Dec 2014 08:52:22
  |
lme  |
- Update to 2.2.1 |
2.2.0_1 25 Nov 2014 16:29:14
  |
lme  |
- Fix build when not both database backends are selected
- Fix plist
- Bump PORTREVISION
PR: 195186
Submitted by: ohartman@zedat.fu-berlin.de |
2.2.0 19 Nov 2014 12:38:25
  |
lme  |
Update to 2.2.0 |
2.1.1_3 03 Nov 2014 09:19:38
  |
marino  |
net-mgmt/icinga2: Trivial tweak of patch to fix build on DragonFly |
2.1.1_3 27 Oct 2014 20:07:02
  |
lme  |
- Chown icinga:icinga and chmod 640 on
etc/icinga2/feature-avalable/ido-{pgsql,mysql}.conf so normal users can't spy on
the database passwords
- Bump PORTREVISION
PR: 194636
Submitted by: Oliver Hartmann <ohartman@zedat.fu-berlin.de> |
2.1.1_2 20 Oct 2014 10:09:20
  |
marino  |
Add USES=alias to several ports
Alias is a new USES tool that allows DragonFly to masquerade as FreeBSD
by setting CFLAGS+= -D__FreeBSD__. For some ports, this fixes the build
without the need for additional patches.
Approved by: portmgr (bapt, blanket) |
2.1.1_2 03 Oct 2014 13:30:47
  |
lme  |
- Fix dependency on PGSQL
- Enable PGSQL by default
- Install manpages to the proper location
- Use option helpers [1]
- Use proper order of .mk includes [1]
- Bump PORTREVISION
Suggested by: bapt [1] |
2.1.1_1 30 Sep 2014 14:48:25
  |
lme  |
- Add EXAMPLES option to install schemas to create mysql/pgsql databases for
Icinga 2
- Bump PORTREVISION |
2.1.1 29 Sep 2014 21:27:56
  |
lme  |
- Update to 2.1.1
- Add a dependency on Python
- Remove @dirrmtry in plist |
2.0.1_1 30 Jul 2014 16:17:39
  |
lme  |
- Add OPTIONS to either depend on plugins from nagios-plugins.org,
monitoring-plugins.org or neither at all
- Bump PORTREVISION
Approved by: mat (implicit) |
2.0.1 16 Jul 2014 03:00:46
  |
adamw  |
Add DOCS option for ports with PORTDOCS in plist. |
2.0.1 11 Jul 2014 19:13:47
  |
lme  |
Update to 2.0.1 |
2.0.0 22 Jun 2014 20:44:23
  |
lme  |
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
WWW: http://www.icinga.org/icinga2/ |