Package Details: icinga2 2.12.0-1

Git Clone URL: (read-only, click to copy)
Package Base: icinga2
Description: An open source host, service and network monitoring program
Upstream URL:
Licenses: GPL
Replaces: icinga2-common
Submitter: bebehei
Maintainer: julianbrost
Last Packager: julianbrost
Votes: 35
Popularity: 0.20
First Submitted: 2014-06-23 01:10
Last Updated: 2020-08-19 10:39

Required by (0)

Sources (4)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

ArthurBorsboom commented on 2020-09-06 15:16

I'm using this package on several light weight servers, which usually have 512-2048 MB of RAM.

However, during the package upgrade (compilation) process, the earlyoom kicks in and kills the compilation process (+/- 10% of RAM left).

It seems Icinga2 agent runs well with little RAM; it is just the compilation which needs a lot of RAM (4GB+). Is there a way to reduce the memory hunger of the compilation process of this package?

Are there precompiled packages for Arch available?

julianbrost commented on 2020-02-23 22:04

I've just pushed yet another workaround which now allows compiling against the current boost version 1.72 from the extra repo and does not pull in any other AUR packages. It's a bit hacky unfortunately, and will likely need an update on the next boost update.

julianbrost commented on 2020-02-23 12:29

The conflict only exists for the boost and boost1.69 packages which contains the header files and are only needed at compile time. boost-libs and boost1.69-libs can be installed at the same time. I usually build the packages using extra-x86_64-build from the devtools package, which does the build in a systemd-nspawn container, where conflicting compile time dependencies are not an issue.

However, now that boost1.69 is gone from the repos, that workaround isn't that nice any more.

jhu commented on 2020-02-23 10:06

Since ":: boost1.69-libs is unmaintained!" now is a thing, I can tell you, that compiling still worked with boost 1.71, the reason I have configured

IgnorePkg   = boost
IgnorePkg   = boost-libs

with the result of

warning: boost: ignoring package upgrade (1.71.0-4 => 1.72.0-1)
warning: boost-libs: ignoring package upgrade (1.71.0-4 => 1.72.0-1)

during system updates. Ugly, but I can live with that and found it better than the forced boost downgrade to 1.69 that came with icinga2 2.11.2-2. Arch has no mechanism to have different library versions in slots like Gentoo, or does it?

bortzmeyer commented on 2020-02-12 13:33

OK, my previous report was just a problem of memory. Only (!!!) four gigabytes. With sixteen gigabytes, and adlerweb's workaround, it compiles and runs.

bortzmeyer commented on 2020-02-11 14:26

Does not compile today:

% yay -S icinga2
:: There are 2 providers available for icinga2:
:: Repository AUR
    1) icinga2 2) icinga2-git 

Enter a number (default=1): 
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur: 1]  icinga2-2.11.2-1

  1 icinga2                                  (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
:: PKGBUILD up to date, Skipping (1/1): icinga2
  1 icinga2                                  (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
:: Parsing SRCINFO (1/1): icinga2
==> Making package: icinga2 2.11.2-1 (Tue Feb 11 15:12:14 2020)
==> Retrieving sources...
[ 21%] Building CXX object lib/base/CMakeFiles/base.dir/base_unity.cpp.o
{standard input}: Assembler messages:
{standard input}:98656: Warning: end of file not at end of a line; newline inserted
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [lib/base/CMakeFiles/base.dir/build.make:237: lib/base/CMakeFiles/base.dir/base_unity.cpp.o] Error 1
make[2]: *** Deleting file 'lib/base/CMakeFiles/base.dir/base_unity.cpp.o'
make[2]: Leaving directory '/home/stephane/.cache/yay/icinga2/src/icinga2-2.11.2/build'
make[1]: *** [CMakeFiles/Makefile2:1746: lib/base/CMakeFiles/base.dir/all] Error 2
make[1]: Leaving directory '/home/stephane/.cache/yay/icinga2/src/icinga2-2.11.2/build'
make: *** [Makefile:163: all] Error 2
==> ERROR: A failure occurred in build().
Error making: icinga2

adlerweb commented on 2020-02-11 11:26


pacman -Rdd boost boost-libs
pacman -S boost1.69 boost1.69-libs
Edit PKGBUILD and change "boost"/"boost-libs" in "depends"/"makedepends" to "boost1.69"/"boost1.69-libs".
makepkg, etc

danieltetraquark commented on 2020-02-05 22:02

Build breaks again, but removing boost and boost-libs doesn't help:

/usr/include/boost/coroutine/asymmetric_coroutine.hpp: In Funktion »typename boost::coroutines::pull_coroutine<R>::iterator boost::coroutines::begin(boost::coroutines::pull_coroutine<Arg>&)«:
/usr/include/boost/coroutine/asymmetric_coroutine.hpp:2364:17: Fehler: »begin« ist kein Element von »boost«
 2364 | { return boost::begin( c); }
/usr/include/boost/coroutine/asymmetric_coroutine.hpp:2374:17: Fehler: »end« ist kein Element von »boost«
 2374 | { return boost::end( c); }

julianbrost commented on 2019-10-08 17:37

Please don't use flag out-of-date for reporting bugs with the package. This won't speed up anything.

freaknils commented on 2019-10-08 05:44

@Ich875: You have to remove boost and boost-libs first pacman -Rdd boost boost-libs