Re: How post to syslogd?

From: Bill Zhang (aicc_us@YAHOO.COM)
Date: Mon Aug 05 2002 - 07:02:20 EDT


Holger,
Thanks a lot. I'll try that.
Have a nice day!

Bill
--- Holger.VanKoll@SWISSCOM.COM wrote:
> root@16-gd2vb6 140# grep -v ^# /etc/syslog.conf
> daemon.notice /var/adm/SPlogs/SPdaemon.log
>
*.emerg;*.alert;*.crit;*.err;*.warning;*.notice;*.info
> /tmp/.tivoli/.tecad_logfile.fifo.gd2vb6.default
> local4.debug /var/adm/ipsec.log
> root@16-gd2vb6 136# logger -p daemon.notice bla
> root@16-gd2vb6 137# logger -p local4.debug test
> root@16-gd2vb6 138# tail -1
> /var/adm/SPlogs/SPdaemon.log
> Aug 5 12:45:57 gd2vb6 root: bla
> root@16-gd2vb6 139# tail -1 /var/adm/ipsec.log
> Aug 5 12:46:06 gd2vb6 root: test
>
> > -----Original Message-----
> > From: Bill Zhang [mailto:aicc_us@YAHOO.COM]
> > Sent: Montag, 5. August 2002 12:41
> > To: aix-l@Princeton.EDU
> > Subject: Re: How post to syslogd?
> >
> >
> > Holger,
> > Would you mind telling me how to use logger?
> > Thanks.
> >
> > Bill
> > --- Holger.VanKoll@SWISSCOM.COM wrote:
> > > look @ logger command
> > >
> > > > -----Original Message-----
> > > > From: Bill Zhang [mailto:aicc_us@YAHOO.COM]
> > > > Sent: Montag, 5. August 2002 12:04
> > > > To: aix-l@Princeton.EDU
> > > > Subject: How post to syslogd?
> > > >
> > > >
> > > > Hi everybody,
> > > > I configured and distributed a Tivoli logfile
> > > adapter
> > > > to a Tivoli endpoint(AIX) which is also a log
> > > server
> > > > of a Cisco PIX firewall. I will use this
> logfile
> > > > adapter to read system log file and send event
> to
> > > > Tivoli TEC server.
> > > > Now I'm testing the adapter and classes and
> rules
> > > on
> > > > the TEC server. I can't generate enough
> messages
> > > from
> > > > the PIX firewall. I'm trying to write a script
> to
> > > post
> > > > messages to the syslogd daemon.
> > > >
> > > > My question is "how to post a message to
> > > syslogd?".
> > > >
> > > > Thanks in advance!
> > > >
> > > > Bill
> > > >
> > > >
> __________________________________________________
> > > > Do You Yahoo!?
> > > > Yahoo! Health - Feel better, live better
> > > > http://health.yahoo.com
> > > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Health - Feel better, live better
> > http://health.yahoo.com
> >

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:06 EDT