Icinga2 cluster - Performance tuning tips

Ubuntu 24.04 LTS based Icinga2 r2.15.0-1 cluster. All nodes are VMs on KVM hypervisors with 8 vCPUs and 8GB memory.

15 Zones
12K hosts
77K services
Not using Icinga2 agent but nrpe 4.1.3

Looking for tuning tips for the optimal performance from OS, Icinga2 app, Mysql IDO and network perspectives.

Please advise. Thanks

This is a very broad question, which might be easier to reverse. What problems do you have in your setup? Is the load too high? Are there continuous disk operations?

In general, using NRPE results in the Icinga masters to execve(2) the plugin for each check. Depending on your check intervals, this may result in lots of unnecessary load. Using the Icinga 2 agent would reduce this, since it sends network commands to the hosts on its own. However, this would be a huge change and if it currently works for you, I would not touch it.

On a similar note, Icinga DB tires to address some IO issues of IDO. Thus, switching might help. Especially for Icinga DB, we have started an operations section, also containing performance related information.

But if everything works in its current state, I would keep it this way :slight_smile:

1 Like