Page 1 of 1

Issue with NXTI - pagination

Posted: Thu Mar 12, 2020 8:45 am
by Francesco
Dear support,
using NXTI we noticed that pagination is not working.
We need to process more than 100 traps and it is not possible using the GUI.

We found a workaround modifying the dropdown menu with browser developer tools.
For example from

Code: Select all

<option value="100">100 Per Page</option>
to

Code: Select all

<option value="500">500 Per Page</option>
We tried a little troubleshooting.
Using the internal network tracker of the browser, we found that probably a script asks for the page
nagiosxi/includes/components/nxti/index.php?&mode=defRecord&search=
receiving " {"recordcount":0} ".

We saw that after the previous request, it asks for the page
nagiosxi/includes/components/nxti/index.php?&mode=defTable&page=1&perpage=5&search=&orderby=trapdata_event_name&orderdir=ASC

If we try
nagiosxi/includes/components/nxti/index.php?&mode=defTable&page=2&perpage=5&search=&orderby=trapdata_event_name&orderdir=ASC
it works.

We are using Nagios XI 5.5.9 installed on RHEL 6, we have to wait for the upgrade to the latest version.
But we read the changelog and we can not find anything about NXTI.

Have you a fix for that issue?

Thank you for your attention

Re: Issue with NXTI - pagination

Posted: Thu Mar 12, 2020 3:57 pm
by scottwilkerson
This is a pretty old version, do you have the Jump to page box on the lower right?

Re: Issue with NXTI - pagination

Posted: Fri Mar 13, 2020 10:39 am
by Francesco
Yes, in the top right and in the lower right.
It says "Page 1 of 0".
If i put a number and press the button, nothing happens.

Thank you

Re: Issue with NXTI - pagination

Posted: Fri Mar 13, 2020 11:14 am
by swolf
Hi @Francesco,

The "page 1 of 0" indicator normally shows if there are no records in the table - does the table show any data?

If it does, let me know the linux distribution and architecture (for example, CentOS 7 x64) that was used to install nagios.

Re: Issue with NXTI - pagination

Posted: Wed Mar 18, 2020 6:24 am
by Francesco
As I wrote in the first post, we have more than 100 entries in the table.
We are using Nagios 5.5.9 installed on Red Hat Enterprise Linux Server release 6.7.

Re: Issue with NXTI - pagination

Posted: Wed Mar 18, 2020 9:21 am
by swolf
Thanks. We do have a couple of fixes coming in XI 5.7, but I'll try to reproduce this in the next few days and see whether it's fixed in latest/needs additional patching.

Re: Issue with NXTI - pagination

Posted: Fri Apr 03, 2020 4:13 am
by Francesco
Dear support, any update on this?

Thank you very much

Re: Issue with NXTI - pagination

Posted: Fri Apr 03, 2020 1:24 pm
by lmiltchev
The issue will be fixed in Nagios XI 5.6.13, which should be out soon (most likely, sometime next week, provided all of the testing is completed). Thank you!