[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference csc32::consolemanager

Title:POLYCENTER Console Manager
Notice:Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS:
Moderator:CSC32::BUTTERWORTH
Created:Thu Aug 06 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1541
Total number of notes:6564

844.0. "Event text is truncated with PCM 1.5" by MLNCSC::BORGINI () Thu Jun 29 1995 10:17

Hi folks,
I need help about a problem with PCM 1.5.
A customer of mine, using OpenVMS AXP 6.1 and PCM 1.5 and Motif, has 
a problem when his window displayed on the screen receives an event;
then the line displayed has truncated.
This occurs randomly.
I've read STARS article titled: "[PLY_CM] Event Text Is Truncated in the
Multiline Eventlist Window", this issue is correct for my problem, but
both workarounds suggested don't solve my problem.
Workaround suggested:

1. Modify the event text type from a 'Literal String' to a 'Regular
   Expression'.

2. Modify the text to scan for to 'original_text*^'. Where 'original_text'
   is the text that was being searched for when the event text type was a
   'Literal String'. This causes the event to be signaled only when the
   carriage return is detected at the end of the line, hence the full line
   of text will be sent to ENS.

Are there other further suggestions?
Thanks in advance.
Regards,
       Roberto. 
T.RTitleUserPersonal
Name
DateLines
844.1OPG::PHILIPAnd through the square window...Thu Jun 29 1995 10:489
Roberto,

  The 2 steps you have should work. Why does this not solve your
  problem? Can you give an example of where it doesnt work i.e.
  what is your event definition, what does the line of console
  output look like.

Cheers,
Phil
844.2Event: SecurityMLNCSC::BORGINIMon Jul 03 1995 11:2117
Hi Phil,
thanks for your cooperation.
This is the situation:
if my customer has scanning on the screen this sentence:

   SECURITY: Penetrazione intruder su SYSMAN.

This is the event definition:

Event name:  Security
Class:       Sect
Subsystem:   VAX Cluster console system
Information: Alarm intrusion

When occurs the event Security, his display has truncated after SECURITY:
Regards,
       Roberto.
844.3All attribute please.ZEDAR::simonSimon Jackson 830 x3879Mon Jul 03 1995 14:1110
Hi,
   plase post ALL the event attributes.

I.e. 
Text to Scan for:
Regular: Y/N
Start:
Count:

Cheers Simon....
844.4Voila' the event attributes!MLNCSC::BORGINIMon Jul 03 1995 16:5210
Hi Simon,
here are other attributes of that event (excuse me if they were incomplete):

 Context start  = 1
 Context count  = 1
 Event priority = warning
 both Literal than Regular Extension show the error.

Regards,
       Roberto.
844.5OPG::PHILIPAnd through the square window...Mon Jul 03 1995 17:246

  Yes, but, What is the "Event Text" attribute set to????

Cheers,
Phil
844.6"Event Text" = 'Literal String' or 'Regular Exp.'MLNCSC::BORGINITue Jul 04 1995 10:045
Hi Phil,
my customer affirms the "Event Text" attribute has setted to 'Literal String',      
but also setted in 'Regular Expression' shows the same failure.
Regards,
       Roberto.
844.7Furtehr explanation.ZEDAR::simonSimon Jackson 830 x3879Tue Jul 04 1995 13:5939
Roberto,
        I think we are still at Crossed Purposes. 

The event text is the actual string you wish to scan for. Not whether
it is literal or not.

An example of an event below:

Event Name:  CNXMAN
Info:        OpenVMS Connection manager Message
Text:        %CNXMAN,
Class:       Cluster
SubSystem:   Op sys
Regular exp: N
Start:       0
Count:       1
Priority:    Minor

The Text field here is the straight Literal string %CNXMAN, as soon
as that is seen on the console the event is triggered.

Just changing to a regular will make no difference as it string in 
the Text field does not contain Meta Characters.

If the text was changed to:

Text:        %CNXMAN,*^
Regular exp: Y

Here the event will be triggered by the %CNXMAN, followed by any 
characters terminated by a Line feed. I.e not until the full line
of text has been received.

The "*" is a multicharacter wildcard
The "^" is Line feed.

Hope that clarify things for you.

Cheers Simon...
844.8Text: SECURITY:MLNCSC::BORGINITue Jul 04 1995 15:2614
Hi Simon,
these are all attributes:

Event Name: SECURITY
Info      : Alarm intrusion
Text      : SECURITY:
Class     : Sect
Subsystem : VAX Cluster console system
Start     : 1
Count     : 1
Priority  : warning
  
Regards,
       Roberto.
844.9All is clear to me now.ZEDAR::simonSimon Jackson 830 x3879Tue Jul 04 1995 16:2817
Roberto,
        now I understand what you see.

As the scan text is just SECURITY: as soon as the ":" is
seen the event is triggered. The ENS process will probably 
process this before the rest of the line of text has appeared
on the console.

By changing the event so that the text is:

Text     : SECURITY:*^
and changing the event type to Regular Exp the event will not trigger 
until the end of the line.

Hope this helps.

Cheers Simon....
844.10Other suggestions?MLNCSC::BORGINIWed Jul 05 1995 15:1111
Hi Simon,
thanks for your suggestion, but unfortunately also this last doesn't
solve the problem, that isn't systematic but random.
Also other events, without ':' character termination show the same
problem.
An opinion of my customer (he has worked for 5 years with VCS SW product
and now he is testing PCM to substitute VCS) is that PCM is maybe slower
compared to high speed of his Alpha system, an Alphastation 200 model
4/233.  
Regards,
       Roberto.
844.11OPG::PHILIPAnd through the square window...Wed Jul 05 1995 16:2945
Roberto,

  Lets start again...

  1) Have you read the user guide, in particular the part about
     regular expressions?

  2) Does changing your event so that when you use the following
     commands in the character cell editor you get the output
     shown below...

PCM Edit> show event SECURITY
Full or Brief listing? [f=full, b=brief] (b): f
Output file (SYS$OUTPUT):
Event Name      = security
    Information = Alarm intrusion
    Class       = Sect
    Subsystem   = VAX Cluster console system
    Text        = SECURITY:*^
    Text match  = Regular Expression (token match)
    Start       = 1
    Count       = 1
    Priority    = Warning
PCM Edit>


    PLEASE NOTE THE *^ characters on the end of the Text string
    and the Text match set to regular expression!!!

  3) Have you made the same change to the other events causing
     you a problem (added the *^ to the text field and changed
     the event to a regular expression).


  4) It is IMPORTANT that you read the manual regarding regular
     expressions because if your original text string contains one
     of the regular expression meta-characters YOU WILL NOT get
     your event detected.

  Finally, get your customer to install V1.6, we believe it performs
  better than V1.5, in any case, your customer should see MUCH better
  performance from his Alpha running PCM than a VAX running VCS.

Cheers,
Phil
844.12Will install V1.6!MLNCSC::BORGINIThu Jul 06 1995 09:485
Hi Phil,
following your suggestion, my customer will install PCM 1.6.
Thanks a lot for you hints.
Regards,
       Roberto.