How do I increase rows per page to more than 750?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
stefanbrudny
Cacti User
Posts: 130
Joined: Thu Jan 19, 2012 11:52 am

How do I increase rows per page to more than 750?

Post by stefanbrudny »

I tried editing (note 7500):

Code: Select all

$item_rows = array(
        15    => '15',
        16    => '16',
        17    => '17',
        18    => '18',
        19    => '19',
        20    => '20',
        21    => '21',
        22    => '22',
        23    => '23',
        24    => '24',
        25    => '25',
        26    => '26',
        27    => '27',
        30    => '30',
        40    => '40',
        44    => '44',
        45    => '45',
        50    => '50',
        100   => '100',
        250   => '250',
        500   => '500',
	7500   => '7500'
);

But that gives me only:
Screenshot_20220625_010842.png
Screenshot_20220625_010842.png (6.28 KiB) Viewed 1117 times
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: How do I increase rows per page to more than 750?

Post by TheWitness »

There are two values that you have to increase in your /etc/php.ini file. Keep in mind, you will have to restart apache:

max_input_vars = 7500
post_max_size = 1G

Then, you should be able to have more items. Note though, if you are using a more recent version of apache that leverages php-fpm, you web server will likely time out performing expensive operations. Not happy about that of course, but not much that can be done.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
stefanbrudny
Cacti User
Posts: 130
Joined: Thu Jan 19, 2012 11:52 am

Re: How do I increase rows per page to more than 750 for bulk edit?

Post by stefanbrudny »

Thanks, having 10k to 25k still works fine for me.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests