I am hoping that someone can assist us with an issue that we are having with icinga2.
We are currently running icinga2 on ubuntu 14.04 and we are monitoring a LOT of services with this.
Recently we have been getting cases where icinga acts up with errors stating "unable to open pipe" or "too many open files"
After investigating we saw that it is opening way above the default configured amount of 16384 files.
We attempted to set this via OS paramaters which had no effect and later found that icinga has its own limits.
We then tried to change these based on a lot of posts that we found, however it still does not recognize the changes even after server reboots.
Can someone perhaps assist us with info on how we can change or fix this ?
icinga version is : r2.4.1-1
We have added the settings to /etc/sysconfig/icinga2 which is a symlink to /usr/lib/icinga2/icinga2 as per a previous post we found.
We also added this to the /etc/icinga2.conf as well as /etc/default/icinga2 as per other posts, however none of these are taking any effect as icinga limits still remains on the default limits.
If you’re on Debian/Ubuntu, the sysconfig file for applications is located in /etc/default/, so you’ll need to edit /etc/default/icinga2 for Icinga 2. /etc/sysconfig is available on RHEL/SUSE based distributions.
Ok, and are you using Systemd or SysVInit? Maybe you’re using an old version of those (changed during upgrade) and the included overrides are not intact anymore.