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
Log files are not rotated properly on remote pollers #3629
Comments
The rotation logic itself hasn't changed in a long while but does make me wonder if the log rotation date has been syncrhonised as it's in the settings table. |
Yea its weird
I did a poller sync same deal
Re-save on each poller same
The path tab is now set to local settings as well as far as I know so each
poller would have that setting local wouldnt it
…On Fri, Jun 19, 2020 at 7:55 PM Mark Brugnoli-Vinten < ***@***.***> wrote:
The rotation logic itself hasn't changed in a long while but does make me
wonder if the log rotation date has been syncrhonised as it's in the
settings table.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3629 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADGEXTDASKDNYLYINT4UJKLRXP3FVANCNFSM4OCY5APA>
.
--
Thank you
Sean Mancini,LBBIT
Owner/Principal Engineer
www.seanmancini.com
“Companies spend millions of dollars on firewalls, encryption, and secure
access devices, and it’s money wasted because none of these measures
address the weakest link in the security chain.”
*– Kevin Mitnick*
|
There are just few settings not replicated, mostly '%path%' related. When you are in 'online' mode, anything you save with the exception of '%path%' for the most part is saved on the main data collector. In offline mode, you can override only until the next full sync though pretty sure. |
If log rotation dates are synced we should do that |
Well, looking at poller_maintenance.php, it looks like some things should first be bypassed, second, we should force the database to use a local connection when it's running on the remote collector. I'm okay doing this for the 1.2.x branch. How about you? |
- Some database conditions lead to warnings in the Cacti log - Restructuring the poller maintenances into function blocks to simplify code flow.
I did a little restructuring of the maintenance script and nothing jumped out at me. I'll keep looking. |
Hey, everyone!
I notice that on 1.2.12 log files are not rotating but only on the remote pollers
the GUI is able to access the log and purge it so all permissions seem to be fine
I know this worked up until 1.2.11
on the main poller, the logs rotate just fine
I went to each remote poller and re-saved the log settings just in case but no difference
The text was updated successfully, but these errors were encountered: