How Cacti Polling behaves for Down Devices ?

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

Moderators: Developers, Moderators

Post Reply
abhisekp34
Posts: 43
Joined: Mon Aug 29, 2022 1:47 am

How Cacti Polling behaves for Down Devices ?

Post by abhisekp34 »

How Cacti behaves for Down Devices ?

In Our Cacti there are around 250 + devices were in Down State. (not Disabled)

We saw issue in Poller performance for Live Devices. So, Some graphs were stopped plotting.

After Removing 100 Down Devices from Cacti, We saw improvement in Cacti Polling Performance. And Graphs were started plotting required data.

So, Does Down Device have Impact on Polling Performance in Cacti ? If so, How ?

Dose Spine Poller keep a separate Thread & Process for Down Devices ?
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: How Cacti Polling behaves for Down Devices ?

Post by Osiris »

What data collector?
Before history, there was a paradise, now dust.
abhisekp34
Posts: 43
Joined: Mon Aug 29, 2022 1:47 am

Re: How Cacti Polling behaves for Down Devices ?

Post by abhisekp34 »

one Data collector, as it has only One Poller configured. (main poller)
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: How Cacti Polling behaves for Down Devices ?

Post by Osiris »

cmd.php or spine?
Before history, there was a paradise, now dust.
abhisekp34
Posts: 43
Joined: Mon Aug 29, 2022 1:47 am

Re: How Cacti Polling behaves for Down Devices ?

Post by abhisekp34 »

It is Spine.
in Poller:- 8 Processes & 50 threads
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: How Cacti Polling behaves for Down Devices ?

Post by TheWitness »

I've mentioned the issue with processes and threads. If you want to see why this is bad, you should write a MySQL top command to see how many cycles are wasted inside the database "waiting" on other threads.

Here is a raw version of it.

Code: Select all

#!/bin/sh
while true; do
  clear
  mysql -e 'show full processlist' | egrep -v "(system user|Sleep|show full processlist)"
  sleep 1
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests