LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-29-2008, 01:32 AM   #1
LiXin
LQ Newbie
 
Registered: Apr 2008
Posts: 4

Rep: Reputation: 0
Unhappy How can we config to display facility/priority column in syslog output (RHELAS 4)


Dear Buddys,
I'm using a Linux RedHat AS 4.4 as a syslog server to receive AIX & HPUX servers's syslog, However, I can not see the facility & priority column displayed in syslog output file of linux syslog. Event I can put the information with different priority into different files by config /etc/syslog.conf.
As we know in HPUX, there is a parameter for syslogd (-v) to display the facility & priority code, by default, AIX syslog will display these two columns.
Just want to know if there is any Linux syslogd switch which can open the facility & priority displaying ?


AIX example:
Apr 24 19:32:49 pg_mi_tr1 auth|security:notice su: from root to tivoli at /dev/pts/0
Apr 24 19:32:53 pg_mi_tr1 auth|security:notice su: from root to tivoli at /dev/pts/0
Apr 24 19:32:55 pg_mi_tr1 auth|security:crit su: BAD SU from tivoli to root at /dev/pts/0


HPUX example:
Apr 1 16:05:19 6E:xc10000 sshd[15747]: Did not receive identification string from UNKNOWN
Apr 1 18:19:34 6V:xc10000 ftpd[19078]: FTP LOGIN FROM 134.98.105.112 [134.98.105.112], root
Apr 1 18:20:27 6V:xc10000 ftpd[19078]: FTP session closed

However,in RHEL:
Mar 31 19:34:43 134.96.70.22 nisd[790]: _svcauth_des: invalid timestamp received from unix.xc10000@LJ.net
Mar 31 19:34:44 134.96.70.22 ftpd[15058]: pam_authenticate: Authentication failed
Mar 31 19:34:44 134.96.70.22 ftpd[15058]: User root: Login incorrect
 
Old 04-29-2008, 06:43 AM   #2
rgerhards
Member
 
Registered: Sep 2003
Distribution: Fedora/Debian
Posts: 50

Rep: Reputation: 15
You can not do this with sysklogd which ships wiht RH AS 4.4. I suggest that you have a look at rsyslog - http://www.rsyslog.com - this is the default syslogd on Fedora 8+ and has recently been brought to RHEL 5.2. and, ummm, I am the author - so there is certain bias

Rainer
 
Old 04-29-2008, 11:31 AM   #3
LiXin
LQ Newbie
 
Registered: Apr 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Dear rgerhards, appreciate for your advice, I'm taking look at rsyslog,
Does version 3.17.1 support to deploy to REHL AS 4.4 ?
 
Old 04-30-2008, 01:10 AM   #4
rgerhards
Member
 
Registered: Sep 2003
Distribution: Fedora/Debian
Posts: 50

Rep: Reputation: 15
Hi, I have seen that you managed to install rsyslog (via post on the rsyslog forum). But for all others: I do not provide RPMs myself (lack of know how on so many platforms), but there are packages available for most platforms. rsyslog also has an installation guide on how to install it from source, available right from the web site:

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

HTH
Rainer
 
Old 04-30-2008, 11:03 AM   #5
LiXin
LQ Newbie
 
Registered: Apr 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Yes, I've successful got the priority recorded via rsyslog. It's really a powerful and flexible toolkit. Many thanks for your help.

btw: I used to encounter that rsyslogd keep consuming a high cpu usage, after restarting the rsyslog daemon, it return to normal status. I'm not sure what happened at that time. Anyway I'll report to rsyslog forum if the problem can be identified.
 
Old 04-30-2008, 11:09 AM   #6
LiXin
LQ Newbie
 
Registered: Apr 2008
Posts: 4

Original Poster
Rep: Reputation: 0
hmm... Is there any problem with rsyslog home page?
always show "404 - Document Not Found! " for most links.
 
  


Reply

Tags
linux, syslog, syslogd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pure-ftpd syslog facility devacom Linux - Software 0 01-05-2005 07:11 AM
Syslog logger facility problem tuxster SUSE / openSUSE 0 01-02-2005 04:17 PM
Syslog logger facility problem tuxster Linux - General 0 12-25-2004 12:29 PM
syslog facility gunter *BSD 3 08-21-2004 04:22 PM
Sorting of multi-column output rytrom Linux - Newbie 11 09-15-2003 11:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration