[Wolves] rsyslog and remote servers

Simon Burke simonb at fatsportsman.eu
Thu Aug 16 13:23:36 UTC 2012


On Thu, Aug 16, 2012 at 2:09 PM, Simon Burke <simonb at fatsportsman.eu> wrote:
> I know its probably me being intellectually challenged here, however
> Im trying to setup rsyslogd to log everything for remote hosts to a
> mysql DB.
>
> I have in my rsyslog.conf:
>
> $ModLoad ommysql.so
> # Provides UDP syslog reception
> $ModLoad imudp
> $UDPServerRun 514
>
>  Which as far as Im aware should let me simply do something akin to:
>
> :fromhost-ip, isequal, "192.168.1.1"     :ommysql:localhost,Syslog,user,password
>
> Which just doesnt work.
> nor does setting local stuff like the following work:
>
> mail.*
> :ommysql:localhost,Syslog,user,password
>
Ok, so I sorted it in the end. The issue wasnt really with the rsyslog
config, but rather the remote host not forwarding. It's always
something simple in the end.

Thanks,
Simon.



More information about the Wolves mailing list