Re: Prop concatenating lines

2009-09-08 Thread Alan Altmark
On Tuesday, 09/08/2009 at 09:21 EDT, Bruce Hayden 
wrote:
> With PROP, it seems, you can't.  I tried to write some automation
> using PROP about a year ago, and couldn't get it to work.  Linux may
> write multiple lines on the console with a single I/O, separating each
> line with a newline character.  CP writes the output on the console as
> separate lines.  But, if you also send the output to a secondary user
> and use *MSG to read it (as PROP does), CP does not split up the lines
> - you get one line per I/O with embedded newlines.  PROP seems to have
> a limit on how long of a line it will scan for a matching message.  I
> just looked to see if this was documented, but I didn't find it.

PROP will read a maximum of 960 bytes, what it believes is 12 80-character
lines.

There is an old PROP APAR VM48600 from 1992 that fixes this problem for CP
output (class 3, 6, 7).  Dunno why it wasn't fixed for VMCONIO.

And I don't know if anyone has opened a PMR.

Alan Altmark
z/VM Development
IBM Endicott

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Prop concatenating lines

2009-09-08 Thread CHAPLIN, JAMES (CTR)
Good afternoon Jan,
We use Tivoli monitor which works good (but not great), and we also
wanted to have a second method, so I looked at PROPs with much
disappointment. However we did come up with capturing exception messages
from Perfkit and send the information to our operational center.

You need to have Perfkit installed on your VM system. We focused on
capturing high DASD I/O and high CPU usage on our zLinux servers. We
wrote a separate set of scripts on each Linux server, not using PERFKIT,
to check swapping and memory (using crontab). But memory and swapping
may also be done through PERFKIT, I just did not explore that option
yet.

This involved setting limits in FCONX $PROFILE on PERFSVM, and then
creating a REXX (JSEND) to pass the message from VM to a Linux guest,
which in turn passed the message to our operators in our situation room
to notify us of any problems.

I can send you detail information on the simple code we wrote to your
email address off the list if you would like. Drop me a request to my
personal email, jhchap...@comcast.net, and I will pass you that
information.

James Chaplin
Systems Programmer, MVS, zVM & zLinux

-Original Message-
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
Jan de Wet - Business Connexion
Sent: Tuesday, September 08, 2009 3:33 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Prop concatenating lines

Hi
 
I am trying to use PROP to monitor Linux Red Hat
I am elimination all lines that are OK in the RTABLE to catche any
strange messages
I found that in PROP, some lines are concatenated
These are lines that seem to end on a X'FF'
On the Linux console they apear as separate messages
How can I get them as separate messages on PROP
 
ex on Linux
Starting system logger:  
[  OK  ]..   
Starting kernel logger: [  OK  ]..   
Starting portmap: [  OK  ].. 
Starting NFS statd:  
[  OK  ]..   
Starting RPC idmapd: 

in PROP
ZABBIX03 BCXZVM  :  [  OK  ]...STARTING SYSTEM LOGGER: [  OK
]...STARTING KERNEL LOGGER:
ZABBIX03 BCXZVM  :  [  OK  ]...STARTING PORTMAP: [  OK  ]...STARTING NFS
STATD: 
ZABBIX03 BCXZVM  :  [  OK  ]...STARTING RPC IDMAPD:  

thank you
 
 
 

 

Jan de Wet

Deployment | Data Centre Services

office +27 (0)11 729 5436 | fax +27 (0)86 572 5720 | mobile +27 (0)82
902 1996

web site www.bcx.co.za <http://www.bcx.co.za/>  

Email: jan.de...@bcx.co.za

 




Jesus Christ is my Lord

 


This e-mail and its contents are subject to the Business Connexion (Pty)
Ltd e-mail legal notice available at:
http://www.bcx.co.za/disclaimer.htm

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Prop concatenating lines

