Cacti Pooler & 2500 graphs to udpate

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

Moderators: Developers, Moderators

Post Reply
RobinBaillieux
Posts: 17
Joined: Mon Apr 27, 2020 4:43 am

Cacti Pooler & 2500 graphs to udpate

Post by RobinBaillieux »

Hello everyone,

I am working for a company which uses Cacti as one of its main monitoring tools and we currently have 2500 graphs monitored.
Since 2,3 months ago we noticed issue with newly created devices/graphs. Indeed we cannot see the data, we only get an empty graph, but when we hit the "realtime" button we can see information which show we are not in front of a network issue.

We actually think we have so many graph to update that our pooler cannot follow anymore as this log suggest it. Our pooler is set at 5 mn interval which is the highest value in Cacti Option.
"09/12/2021 14:05:03 - CMDPHP WARNING: cmd.php poller over ran its polling intervale and therefore ending"
Do we have reach the limite of Cacti or is there any way to solve this ?

Pooler Every 5 mn
Image

Realtime
Image

Kind regards,

Baillieux Robin.
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Cacti Pooler & 2500 graphs to udpate

Post by cigamit »

Post the STATS line from your log. You probably need to increase the processes. I would also recommend you use SPINE instead of cmd.php.
Rno
Cacti Pro User
Posts: 711
Joined: Wed Dec 07, 2011 9:19 am

Re: Cacti Pooler & 2500 graphs to udpate

Post by Rno »

Cacti can handle way more than 2500 graphs, here is mine:
13/12/2021 08:38:13 - SYSTEM STATS: Time:12.2734 Method:spine Processes:5 Threads:12 Hosts:2358 HostsPerProcess:472 DataSources:16990 RRDsProcessed:0


But using spine and 5 process and 12 threads.

The key is the number of process and thread, to much is not good, too low either.

After that you have to optimze the DB a little bit, but not for 2500 graphs
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
RobinBaillieux
Posts: 17
Joined: Mon Apr 27, 2020 4:43 am

Re: Cacti Pooler & 2500 graphs to udpate

Post by RobinBaillieux »

Hello,

First sorry for the late reply and thank you for your help.

Indeed, I solved the issue by increasing the process numbers on Cacti.
I watched this video (https://www.youtube.com/watch?v=PiRMdb4Q8uI&t=1s)

Initially it was set to 1, it is now at 4.

I am not comfortable to change the cmd by spine as I do not know the risk and the potential impact it could have on our monitoring tool..

Kind regards,

Baillieux Robin.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests