Dynamically setting check_interval parameter based on Service_State in Icinga2

I have a requirement where check interval is 180 mins while notification interval is 10 mins. Means service owner wants if he miss any alert that usually comes after 180 mins if service is critical then Icinga keeps on checking and informing them every 10 mins until service goes back to normal. i tried interval … Read more

NRPE not working after NRPE plugin upgrade from v2.15 to v3.2.1

I’m migrating our Icinga 2 from Debian 8 to Ubuntu 18.04. The old server had NRPE plugin 2.15. The new server has NRPE plugin 3.2.1. If I try to connect with the new plugin to old NRPE servers (v2.15 too), I get these errors: $ /usr/lib/nagios/plugins/check_nrpe -H some.server CHECK_NRPE: (ssl_err != 5) Error – Could … Read more

Icinga2: Send E-Mail on Host/Service Down

I installed and configured Icinga2 with icingaweb2. I added a test-host with a test-service: Let’s call it “example.com”. This is the test-host: /etc/icinga2/conf.d/hosts/example-com: object Host “example-com” { //Importiert die generische Host-Vorlage aus der template.conf import “generic-host” //IPv4 Adresse address = “2xx.2xx.2xx.2xx” //Angabe des Betriebssystemtyps vars.os = “Linux OS” vars.sla = “24×7” } Okay, then we … Read more

icingaweb2 displaying an empty page

I’m attempting to set up icinga2 and icingaweb2 on a Ubuntu 16.04 system using mariadb as the database. I seem to have icinga set up OK (no errors in the icinga.log, apache error log or syslog) but when I try and navigate to the icinga2 web page I just get a blank page with the … Read more

How to restrict a hostgroup to a specific user group? (icinga2/icingaweb2)

I want to know how to restrict a hostgroup to a specific group of users in icinga. In case that many organizations use the monitoring system, they can only see what’s inside their hostgroup/s Answer In icingaweb2 go to configuration -> authorization -> roles -> create new role. Under monitoring/filter/objects you can enter any filter … Read more

Getting Segfault Error and Icinga2 fails with error 139

Icinga2 version – 2.11.3-1 May 24 09:31:21 master-icinga-1a kernel: icinga2[531]: segfault at 48 ip 000000000062a617 sp 00007fbd824b2990 error 4 in icinga2[400000+a0c000] We are stuck with this error for almost a week now. Don’t see any errors when restarting Icinga2. Only when we check the status of Icinga2 and other logs we see this. Whenever we … Read more

Icinga2 node setup fails. “Too many arguments. At most 0 arguments must be specifed”

Icinga Version: r2.10.3-1 I am trying to use an ansible playbook to automate my icinga client configuration. When i run the icinga2 node setup command in my playbook I get the error I mentioned in the title. “Too many arguments. At most 0 arguments must be specified”. Here is the part of the playbook which … Read more