You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Log files are not rotated properly on remote pollers #3629
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 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.
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?
changed the title [-]Cacti v1.2.12 log files not rotating on Remote pollers [/-][+]Log files are not rotated properly on remote pollers[/+]on Jun 28, 2020
Activity
netniV commentedon Jun 19, 2020
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.
bmfmancini commentedon Jun 20, 2020
TheWitness commentedon Jun 20, 2020
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.
netniV commentedon Jun 20, 2020
If log rotation dates are synced we should do that
TheWitness commentedon Jun 20, 2020
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?
Fixing Issue #3632 and restructuring maintenance for #3629
TheWitness commentedon Jun 21, 2020
I did a little restructuring of the maintenance script and nothing jumped out at me. I'll keep looking.
[-]Cacti v1.2.12 log files not rotating on Remote pollers [/-][+]Log files are not rotated properly on remote pollers[/+]