2009-09-08 Thread Bruce Hayden
With PROP, it seems, you can't.  I tried to write some automation
using PROP about a year ago, and couldn't get it to work.  Linux may
write multiple lines on the console with a single I/O, separating each
line with a newline character.  CP writes the output on the console as
separate lines.  But, if you also send the output to a secondary user
and use *MSG to read it (as PROP does), CP does not split up the lines
- you get one line per I/O with embedded newlines.  PROP seems to have
a limit on how long of a line it will scan for a matching message.  I
just looked to see if this was documented, but I didn't find it.

My alternative for that particular application was to write a CMS
Pipeline to separate the lines and look for the string.  Commercial
automated operations products should work as well.

On Tue, Sep 8, 2009 at 3:33 AM, Jan de Wet - Business
Connexion wrote:
> Hi
>
> I am trying to use PROP to monitor Linux Red Hat
> I am elimination all lines that are OK in the RTABLE to catche any
> strange messages
> I found that in PROP, some lines are concatenated
> These are lines that seem to end on a X'FF'
> On the Linux console they apear as separate messages
> How can I get them as separate messages on PROP
>
> ex on Linux
> Starting system logger:
> [  OK  ]..
> Starting kernel logger: [  OK  ]..
> Starting portmap: [  OK  ]..
> Starting NFS statd:
> [  OK  ]..
> Starting RPC idmapd:
>
> in PROP
> ZABBIX03 BCXZVM  :  [  OK  ]...STARTING SYSTEM LOGGER: [  OK
> ]...STARTING KERNEL LOGGER:
> ZABBIX03 BCXZVM  :  [  OK  ]...STARTING PORTMAP: [  OK  ]...STARTING NFS
> STATD:
> ZABBIX03 BCXZVM  :  [  OK  ]...STARTING RPC IDMAPD:
>
> thank you
>
>
>
>
>
>
> Jan de Wet
>
> Deployment | Data Centre Services
>
> office +27 (0)11 729 5436 | fax +27 (0)86 572 5720 | mobile +27 (0)82
> 902 1996
>
> web site www.bcx.co.za 
>
> Email: jan.de...@bcx.co.za
>
>
>
>
>
>
> Jesus Christ is my Lord
>
>
>
>
> This e-mail and its contents are subject to the Business Connexion (Pty) Ltd 
> e-mail legal notice available at:
> http://www.bcx.co.za/disclaimer.htm
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>



-- 
Bruce Hayden
Linux on System z Advanced Technical Support
IBM, Endicott, NY

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Prop concatenating lines

2009-09-08 Thread Jan de Wet - Business Connexion
Hi
 
I am trying to use PROP to monitor Linux Red Hat
I am elimination all lines that are OK in the RTABLE to catche any
strange messages
I found that in PROP, some lines are concatenated
These are lines that seem to end on a X'FF'
On the Linux console they apear as separate messages
How can I get them as separate messages on PROP
 
ex on Linux
Starting system logger:  
[  OK  ]..   
Starting kernel logger: [  OK  ]..   
Starting portmap: [  OK  ].. 
Starting NFS statd:  
[  OK  ]..   
Starting RPC idmapd: 

in PROP
ZABBIX03 BCXZVM  :  [  OK  ]...STARTING SYSTEM LOGGER: [  OK
]...STARTING KERNEL LOGGER:
ZABBIX03 BCXZVM  :  [  OK  ]...STARTING PORTMAP: [  OK  ]...STARTING NFS
STATD: 
ZABBIX03 BCXZVM  :  [  OK  ]...STARTING RPC IDMAPD:  

thank you
 
 
 

 

Jan de Wet

Deployment | Data Centre Services

office +27 (0)11 729 5436 | fax +27 (0)86 572 5720 | mobile +27 (0)82
902 1996

web site www.bcx.co.za   

Email: jan.de...@bcx.co.za

 




Jesus Christ is my Lord

 


This e-mail and its contents are subject to the Business Connexion (Pty) Ltd 
e-mail legal notice available at:
http://www.bcx.co.za/disclaimer.htm

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
<>