[rsyslog-notify] Forum Thread: Re: syslog server ignoring locally generated messages - (Mode 'reply')

noreply at adiscon.com noreply at adiscon.com
Thu Feb 12 12:58:51 CET 2015


User: xdaxdb 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=25248#p25248

Message: 
----------
I wish I could edit my previous post, but I think this is a much better way
to add errpt to syslog on AIX, and this can just be copied and pasted to
the command line:

[code:2tpb1hkf]cat <<'HEREDOC' > errnotify.odm
errnotify:
en_name = "syslog"
en_persistenceflg = 1
en_method = "/usr/bin/errpt -l $1 | tail -1 | logger -t errpt -p
daemon.notice"
HEREDOC
odmadd errnotify.odm && rm -f errnotify.odm[/code:2tpb1hkf]

Test with:
[code:2tpb1hkf]errlogger "test message"[/code:2tpb1hkf]


More information about the rsyslog-notify mailing list