Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Red Hat


Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-31-2013
Registered User
 
Join Date: May 2007
Posts: 209
Thanks: 2
Thanked 1 Time in 1 Post
Configuring syslog.conf

Hi,

I would like to configure syslog linux client, syslog server is windows server.

so adding on linux client in /etc/syslog.conf @hostname will work in the place of directory location.

example of /etc/syslog.conf
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* @winodwshost

# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none @winodwshost


# The authpriv file has restricted access.
authpriv.* @winodwshost


# Log all the mail messages in one place.
mail.* @winodwshost



# Log cron stuff
cron.* @winodwshost






but since syslog server is windows , so adding @hostname in linux /etc/syslog.conf will work? or addition configuration needs to done.

my requirement is linux log messages should be sent to windows syslog server.

please suggest.
Sponsored Links
    #2  
Old 01-31-2013
zazzybob's Avatar
Registered Geek
 
Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,186
Thanks: 3
Thanked 23 Times in 22 Posts
This will work, as long as the Windows syslog server windowshost is resolvable by DNS or /etc/hosts (or whatever naming services you're using) and the syslog server is listening on port 514/udp. Kiwi Syslog on Windows works fine for this, and I've used it many times previously.

BTW: Please use code tags to make your configuration/code/etc. more readable.
Sponsored Links
    #3  
Old 01-31-2013
Registered User
 
Join Date: May 2007
Posts: 209
Thanks: 2
Thanked 1 Time in 1 Post
Many Many Thanks zazzybob.
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
syslog.conf g0dlik3 Shell Programming and Scripting 1 11-27-2011 04:20 PM
syslog-ng.conf Tornado Solaris 5 11-18-2008 06:20 AM
Configuring snmpd.conf and snmptrapd.conf jagdish.machhi@ UNIX for Advanced & Expert Users 2 04-17-2008 03:01 PM
Configuring syslog.conf in a TRU64 UNIX machine adak2010 UNIX for Dummies Questions & Answers 0 04-11-2008 04:45 AM
syslog.conf soliberus Red Hat 1 08-11-2006 07:44 AM



All times are GMT -4. The time now is 09:55 PM.