Package Details: icinga2 2.14.2-1

Git Clone URL: https://aur.archlinux.org/icinga2.git (read-only, click to copy)
Package Base: icinga2
Description: An open source host, service and network monitoring program
Upstream URL: https://icinga.com/
Licenses: GPL
Replaces: icinga2-common
Submitter: bebehei
Maintainer: julianbrost
Last Packager: julianbrost
Votes: 38
Popularity: 0.098206
First Submitted: 2014-06-23 01:10 (UTC)
Last Updated: 2024-02-18 12:46 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 15 Next › Last »

julianbrost commented on 2019-08-14 18:52 (UTC)

@zork bison and flex are members of the base-devel package group. As per https://wiki.archlinux.org/index.php/PKGBUILD#makedepends these should not be added to makedepends.

zork commented on 2019-08-14 18:48 (UTC)

Missing build dependencies: bison, flex

julianbrost commented on 2019-06-07 18:19 (UTC)

I think you'd have to find a trusted user willing to maintain it in community. I'm not one of them.

kbabioch commented on 2019-06-07 17:54 (UTC)

Any chance this can be moved to community, so all of this compilation pain goes away for most of us?

zork commented on 2019-05-08 11:46 (UTC)

I had to add additional swapfile on machine with 4GB ram and no services running. Compilation used about 400MB of swap.

wuestengecko commented on 2019-03-14 17:41 (UTC)

I just set up a small VM according to your specs (2GB RAM + 2GB swap, but without any other services running in the background), and I could see some pretty large memory usage spikes of well over 1.5GB. Depending on your average memory load, this might be enough pressure to SIGKILL something, however it did build fine for me.

There's no functional difference between this PKGBUILD and the git version, so if you built the git package with the release commit, that should work just as well. Regardless, I suggest you setup a chroot for building on your main machine (or somewhere else with sufficient RAM) and then just upload the built package to your server.

malina commented on 2019-03-13 20:21 (UTC) (edited on 2019-03-13 20:24 (UTC) by malina)

@wuestengecko Thank you for the advices!

I would like to compile on a virtual machine with 2 processors and 2GB of memory, for which I have set a 2 GB swap. This is a simple Arch Linux server that I installed: powerdns, mysql55, apache, php, redmine, zabbix, postgresql.

Later (after icinga2 package), I tried to install the icinga2-git package, but it is also failed (on the same, 90%).

Answering your question: I just used the yaourt and I modified the PKGBUILD file as the yaourt offered.

I had an idea: Icinga latest version is 2.10.3 and Icinga developers use tags for versioning, but the last commit of 2.10.3 was not the same (in icinga2-git package is adf1549c2d6ce3ace0490122779290f6cf72071c), so I modified the source:

git + https: //github.com/Icinga/icinga2.git#commit=101783d7efe3050d68d2370db7b14a088bc1f413

The important thing: #commit=101783d7efe3050d68d2370db7b14a088bc1f413 , this is the last commit of version 2.10.3 (now)

The icinga2-git package uses the master branch, commit: adf1549c2d6ce3ace0490122779290f6cf72071c

101783d7efe3050d68d2370db7b14a088bc1f413 commit has worked, it was compiled. I haven't tried it yet, so I'm hoping it will work.

By the way, I don't understand the reason, I'm doing a diff between the two commit.

julianbrost commented on 2019-03-13 18:02 (UTC)

@malina: There should be a more specific error message from ld somewhere in the output stating why it exited with an error code.

wuestengecko commented on 2019-03-13 17:11 (UTC)

@malina That 90% bit is a little strange, I can build it fine with -DICINGA2_UNITY_BUILD=OFF, and "Linking CXX executable ../Bin/Release/icinga2" is at 100% for me - no matter if on my "live system" or in a chroot.

Seeing how you had out-of-memory issues to begin with - might that be the case here too? Try adding a swapfile of 4 GB or so.

Generic troubleshooting questions, if that didn't work: Did you make any other change to the PKGBUILD? Did you make any changes to your makepkg.conf and/or create a $HOME/.makepkg.conf? How exactly do you build, do you use makepkg directly or any helper tool?

malina commented on 2019-03-13 00:24 (UTC) (edited on 2019-03-13 00:36 (UTC) by malina)

I can't compile the program, it always stops with the same error:

[ 90%] Linking CXX executable ../Bin/Release/icinga2 collect2: error: ld returned 1 exit status
make[2]: *** [icinga-app/CMakeFiles/icinga-app.dir/build.make:655: Bin/Release/icinga2] Error 1
make[1]: *** [CMakeFiles/Makefile2:2331: icinga-app/CMakeFiles/icinga-app.dir/all] Error 2
make: *** [Makefile:163: all] Error 2

Does anyone have an idea?