How to send SYSLOG information
search cancel

How to send SYSLOG information

book

Article ID: 371772

calendar_today

Updated On:

Products

VM:Operator

Issue/Introduction

This explains how to send SYSLOG information over the SYSLOGD connection to some other collector.

 

Environment

VM:Operator 3.1, z/VM 7.3

Resolution

You can try adding this PRITABLE to your VMOPER configuration. In this example, it is named  SEND_SYS PRITABLE, but whatever FileName you decide to use for the PRITABLE is what you would specify for the PRITABLE parameter on your SYSLOGD config file entry,

For example:

SYSLOGD SENDER LINUX.XYZ.COMPANY.COM SEND_SYS 10514/TCP tlslabel=TSTCERT

Here is the example PRITABLE:

 SEND_SYS PRITABLE X1  F 80  Trunc=80 Size=26 Line=10 Col=1 Alt=1

00000 * * * Top of File * * *
00001 * Test logtable entry's for mirroring to SYSSLOD connection
00002 * z/VM CP msgs (4-digit)
00003 DAEMON.ERR      MSG * * 1 HCP???????E
00004 DAEMON.WARNING  MSG * * 1 HCP???????W
00005 DAEMON.ALERT    MSG * * 1 HCP???????A
00006 DAEMON.EMERG    MSG * * 1 HCP???????S
00007 DAEMON.CRIT     MSG * * 1 HCP???????T
00008 DAEMON.INFO     MSG * * 1 HCP???????I
00009 * VM:Manager Product msgs (4-digit)
00010 DAEMON.ERR      MSG * * 1 VM????????E
00011 DAEMON.WARNING  MSG * * 1 VM????????W
00012 DAEMON.ALERT    MSG * * 1 VM????????A
00013 DAEMON.EMERG    MSG * * 1 VM????????S
00014 DAEMON.CRIT     MSG * * 1 VM????????T
00015 DAEMON.INFO     MSG * * 1 VM????????I
00016 * VM:Manager Product msgs (3-digit)
00017 DAEMON.ERR      MSG * * 1 VM???????E
00018 DAEMON.WARNING  MSG * * 1 VM???????W
00019 DAEMON.ALERT    MSG * * 1 VM???????A
00020 DAEMON.EMERG    MSG * * 1 VM???????S
00021 DAEMON.CRIT     MSG * * 1 VM???????T
00022 DAEMON.INFO     MSG * * 1 VM???????I
00023 *   IBM z/VM CP msgs with no message number
00024 KERN.ERR        MSG * *6
00025 KERN.INFO       MSG * *3
00026 KERN.INFO       MSG * *7
00027 * * * End of File * * *

 

 

Additional Information

The intent is for the "HCP" messages to be marked as "Kernel" and the VM:Manager product servers to be marked as "Daemon" .

Here is the table:

 SEND_SYS PRITABLE X1  F 80  Trunc=80 Size=26 Line=10 Col=1 Alt=1

00000 * * * Top of File * * *
00001 * Test logtable entry's for mirroring to SYSSLOD connection
00002 * z/VM CP msgs (4-digit)
00003 KERN.ERR      MSG * * 1 HCP???????E
00004 KERN.WARNING  MSG * * 1 HCP???????W
00005 KERN.ALERT    MSG * * 1 HCP???????A
00006 KERN.EMERG    MSG * * 1 HCP???????S
00007 KERN.CRIT     MSG * * 1 HCP???????T
00008 KERN.INFO     MSG * * 1 HCP???????I
00009 * VM:Manager Product msgs (4-digit)
00010 DAEMON.ERR      MSG * * 1 VM????????E
00011 DAEMON.WARNING  MSG * * 1 VM????????W
00012 DAEMON.ALERT    MSG * * 1 VM????????A
00013 DAEMON.EMERG    MSG * * 1 VM????????S
00014 DAEMON.CRIT     MSG * * 1 VM????????T
00015 DAEMON.INFO     MSG * * 1 VM????????I
00016 * VM:Manager Product msgs (3-digit)
00017 DAEMON.ERR      MSG * * 1 VM???????E
00018 DAEMON.WARNING  MSG * * 1 VM???????W
00019 DAEMON.ALERT    MSG * * 1 VM???????A
00020 DAEMON.EMERG    MSG * * 1 VM???????S
00021 DAEMON.CRIT     MSG * * 1 VM???????T
00022 DAEMON.INFO     MSG * * 1 VM???????I
00023 *   IBM z/VM CP msgs with no message number
00024 KERN.ERR        MSG * *6
00025 KERN.INFO       MSG * *3
00026 KERN.INFO       MSG * *7
00027 * * * End of File * * *