Remote logging not working

This is the place for you, if you got rsyslog up and running but wonder how to make it do what you want.

Moderator: rgerhards

Remote logging not working

Postby abefroman on Thu Jun 05, 2008 6:21 pm

Hi,

rsyslogd logs OK locally, but not to my remote server.

One the local server I have in /etc/rsyslog.conf:
authpriv.* @205.xx.xx.xx
(I also tried it with @@205.xx.xx.xx)

One the remote server I have in /etc/rsyslog.conf:
authpriv.* /var/log/secure

This was working OK with regular syslogd.

I know with syslogd I have to start it with syslog -r on the remote server to accept remote syslog requests, but do not see that option for rsyslog.

Also I am not using the gnutls, just regular unencrypted for now.

Does anyone know what I'm doing wrong?

TIA!
abefroman
Advanced
 
Posts: 34
Joined: Thu Jun 05, 2008 6:14 pm

Professional Services Information

  • Custom written rsyslog.conf?
  • Maintenance Contract?
  • Installation support?

Re: Remote logging not working

Postby user00265 on Thu Jun 05, 2008 6:50 pm

The -r option of rsyslogd was replaced with a module, and it's documentation is available.

Also, to control who sends to it, you'll have to use it in conjuction with $AllowedSender (and perhaps, good firewall rules).
Last edited by user00265 on Thu Jun 05, 2008 10:45 pm, edited 1 time in total.
User avatar
user00265
Avarage
 
Posts: 17
Joined: Sun May 25, 2008 2:21 pm
Location: Hatillo, PR

Re: Remote logging not working

Postby abefroman on Thu Jun 05, 2008 7:26 pm

Thanks! That worked.
abefroman
Advanced
 
Posts: 34
Joined: Thu Jun 05, 2008 6:14 pm

Re: Remote logging not working

Postby rgerhards on Fri Jun 06, 2008 8:38 am

If you upgrade from sysklogd, I also suggest you have a quick look at this document:

http://www.rsyslog.com/doc-v3compatibility.html

It covers a couple of compatibility issues worth noting.

Rainer
User avatar
rgerhards
Site Admin
 
Posts: 1780
Joined: Thu Feb 13, 2003 11:57 am

Google Ads



Return to Configuration

Who is online

Users browsing this forum: No registered users and 0 guests

cron