Open morganfw opened 1 day ago
What commit?
What commit?
Sorry, I meant the latest git pulls
From where? Which repo? What was the last commit?
Is it happening any more? You backed off right?
From where? Which repo? What was the last commit? Is it happening any more? You backed off right?
Previously we used the thold v1.7 plugin for quite some time on Cacti v1.2.x and the thold_daemon.service was up and running without any issues. A few weeks ago we decided to update the thold plugin to version 1.8.x, as soon as we updated the thold_daemon stopped working, returning the errors above. So the solution was to stop using thold_daemon with the commands above and go back to the default thold.
I think that there is a thold 1.8.2 that needs to be released. Asking @xmacan or @bmfmancini if they have any clues. I'm pretty much locked into 1.3 right now. Only fixing some compatibility issues with 1.3 at the moment.
It may have been that you simple needed to restart the daemon. The error is more like you were running out of connections to your database, or that the database was restarted, on finally, sometimes an insert will exceed the max_allowed_packet_size which should be around several megabytes in today's Cacti recommendations.
We would need to get some details from the database, assuming it has not been restarted since then:
SHOW GLOBAL VARIABLES;
SHOW GLOBAL STATUS;
It may have been that you simple needed to restart the daemon. The error is more like you were running out of connections to your database, or that the database was restarted, on finally, sometimes an insert will exceed the max_allowed_packet_size which should be around several megabytes in today's Cacti recommendations.
The DB was not recently restarted, last restart was 2 weeks ago:
root@cacti:~# systemctl status mariadb.service
● mariadb.service - MariaDB 10.6.18 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2024-10-24 07:11:43 CEST; 2 weeks 0 days ago
We would need to get some details from the database, assuming it has not been restarted since then:
SHOW GLOBAL VARIABLES; SHOW GLOBAL STATUS;
SQL Queries attached below
Cacti_MariaDB_SHOW_GLOBAL_STATUS.txt Cacti_MariaDB_SHOW_GLOBAL_VARIABLES.txt
Describe the bug In the latest thold plugin commit after enabling the thold_daemon.service on the latest Cacti 1.2.x commit, the following error is raised:
and we need to revert to previous method by disabling thold_daemon.service issuing:
As we remember, the thold_daemon was working in thold v1.7.0 or before 1.8 version.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Plugin (please complete the following information):
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.