-
Notifications
You must be signed in to change notification settings - Fork 0
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
Warnings issue when attempting to import a Slowlog from the CLI #2
Comments
What version of MySQL/MariaDB? Can you upload a 100 or so lines of the file? |
* Warnings issue when attempting to import a Slowlog from the CLI * Clean up CHANGELOG.md
I've worked around it, but if you can still upload |
i uninstalled and redownloaded it and reinstalled it.. i ran the command to import the slow log. |
ignore my last comment.. i forgot to surround my path with "" i ran the command it imported. other than making it a scheduled task, will we be able to configure that from within cacti itself? |
Another good catch. Making a light update. I did not use this script previously from the command line, always imported it from the GUI. Good to get this flushed out now. |
Another issue with the logfile processing
You may want to provide the full path to the logfile. |
where do you import it in the gui? i didnt see such a control in the gui, which is why i did it from command line. |
nevermind.. im friggin blind today LOL.. |
Watch those two variables. Some of my slowlog's get to be ~1GB is size. Have to increase those two variables and restart httpd/php-fpm. |
i used this with the --logfile= and pointed it to where my cacti's mysql slowlog file was and i got this error
PHP Notice: Undefined offset: 3 in C:\inetpub\wwwroot\cacti\plugins\slowlog\slowlog_functions.php on line 139
The text was updated successfully, but these errors were encountered: