LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-09-2009, 05:28 AM   #1
nagendrar
Member
 
Registered: Apr 2008
Location: HYD, INDIA.
Posts: 154

Rep: Reputation: 15
how to generate syslogd events in AIX platform


I think, this question not belongs to this forum.But if any body knows please help me.

I want to generate syslogd events and forward to some ip <IP> from AIX system.
I did this following way

I added "*.* @<IP>" in /etc/syslog.conf file and
syslogd restarted with following two commands
stopsrc -s syslogd
startsrc -s syslogd

Now I am dumping syslogd events with "tcpdump src port 514" command to know whether syslog events generating or not.But I am not getting any syslogd event generation.

Please help me syslogd event generation and forwarding from AIX system

ThanQ,
Nagendra Rednam
 
Old 12-09-2009, 08:17 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by nagendrar View Post
I think, this question not belongs to this forum.But if any body knows please help me.

I want to generate syslogd events and forward to some ip <IP> from AIX system.
I did this following way

I added "*.* @<IP>" in /etc/syslog.conf file and
syslogd restarted with following two commands
stopsrc -s syslogd
startsrc -s syslogd

Now I am dumping syslogd events with "tcpdump src port 514" command to know whether syslog events generating or not.But I am not getting any syslogd event generation.
First, there is an AIX forum on this site, and this would be more appropriate there.

As to what you're trying to do, allowable syntax in AIX syslog.conf is different than linux. Linux lets you use a wildcard in both places ( *.*). AIX does not. I think you can only wildcard the facility,
not the priority. Check the default /etc/syslog.conf on AIX, it is
explained in the comments.

Try changing *.* to something like *.debug, or *.info, and see what you get then.
 
Old 12-09-2009, 11:44 PM   #3
nagendrar
Member
 
Registered: Apr 2008
Location: HYD, INDIA.
Posts: 154

Original Poster
Rep: Reputation: 15
Now I added "*.crit /tmp/syslog.out" in /etc/syslog.conf file and restarted syslogd . Now I am trying for login with wrong password.But I am not getting any events in /tmp/syslog.out file.


Please help me how to get the events on AIX .

ThanQ,
Nagendra R
 
Old 12-10-2009, 12:28 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by nagendrar View Post
Now I added "*.crit /tmp/syslog.out" in /etc/syslog.conf file and restarted syslogd . Now I am trying for login with wrong password.But I am not getting any events in /tmp/syslog.out file.
Right...that's because a failed login isn't critical. If you're only sending *.crit messages along, that's not one of them. Read the man pages for the AIX syslog service, it'll explain the different facilities and what will generate an event.
 
Old 03-30-2012, 02:24 AM   #5
jayaramprasad
LQ Newbie
 
Registered: Sep 2011
Posts: 8

Rep: Reputation: Disabled
Smile

There is a an option to get this work in AIX

/etc/syslog.conf

*.debug @10.0.15.21
 
Old 03-30-2012, 10:21 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by jayaramprasad View Post
There is a an option to get this work in AIX

/etc/syslog.conf

*.debug @10.0.15.21
Right...which is what I essentially told the OP. Also, you have reopened a THREE YEAR OLD THREAD..
 
  


Reply



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
JAVA! generate mouse events juanctes Programming 3 12-10-2008 01:10 PM
syslogd: server not recording remote events cygnal Linux - Server 8 10-22-2008 02:25 PM
how to generate a mouse click events from a kernel module yugandhar Linux - Kernel 1 09-13-2006 07:58 AM
Porting from AIX to MF-Express platform Bandita_Deka AIX 1 12-19-2005 06:11 AM
AIX on PReP Platform Terrabith AIX 6 07-23-2004 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:51 PM.

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