Icinga service takes too long to respond

Hi,
I am prince from Ghana. I use icinga version 2.8.2, and almost a week now anytime i restart “icinga2.service” in my terminal it takes to long to reply back.

And also anytime i open my icingaweb2 and i try to open a service or host in the dashboard it loads nothing and there’s no information shown as well, this also happened this week.
.
Find attached a screen shot on the icingaweb2 panel with the red circled side showing nothing loading.

Firstly, why are you using such an old version of icinga? 2.8.2 is well over
four years old.

Secondly, can you give us a bit of information about the machine you’re
running Icinga on and what you’re asking Icinga to do?

  1. What Operating System & Version are you using?

  2. How much RAM does the machine have?

  3. What does “uptime” or “top” tell you about the system load average?

  4. How many satellites / agents are you monitoring?

  5. How many service checks are you performing?

  6. Did anything change “almost a week ago” such as an upgrade of either
    Icinga, the Operating System, or something else?

Antony.

Thanks for the reply.
can you teach me how to upgrade my version of icinga to the current one please cos am new to this.

  1. Centos on a virtual machine

  2. 16gb Ram

  3. the load average i get is 0.30,0.14,0.12

  4. i just monitor websites via ping , at the moment i have added only 3 websites to monitor. i used director

5.1 only ping

  1. okay so i have been trying to add graphite this week. did the graphite installation on another server and pasted the link on my icingaweb2 graphite backend but still shows no graphs found.
    and also this week i tried to add the mapdatatype too but am not seeing anything as well.

Hope this answers!

Thanks for the reply.
can you teach me how to upgrade my version of icinga to the current one
please cos am new to this.

I can’t answer that because I’m not familiar with CentOS, however:

  1. There’s nothing different about upgrading Icinga from upgrading any other
    application

  2. There are other people here who are familiar with CentOS and I’m sure can
    answer your question in more detail.

  1. Centos on a virtual machine

  2. 16gb Ram

That’s quite a big VM - is it doing anything else than running Icinga?

  1. the load average i get is 0.30,0.14,0.12

  2. i just monitor websites via ping , at the moment i have added only 3
    websites to monitor.

So, nothing significant for Icinga to do, then.

i used director

Okay, that’s significant - I don’t use Director, so if there’s anything specific
to the way that sets up the machine, someone else can answer better than I
can.

  1. 1 only ping

Okay, so that’s basically nothing as far as Icinga is concerned (especially
with 16 Gb RAM).

  1. okay so i have been trying to add graphite this week. did the graphite
    installation on another server

Did that one work?

and pasted the link on my icingaweb2 graphite backend but still shows no
graphs found. and also this week i tried to add the mapdatatype too but am
not seeing anything as well.

Let’s deal with one problem at a time before making things any more complex.

Did your problem with Icinga exist before you added Graphite?

Also, what you see in /var/log/icinga2/icinga2.log when you restart Icinga and
it takes a long time?

Antony.

this is what i see /var/log/icinga2/icinga2.log

For upgrading take a look into the docs: https://icinga.com/docs/icinga-2/latest/doc/16-upgrading-icinga-2/#upgrading-icinga-2
Here is everything you need to consider

The update command on CentOS is

yum update

if you want update e specific program just type

yum update [package name(s) ]

Hello Thanks for the reply.

I was able to fix it. the problem was with my graphite, i had to disable it then it icinga started to work normal again . But i till want to use graphite.
Any help

Hello Steve thanks for the reply.

so if i type yum update plus the upgrade link and update it thats all i have to do and just restart icinga2.service?