Why pnp4nagios running on nagios xi so slow ?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
eric.lin826
Posts: 33
Joined: Thu Apr 02, 2015 11:51 pm

Why pnp4nagios running on nagios xi so slow ?

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: Why pnp4nagios running on nagios xi so slow ?

Post 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)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Why pnp4nagios running on nagios xi so slow ?

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
eric.lin826
Posts: 33
Joined: Thu Apr 02, 2015 11:51 pm

Re: Why pnp4nagios running on nagios xi so slow ?

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Why pnp4nagios running on nagios xi so slow ?

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
eric.lin826
Posts: 33
Joined: Thu Apr 02, 2015 11:51 pm

Re: Why pnp4nagios running on nagios xi so slow ?

Post 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 !
eric.lin826
Posts: 33
Joined: Thu Apr 02, 2015 11:51 pm

Re: Why pnp4nagios running on nagios xi so slow ?

Post by eric.lin826 »

Dears
The problem was resolve !
Just only reinstall fontconfig (& fontconfig-devel) package to fix it.

# yum reinstall fontconfig fontconfig-devel -y
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Why pnp4nagios running on nagios xi so slow ?

Post by scottwilkerson »

Excellent, glad you were able to resolve the issue!
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked