Page 1 of 1

Switch Services limited to 219

Posted: Fri Jul 28, 2017 8:23 am
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

Re: Switch Services limited to 219

Posted: Fri Jul 28, 2017 12:11 pm
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?

Re: Switch Services limited to 219

Posted: Tue Aug 01, 2017 10:35 am
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

Re: Switch Services limited to 219

Posted: Tue Aug 01, 2017 2:00 pm
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.

Re: Switch Services limited to 219

Posted: Wed Aug 02, 2017 3:50 am
by GianmarcoV
Great solution, now it works!!

Thanks you

Re: Switch Services limited to 219

Posted: Wed Aug 02, 2017 11:56 am
by bolson
May we close this topic as resolved?