SNMPAgent: Unable to find a poller
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: SNMPAgent: Unable to find a poller
Cool.
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?
Re: SNMPAgent: Unable to find a poller
Hi, I got the same with log message 40000 max ect...
Fin in log cacti_stderr.log that 'FATAL: Connection Failed: Error '1040', Message:"Trop de connexions"
So I put in my mariadb config file (mine is in /etc/mysql/mariadb.conf.d/50-server.cnf) a line with max_connections=500 (default is 100) and this now works without error message!
Fin in log cacti_stderr.log that 'FATAL: Connection Failed: Error '1040', Message:"Trop de connexions"
So I put in my mariadb config file (mine is in /etc/mysql/mariadb.conf.d/50-server.cnf) a line with max_connections=500 (default is 100) and this now works without error message!
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: SNMPAgent: Unable to find a poller
Better to open another thread for this. Using old threads is bad karma. This is a common problem. Often times it happens when users are new to Cacti and try to use spine and do do the math on the number of connections that are required for Cacti's use. There is a setting max_connections in MySQL/MariaDB that is very important. If using spine, Cacti needs a lot of them. Remember, if you are only monitoring a few thousand hosts, you don't need too many processes, you just have to balance the number of threads + processes to be somewhere between 2-4 times the number of CPU cores. If the system is real big, then you have to to timing studies based upon response times of your agents, and the WAN latency between your Cacti server and it's devices and find the sweet spot, but under no condition should ANYONE use something like:
10 processes
20 threads per process.
That requires >= 200 threads, and most versions of MariaDB/MySQL, though they can handle this load, don't do it well. When you feel you've gotten there, you need to distribute your pollers. I suspect you are nowhere near that.
https://stackoverflow.com/questions/143 ... connection
10 processes
20 threads per process.
That requires >= 200 threads, and most versions of MariaDB/MySQL, though they can handle this load, don't do it well. When you feel you've gotten there, you need to distribute your pollers. I suspect you are nowhere near that.
https://stackoverflow.com/questions/143 ... connection
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 0 guests