Microsoft
Software
Hardware
Network
Question : Logging Linux to a central syslog server
I am trying to setup my linux server to send syslog messages to a centrol syslog server. I have added the central server to the syslog.conf, however, I am only receiving cron messages. I thought I have set this up correctly so that it sent all messages of level info or higher. Can someone look at my config below and tell me why for instance, I am not getting notices of when users connect via SSH, log in etc. I thought I would recieve them with this setup? Basically, I want everything logged and sent to this central server.
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.
none;cron.
none /var/log/messages
# The authpriv file has restricted access.
authpriv.* /var/log/secure
# Log all the mail messages in one place.
mail.* -/var/log/maillog
# Log cron stuff
cron.* /var/log/cron
# Everybody gets emergency messages
*.emerg *
# Save news errors of level crit and higher in a special file.
uucp,news.crit /var/log/spooler
# Save boot messages also to boot.log
local7.*
/var/log/boot.log
*.* @192.168.40.222
Answer : Logging Linux to a central syslog server
Hi
try this out
user.* @192.168.1.1
and also see man page of "logger" command here u can get all details about facility and priorities
Random Solutions
Faxing through ADSL modem
What objects have special permissions on Oracle Application Server?
Unable to access netscreen 5gt via webui
walkthrough to install SSL, Paym Gateway, and shopping cart
Domino 8.5 upgrade - HTTP task error
NIC dropping connection every 4 hours, 16 minutes and 01 seconds...why?
SMS 2003 Installation- issue with SQL server database tables creation
DISABLE SOME INTERNET
Is a DMZ necessary on our network?
Block AOL Instant Messenger on Sonicwall Firewall