After HOURS and at the edge of craziness I realized I missed
/serverpassword/ property.
Damn code blindness.
El 16/09/16 a las 12:08, mosto...@gmail.com escribió:
Hi
I'm trying to forward RELP messages to REDIS, but I haven't succeeded
so far.
*That's my /etc/rsyslog.conf (default's ugly-legacy format):*
$ModLoad imuxsock # provides support for local system logging
$ModLoad imklog # provides kernel logging support (previously done
by rklogd)
#$ModLoad immark # provides --MARK-- message capability
$MaxMessageSize 2k
$FileOwner syslog
$FileGroup adm
$FileCreateMode 0640
$DirOwner syslog
$DirGroup adm
$DirCreateMode 0755
$PrivDropToUser syslog
$PrivDropToGroup syslog
$WorkDirectory /var/spool/rsyslog
$IncludeConfig /etc/rsyslog.d/*.conf
*.emerg :omusrmsg:*
*And that's my pretty /etc/rsyslog.d/repl2redis.conf:*
global(workDirectory="/var/spool/rsyslog")
# http://www.rsyslog.com/doc/v8-stable/configuration/modules/imrelp.html
module(load="imrelp")
input(
port="20514"
type="imrelp"
name="imrelp"
ruleset="toredis"
)
# http://www.rsyslog.com/doc/master/configuration/modules/omhiredis.html
module(load="omhiredis")
ruleset(name="toredis"){
# http://www.rsyslog.com/doc/v8-stable/configuration/actions.html
action(
mode="queue"
name="omhiredis"
serverport="6379"
server="myserver"
type="omhiredis"
key="foo"
action.resumeRetryCount="-1"
action.reportSuspension="on"
queue.maxdiskspace="1G"
queue.type="LinkedList"
queue.filename="omhiredis"
queue.SaveOnShutdown="on"
)
}
I expected rsyslog to LPUSH every message to key "foo", but It's not
working.
Is there anything wrong with this configuration? Am I missing something?
Thanks for your kind help.
Regards
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.