[rsyslog-notify] Forum Thread: Re: imfile seems to just stop reading files - (Mode 'reply')

noreply at adiscon.com noreply at adiscon.com
Mon Jul 18 13:59:42 CEST 2016


User: rajatg 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=26792#p26792

Message: 
----------
Hi,

I am facing still the same issue with rsyslog 8.19.0. imfile stops reading
the file randomly. It is only upon restarting the rsyslogd service, that
the pending logs of the state file are delivered to the server. Following
are my configs-:
[code:3u4qodvc]
$ModLoad imuxsock # provides support for local system logging
$ModLoad imklog   # provides kernel logging support (previously done by
rklogd)
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat

$FileOwner syslog
$FileGroup adm
$FileCreateMode 0640
$DirCreateMode 0755
$Umask 0022
$PrivDropToUser syslog
$PrivDropToGroup syslog
$WorkDirectory /var/spool/rsyslog


$ModLoad imfile
$InputFileMode inotify
$InputFileName /var/log/ceph/radosgw.log
$InputFileTag rgwlog
$InputFileStateFile rgwlog

$InputFileFacility local7
$InputRunFileMonitor
#$InputFilePersistStateInterval 10000

#$InputFilePollInterval 1

if $programname == 'rgwlog' or $programname == 'radosgw' or $msg contains
'radosgw' then @@10.140.222.240:514;

[/code:3u4qodvc]

Is there a issue with the config, or is this still persists? Since rsyslog
version is 8.19.0, it is using inotify default mode of imfile.

Thanks,
Rajat


More information about the rsyslog-notify mailing list