Switch Services limited to 219

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
GianmarcoV
Posts: 3
Joined: Fri Jul 28, 2017 8:07 am

Switch Services limited to 219

Post by GianmarcoV »

Hi,

We are colleting information from 8 module stack cisco switch catalyst 4510, with the wizard "Switch /Router".
The services shown are limited to 219.
We have more than 219 ports. Is it a bug?
Is There any workaround?

Nagios XI release 5.4.6

Thanks
Gianmarco
bolson

Re: Switch Services limited to 219

Post by bolson »

Hello Gianmarco,

I'll do more research but at this point I'm unable to find info about any such limit. How many ports does your stack have? Are they all enabled?
GianmarcoV
Posts: 3
Joined: Fri Jul 28, 2017 8:07 am

Re: Switch Services limited to 219

Post by GianmarcoV »

Hello Bolson,

the stack is composed by 8 switchs 48 ports each.
They are all enabled. All the ports are more than 500 (port-chanel, vlan, ports,).

I think that is a bug because I have collect to differente stacks, of different networks, and alway I have the same result.

This is another example.
This is a stack of 4 switch Dell 48 ports.
The services are limited to 219, but, how you can see, the services are limited to the third switch of the stack.
I can't the services of the fourth switch.

Thanks
Gianmarco
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: Switch Services limited to 219

Post by tgriep »

The issue looks like you could be hitting a PHP / Apache limit causing it to truncate the settings.

Lets increase the limits that PHP and Apache uses and see if that lets the system display all of the ports.
Edit the /etc/php.ini file and change the following from

Code: Select all

max_execution_time = 30
max_input_time = 60
memory_limit = 128M
to

Code: Select all

max_execution_time = 60
max_input_time = 120
memory_limit = 512M
If they have been increased, increase them further.

Then add this to the bottom of that file

Code: Select all

max_input_vars=5000
Save the file and edit the following file

Code: Select all

/etc/httpd/conf/httpd.conf
Add this line to the bottom of that file

Code: Select all

LimitRequestLine 100000
Save the the file and restart Apache for the changes to take affect.

Code: Select all

service httpd restart
Then you need to rerun the Wizard to add the rest of the ports for those switches.
Let us know if you have any other questions.
Be sure to check out our Knowledgebase for helpful articles and solutions!
GianmarcoV
Posts: 3
Joined: Fri Jul 28, 2017 8:07 am

Re: Switch Services limited to 219

Post by GianmarcoV »

Great solution, now it works!!

Thanks you
bolson

Re: Switch Services limited to 219

Post by bolson »

May we close this topic as resolved?
Locked