× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



We have working example here: https://www.i2rest.com/index.php/I2Rest_with_syslog
It is shown how to store syslog messages locally.

If you would like to forward messages to another syslog server, add something like this:

*.debug @<IP_Address>

to conf file. *.debug will forward all messages with severity level up to and including debug.

Regards,
Alexei

-------- Original Message --------
Subject : Configuring IBMi to log to Syslog server
From : Don Brown via MIDRANGE-L midrange-l@xxxxxxxxxxxxxxxxxx
To : midrange-l@xxxxxxxxxxxxxxxxxx
Cc : Don Brown <DBrown@xxxxxxxxxx>
Date : 6 августа 2020 г. 7:35

I am trying to configure the IBMi to log to a syslog server.

The documents I have found a very brief on an examples.

From what I can understand I need to do the following;

STRQSH and run command touch /QOpenSys/etc/syslog.conf to create the
empty configuration file.

Add the specific configuration - all I have so far is

@<IP_Address>

The to start the syslog daemon run;

SBMJOB CMD(STRQSH CMD('/QOpenSys/usr/sbin/syslogd')) JOB(SYSLOGD)
JOBQ(QSYSNOMAX)

To verify the syslogd daemon is started STRQSH and run the following
command

ps -ef | grep syslogd

Which gives me the following output

ps -ef | grep syslogd
qsecofr 538657 1 08-06-2020 14:15:42 - 00:00
pgm-syslogd
$

So I presume this is indicating it is running ?

I am working from the following documents;

https://ibmsystemsmag.com/Trends/11/2017/ibm-i-embraces-syslog (IBMi
Embraces Syslog)

https://www.ibm.com/support/pages/node/634791 (Syslog / Syslogd in PASE
for IBMi

Could anyone provide a working example or suggested reading ?

Thanks

Don



______________________________________________________________________
This email has been scanned for computer viruses. Although MSD has taken reasonable precautions to ensure no viruses are present in this email, MSD cannot accept responsibility for any loss or damage arising from the use of this email or attachments.
______________________________________________________________________

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.