Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Required MariaDB/MySQL connection count is confusing #3947

Closed
Babat28119 opened this issue Nov 24, 2020 · 14 comments
Closed

Required MariaDB/MySQL connection count is confusing #3947

Babat28119 opened this issue Nov 24, 2020 · 14 comments
Milestone

Comments

@Babat28119
Copy link

Dear community,

We observed some performance issue on our cacti platform and we went ahead to upgrade Cacti to version 1.2.14 and change the poller to use spine but we get so many error message in the log file. see below/attached.

errors:
a. Maximum runtime of 298 seconds exceeded. Exiting.
b. Method:spine Processes:1 Threads:1 Hosts:112 HostsPerProcess:112 DataSources:7624 RRDsProcessed:831
c. SNMP OID! (oid: ), Set MAX_OIDS to 1 for this host to isolate bad OID
d. ERROR: SQL Failed! Error:'2013', Message:'Lost connection to MySQL server during query', SQL Fragment:'UPDATE poller_reindex SET

Most of the graphs are either breaking or empty or showing NAN

Await your swift response.

poller 1

spine error

@bmfmancini
Copy link
Member

bmfmancini commented Nov 24, 2020 via email

@bmfmancini
Copy link
Member

bmfmancini commented Nov 24, 2020 via email

@Babat28119
Copy link
Author

Thanks for your swift response. The credentials in spine.conf was changed to DB credentials. See below the thread and processes

Method:spine Processes:1 Threads:1 Hosts:112 HostsPerProcess:112 DataSources:7624 RRDsProcessed:831

@bmfmancini
Copy link
Member

bmfmancini commented Nov 24, 2020 via email

@Babat28119
Copy link
Author

how can i go about changing the thread and process. any guide?

@Babat28119
Copy link
Author

spine1

@Babat28119
Copy link
Author

I have been able to change the threads and processes as advice but i still have error as below/attached.
a. Problems parsing Multi SNMP OID! (oid: 1.3.6.1.4.1.14988.1.1.2.1.1.9.16 ), Set MAX_OIDS to 1 for this host to isolate bad OID
b. 'Lost connection to MySQL server during query'
spine 2

@TheWitness
Copy link
Member

The thread setting is at the Data Collector level. Edit the Data Collector and set the threads there. I know that this is confusing. We'll be making it a bit simpler to interpret in the 1.2.16 release.

Also, those 2013 issues, we've been seeing them a lot. What MariaDB version are you on right now?

@TheWitness
Copy link
Member

Going to update to this shortly. Hope that helps.

image

@bmfmancini
Copy link
Member

bmfmancini commented Nov 25, 2020 via email

@TheWitness TheWitness changed the title Issue with Cacti Spine 1.2.14 Required MariaDB/MySQL connection count is confusing Nov 25, 2020
@TheWitness TheWitness added this to the v1.2.16 milestone Nov 25, 2020
@TheWitness
Copy link
Member

Just update CACTI_TOP/utilities.php from the 1.2.x branch.

@Babat28119
Copy link
Author

I have changed the thread from Data collector. The Database is currently on 10.1.47-MariaDB. However, i will need some clarification as highlighted below.

a. what is your recommendation/setting for an enterprise monitoring, we currently have over 10,000 data source.
b. can we have more than one poller as i tried using Spine but got some much error message as shown above.

lastly how can i update the CACTI_TOP/utilities.php

@bmfmancini
Copy link
Member

bmfmancini commented Nov 25, 2020 via email

@bmfmancini
Copy link
Member

bmfmancini commented Nov 25, 2020 via email

@github-actions github-actions bot locked and limited conversation to collaborators Feb 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants