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
auto detect vs half duplex vs full duplex???
Mobile GPS tracking software
receiving email through SBS 2003 and also a cell phone
wrong Email should be reach particular mail box insted it bounce back
Kixtart 4.22 installation
Software can't send mail through SMTP any longer with new configuration.
I want to create different subnets
How do I Identify the Time Server for my domain?
Allowing the helpdesk to only reset and change passwords
Accessing Remote desktop through Nat network