Nagios XI - UI too slow after migration.
Posted: Thu Jul 30, 2020 1:35 pm
Hi all!
I have a little problem with the NagiosXI UI Performance.
We had to migrate our NagiosXI environment from CMO to FMO and we've planed to do it in two parts. In the first one, we migrate the frontend to the FMO and we keep the database in CMO, and in the second one we migrate the database from CMO to FMO. We have done the first part. The migration process had some problems, because the database server hosts different db instances for other projects, so the root account is reserved to the database administrator. I had to modify the restore_xi.sh file and import the nagios.sql file manually.
After the process, evertything seemed to be OK but the Nagios XI interface was too slow.
The FMO server is an offline one. The version installed of Nagios in both servers was the same (5.6.7). We followed the process explained in: https://assets.nagios.com/downloads/nag ... ios-XI.pdf. I've tested a remote mysql connection to get all the logentries and it took 2.82 seconds, so I suppose that there is not a latency problem. The UI works more or less with the admin menu, or any other menu that doesn't show objects' information, CCM menu works, slowly, but it works. But when I try to load servers or hosts status, it take ages, and when I try to open a host or a service to force a check or to run a command, it gets unresponsiveness. I've used different browsers. I've check info using the API through the CLI, and the times are goods. I've restarted the server. I've tried to repair the database tables.
I've read some post in the forum and search on the Internet, but I couldn't find that helps me to solve the problem.
It is not a performance problem, the server has 128GB RAM, 32vCPUs... I'm a bit lost, because I suppose that it will be a delay or a bit lag, but it is impossible to work with that interface.
I will appreciate any help.Thanks in advance.
BR,
Juanma.
I have a little problem with the NagiosXI UI Performance.
We had to migrate our NagiosXI environment from CMO to FMO and we've planed to do it in two parts. In the first one, we migrate the frontend to the FMO and we keep the database in CMO, and in the second one we migrate the database from CMO to FMO. We have done the first part. The migration process had some problems, because the database server hosts different db instances for other projects, so the root account is reserved to the database administrator. I had to modify the restore_xi.sh file and import the nagios.sql file manually.
After the process, evertything seemed to be OK but the Nagios XI interface was too slow.
The FMO server is an offline one. The version installed of Nagios in both servers was the same (5.6.7). We followed the process explained in: https://assets.nagios.com/downloads/nag ... ios-XI.pdf. I've tested a remote mysql connection to get all the logentries and it took 2.82 seconds, so I suppose that there is not a latency problem. The UI works more or less with the admin menu, or any other menu that doesn't show objects' information, CCM menu works, slowly, but it works. But when I try to load servers or hosts status, it take ages, and when I try to open a host or a service to force a check or to run a command, it gets unresponsiveness. I've used different browsers. I've check info using the API through the CLI, and the times are goods. I've restarted the server. I've tried to repair the database tables.
I've read some post in the forum and search on the Internet, but I couldn't find that helps me to solve the problem.
It is not a performance problem, the server has 128GB RAM, 32vCPUs... I'm a bit lost, because I suppose that it will be a delay or a bit lag, but it is impossible to work with that interface.
I will appreciate any help.Thanks in advance.
BR,
Juanma.