[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

366.0. "Event to C3 but not to ENS" by DARGLE::COUGHLAN () Thu Aug 25 1994 18:24

I am running PCM 1.5 on VMS 6.1. I have created an event call AUTH which
displays UAF changes. This event is highlighted in the C3 window but I cannot
get any ENS routines to run for this event. The event does appear in the 
Eventlist window. When I select SHOW EVENTS from the C3 window I get the message

Event data unavailable
System you have selected does not exist in the active database.

I have RTFM but I am not clear on what userdata needs to be passed to the 
window action routines. I have tried different routines without success 
and different userdata. I have shutdown/reconfigured PCM a number of times.
I have created a filter called SECURITY which is shown below.

Any help would be appreciated.

Dave Coughlan.



Filter Name      = security
    Information = Filter for all security messages
    Interval = 0 seconds
    Event Interval = 0 seconds
    Filter 1 events
      AUTH    AUTHORIZATION CHANGE
    Filter 0 classes
    Filter all systems (3)
    Filter 0 SubSystems
    Filter 0 groups
    Notify if event has priority Critical
    Notify if event has priority Major
    Notify if event has priority Minor
    Notify if event has priority Warning
    Notify if event has priority Clear
    Notify if event has priority Indeterminate
     Actions: (3)
      Action 1: Mail    Mail an event to a User
        Information :
        Schedule:
            Run at any hour on any day
        User data passed to action:
            gulvcs::system      !VS4000 which runs PCM

      Action 2: Multi-Line Window    One Event per line in a window
        Information :
        Schedule:
            Run at any hour on any day
        User data passed to action:
            gulvcs 0 0 decnet

      Action 3: Single-Shot Window    One event in one window
        Information : Y
        Schedule:
            Run at any hour on any day
        User data passed to action:
            gulvcs 0 0 decnet
T.RTitleUserPersonal
Name
DateLines
366.1CSC32::BUTTERWORTHGun Control is a steady hand.Thu Aug 25 1994 21:0819
    >get any ENS routines to run for this event. The event does appear in
    >the Eventlist window. When I select SHOW EVENTS from the C3 window I get
    >the message
    
    >Event data unavailable
    >System you have selected does not exist in the active database.
    
    We need to solve this problem first. Are you placing the mouse pointer
    over the nodes icon and using MB3 to pop up the menu and select
    "Show events" ? if the system isn't in the active database then it
    shouldn't have an icon. I suspect there somehting wierd with the
    config file. What might be best is for you to export you config
    database and copy it to CSC32:: so I can look at it and do some
    testing.
    
    Also your user-data items in all your actions look fine.
    
    Regs,
      Dan
366.2OPG::SIMONFri Aug 26 1994 10:054
Dan,
    I shall leave this one to you. Give us a shout if we can help over here

Cheers simon...
366.3Config Copied41775::COUGHLANFri Aug 26 1994 10:2416
    I have copied the file DAVE_CONFIG.PORT to CSC32.
    
    Yes, the option to SHOW EVENTS is selected from the system icon by
    pressing the
    MB3 mouse button. I am able to connect, monitor etc this system both
    from the C3
    window and from the DCL prompt. This is a new installation and the
    event is the
    only event I have created. The processes I have running are Console
    Notify,
    Console Daemon and Console Ctrl 01
    
    Regards,
    
    Dave.
    
366.4UPPERCASE for VMSDARGLE::COUGHLANMon Aug 29 1994 15:2013
I changed the nodename from lowercase to uppercase and I can now see the events
using the SHOW EVENTS option. I changed it back to lowercase and I could not see 
any events and received the error in .1. Weird!!!

I am also receiving ENS messages but I receive ENS messages for all events. When
I changed the security filter to Use only mail and Single shot window, I get 
these action routines running for all events including consoleMGR events which I
have not selected for that filter. Am I missing something.


Regards,

Dave. 
366.5Filter problemsDARGLE::COUGHLANTue Aug 30 1994 16:2212
The problem is with the Filter. If you select the event you wish to filter but
do not specify the CLASS, which you leave at ALL CLASSes , you will receive 
ENS messages for all events. After further investigation, it appears that 
the filter applies to all events in a particular CLASS. I have two events in a 
class called security, AUTH and LOGFAIL. In my Security Filter, I have set the 
filter for the AUTH event only with CLASS set to Security. As both these events
are in the Security scan, they both get passed to ENS and perform the relevant 
action routine even though I have the event selected for AUTH only.

Does anyone understand what I 'm on about...Are these Features

Dave
366.6OPG::PHILIPAnd through the square window...Tue Aug 30 1994 17:3359
Dave,

  I think you are misunderstanding the way that filters work, let
  me try and explain.

  In the DECwindows editor, the filter box has the following buttons...


  Events...  Systems...
                        Subsystems... Priorities...
  Classes... Groups...

  These buttons have associated "All xxxx" buttons associated with
  them which when deselected make these buttons active.


  Now, when ENS gets an event, the following occurs....

  If the new event is not one which 

  If the new event matches ...

      one of the EVENTS selected OR one of the CLASSES selected

  AND the new event matches

      one of the SYSTEMS selected or one of the GROUPS selected

  AND the new event matches

      one of the SUBSYSTEMS selected

  AND the new event matches

      one of the priorities selected

  AND the new event is not one which previously occurred within the
      event interval set 

  AND the new event is not within the interval set

  THEN dispatch all the actions listed

  BUT ONLY IF they are within their individual hours for the current
              day of the week.

  The AND and OR parts are significant, so if you have class X of
  which events A and B are members, then you only need to select
  the class X, deselect the "All events" button and DO NOT select
  any events in the "Events..." dialog. So, an event will match if
  its name matches one which is selected (in this example none are
  selected) OR its class matches one of the classes selected (in
  this case class X).


  Does this help?

Cheers,
Phil