logrotate strange argus behavior

Monah Baki monahbaki at gmail.com
Wed Oct 24 10:58:46 EDT 2018


Hi Carter,

My argus.conf has:
ARGUS_OUTPUT_FILE=/var/log/argus/argus.out

I can also for testing purposes run the -w option from the command line,
what do you think?


Regards,
Monah

On Wed, Oct 24, 2018 at 10:52 AM Carter Bullard <carter at qosient.com> wrote:

> Hey Monah,
> Both programs have the exact same logic for output files, so it maybe how
> you’re running or configuring argus ??
> What’s in your argus.conf, or are you using “-w file” on the command line
> ???
>
> Carter
>
> > On Oct 24, 2018, at 8:36 AM, Monah Baki <monahbaki at gmail.com> wrote:
> >
> > Hi all,
> >
> > I'm using logrotate to rotate both argus.out and radium.out. Here is my
> /etc/logrotate.d for radium and argus
> >
> >
> > /var/log/radium/radium.out {
> >     missingok
> >     notifempty
> >     compress
> >     size 100M
> >     daily
> >     create 0600 root root
> > }
> >
> >
> >
> > /var/log/argus/argus.out {
> >     missingok
> >     notifempty
> >     compress
> >     size 100M
> >     daily
> >     create 0600 root root
> > }
> >
> >
> > radiums config works fine, but for the argus once it creates the
> compressed file and moves it, argus.out is always 0 bytes, only way to have
> argus log back to argus.out it is to kill the argus pid and start argus.
> While radium keeps logging to radium.out.
> >
> >
> > Thanks
> > Monah
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20181024/d0f78e1a/attachment.html>


More information about the argus mailing list