It fails when I graph many devices, please help me
Moderators: Developers, Moderators
-
- Posts: 13
- Joined: Mon Oct 31, 2022 8:51 pm
It fails when I graph many devices, please help me
I work for an ISP.
I want to know what is the maximum number of devices that I can graph, if cacti has a limit of concurrent graphs
My intention is to graph all my users and have the graphs of the network interfaces to look at the graphs of the Mb consumed, the users exceed 5000 users.
currently when I have a high number of graphs I see that the new graphs do not work, but the old ones do keep graphing well
please help me with this; to know why when I add more graphics the new ones don't work; I want to know if cacti has a limit of concurrent graphs
I want to know what is the maximum number of devices that I can graph, if cacti has a limit of concurrent graphs
My intention is to graph all my users and have the graphs of the network interfaces to look at the graphs of the Mb consumed, the users exceed 5000 users.
currently when I have a high number of graphs I see that the new graphs do not work, but the old ones do keep graphing well
please help me with this; to know why when I add more graphics the new ones don't work; I want to know if cacti has a limit of concurrent graphs
Re: It fails when I graph many devices, please help me
I know of sites with 1M+
Before history, there was a paradise, now dust.
-
- Posts: 13
- Joined: Mon Oct 31, 2022 8:51 pm
Re: It fails when I graph many devices, please help me
Hi
question:
I have to configure something additional in php to make it work with many simultaneous graphs ?
question:
I have to configure something additional in php to make it work with many simultaneous graphs ?
Re: It fails when I graph many devices, please help me
Show the STATS line from your Cacti log.
-
- Posts: 13
- Joined: Mon Oct 31, 2022 8:51 pm
Re: It fails when I graph many devices, please help me
Hi
Attached screenshot of Log messages
how can i correct that
- Attachments
-
- ERROR PHP.PNG (96.3 KiB) Viewed 1373 times
-
- Posts: 13
- Joined: Mon Oct 31, 2022 8:51 pm
Re: It fails when I graph many devices, please help me
Hi
This error appears constantly and coincides with the time when some devices do not graph
This error appears constantly and coincides with the time when some devices do not graph
- Attachments
-
- Trafico.PNG (117.75 KiB) Viewed 1138 times
-
- Error.PNG (87.09 KiB) Viewed 1138 times
Re: It fails when I graph many devices, please help me
You are only running a single process for cmd.php for a lot of systems. You need to increase the number of processes. Goto Console > Data Collection > Data Collectors and then edit the Main Poller. Set the number of processes to be twice the number of CPUs in the Cacti system and see how it goes. Watch the system load of the Cacti server and adjust the number up or down accordingly.
Re: It fails when I graph many devices, please help me
Ideally, I would swap to Spine instead of cmd.php, but test with cmd.php first.
Re: It fails when I graph many devices, please help me
What cacti version?
Before history, there was a paradise, now dust.
-
- Posts: 13
- Joined: Mon Oct 31, 2022 8:51 pm
-
- Posts: 13
- Joined: Mon Oct 31, 2022 8:51 pm
Re: It fails when I graph many devices, please help me
cigamit wrote: ↑Sat Aug 05, 2023 9:27 pm You are only running a single process for cmd.php for a lot of systems. You need to increase the number of processes. Goto Console > Data Collection > Data Collectors and then edit the Main Poller. Set the number of processes to be twice the number of CPUs in the Cacti system and see how it goes. Watch the system load of the Cacti server and adjust the number up or down accordingly.
Change the processors from 1 to 8 in console > Data Collectors
Data Collector Information
Processes: 8
Attach screenshot
I have a question
Console > Configuration > Settings > Poller
Attach screenshot
Please help me by telling me if it is necessary to modify the value of Default Data Collector Processes in the tab Poller
currently Data Collector Processes is 1
- Attachments
-
- Data Collector Processes.PNG (89.1 KiB) Viewed 863 times
-
- Data Collector.PNG (51.82 KiB) Viewed 863 times
Re: It fails when I graph many devices, please help me
The one under Settings is just the default if you create any new remote Pollers, its not going to help with your current poller issue, so you can ignore it.
After changing the Data Collectors processes where I stated, what does your SYSTEM STATS line in the log look like now?
After changing the Data Collectors processes where I stated, what does your SYSTEM STATS line in the log look like now?
-
- Posts: 13
- Joined: Mon Oct 31, 2022 8:51 pm
Re: It fails when I graph many devices, please help me
I attach screenshots of the recent log where lines are shown in redcigamit wrote: ↑Sun Aug 06, 2023 4:28 pm The one under Settings is just the default if you create any new remote Pollers, its not going to help with your current poller issue, so you can ignore it.
After changing the Data Collectors processes where I stated, what does your SYSTEM STATS line in the log look like now?
How can I fix this to avoid these errors?
- Attachments
-
- 4.PNG (114.69 KiB) Viewed 834 times
-
- 3.PNG (124.05 KiB) Viewed 834 times
-
- 2.PNG (80.12 KiB) Viewed 834 times
-
- 1.PNG (137.28 KiB) Viewed 834 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: It fails when I graph many devices, please help me
You also need to fix your extensions. You have duplicate entries in /etc/php.d/ for snmp.conf
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?
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?
Who is online
Users browsing this forum: No registered users and 4 guests