Page 1 of 1

Why pnp4nagios running on nagios xi so slow ?

Posted: Mon Sep 04, 2017 9:47 am
by eric.lin826
Hi
I got a problem on pnp4nagios, when i run the pnp4nagios on nagios core, the page loading time about 1s,
but when i run the pnp4nagios on Nagios XI, the page loading time over 5s, what is the cause make the result happend ?

My System Information:
(the two system are both on the same vm host, and the vm host has only the two guest os, the two system load the same rrd file)

Host:192.168.31.100
CPU:2 Core
RAM:2 GB
OS:CentOS 6.9 x64
Disk:20GB
PNP4Nagios 0.6.26
Nagios Core 4.3.4

Host:192.168.31.101
CPU:2 Core
RAM:2 GB
OS:CentOS 6.9 x64
Disk:20GB
PNP4Nagios 0.6.26
Nagios XI 5.4.8

Re: Why pnp4nagios running on nagios xi so slow ?

Posted: Tue Sep 05, 2017 7:49 am
by tacolover101
could you post a full dump of all the files that were loading / time they took? it's possible it's waiting on a single file to return.

additionally, what amount of data has been placed in each RRD file? is it comparable between the two?

i don't think anything with the graphing depends on SQL, but it's possible, so just trying to clear up any possibile inconsistencies between the two. (the Nagios team should know for sure)

Re: Why pnp4nagios running on nagios xi so slow ?

Posted: Tue Sep 05, 2017 7:55 am
by scottwilkerson
My guess is it is conflicting with the pnp4nagios installation that comes with Nagios XI that isn't directly upgradable. You likely have multiple versions running on the same server.

Unfortunately we do not support pnp4nagios 0.6.26 on a nagios XI server

Re: Why pnp4nagios running on nagios xi so slow ?

Posted: Wed Sep 06, 2017 10:08 am
by eric.lin826
tacolover101 wrote:could you post a full dump of all the files that were loading / time they took? it's possible it's waiting on a single file to return.

additionally, what amount of data has been placed in each RRD file? is it comparable between the two?

i don't think anything with the graphing depends on SQL, but it's possible, so just trying to clear up any possibile inconsistencies between the two. (the Nagios team should know for sure)
Hi tacolover101

thanks for your reply!

First, I dump the data as har file by chrome, you can read the file content on the website (http://www.softwareishard.com/har/viewer/).

Second, the RRD on the two platform is the same file, so I already to clear up any possibile inconsistencies between the two system, and this situation is always happen and very easy to duplicate.

Re: Why pnp4nagios running on nagios xi so slow ?

Posted: Wed Sep 06, 2017 2:18 pm
by tgriep
Like @scottwilkerson said, we do not support installing a newer version of PNP4Nagios as it may conflict with the version that is installed with XI.
One thing to think about is that the XI server is running a lot more processes / applications than a core server so it will need more memory and CPU's available to it.
Try increasing them and see if it helps.

Re: Why pnp4nagios running on nagios xi so slow ?

Posted: Sat Sep 09, 2017 3:19 am
by eric.lin826
tgriep wrote:Like @scottwilkerson said, we do not support installing a newer version of PNP4Nagios as it may conflict with the version that is installed with XI.
One thing to think about is that the XI server is running a lot more processes / applications than a core server so it will need more memory and CPU's available to it.
Try increasing them and see if it helps.
I tried, it doesn't work !

Re: Why pnp4nagios running on nagios xi so slow ?

Posted: Sat Sep 09, 2017 8:13 am
by eric.lin826
Dears
The problem was resolve !
Just only reinstall fontconfig (& fontconfig-devel) package to fix it.

# yum reinstall fontconfig fontconfig-devel -y

Re: Why pnp4nagios running on nagios xi so slow ?

Posted: Mon Sep 11, 2017 8:41 am
by scottwilkerson
Excellent, glad you were able to resolve the issue!