[rsyslog-notify] Forum Thread: Re: syslog server ignoring locally generated messages - (Mode 'edit_last_post')
noreply at adiscon.com
noreply at adiscon.com
Wed Feb 11 12:35:24 CET 2015
User: xdaxdb
Forumlink: http://kb.monitorware.com/viewtopic.php?p=25231#p25231
Message:
----------
I resolved this a while ago, I apologies for not posting the resolution
sooner.
The problem turned out to be the pmaixforwardedfrom module. When I disabled
it locally generated messages (on my Red Hat Linux 6 rsyslog server)
started showing up in the logs again.
That left me with my original problem though of AIX syslog sending logs in
an undesirable format. I was able to fix this on the AIX systems
themselves.
>From the AIX command line enter the following:
[code:1q3dwu6q]chssys -s syslogd -a "-M all -n"
stopsrc -s syslogd
startsrc -s syslogd
[/code:1q3dwu6q]
I hope that helps someone.
Also, if you want to send AIX errpt messages to syslog, create a file
called [b:1q3dwu6q]errnotify.odm[/b:1q3dwu6q] containing the following:
[code:1q3dwu6q]errnotify: en_name =
"syslog1" en_persistenceflg = 1 en_method =
"/usr/bin/logger Error Log: `/usr/bin/errpt -l $1 | /usr/bin/grep -v
TIMESTAMP` "[/code:1q3dwu6q]
Then run this command:
[code:1q3dwu6q]odmadd errnotify.odm[/code:1q3dwu6q]
That will only send the errpt summary code to syslog. You will have to
manually look up the meaning of the codes yourself.
More information about the rsyslog-notify
mailing list