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

Conference smaug::snagwy

Title:SNA GATEWAY NOTEFILE
Notice:Note 1.* -> kits and doc, 288.* -> obtaining product support
Moderator:EDSCLU::GARROD
Created:Fri Feb 07 1986
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:7116
Total number of notes:28576

7018.0. "events and peer server" by MDR01::SOENGAS (MCS Madrid) Thu Feb 20 1997 13:46

    
    
    	Hi,
    
    	Sna peer server, digital unix 3.2x, No decnet-osi, only tcp/ip
    	I want to obtain events on console or on a file , if it possible
    	if I don't have decnet-osi with the script
    	/var/dna/script/start_event_dispatcher.ncl.
    	
    	Or what are the steps?
    	
        Thanks for your answers,
    	Elsa Soengas 
T.RTitleUserPersonal
Name
DateLines
7018.1Should be possibleEDSCLU::GARRODIBM Interconnect EngineeringThu Feb 20 1997 15:345
    It shouldf be possible to log eents locally I think. Check that
    /usr/sbin/dnaevld is present. I thought we installed enough of the
    DECnet subsets to get this enabled.
    
    Dave
7018.2I don't see the mistakeMDR01::SOENGASMCS MadridFri Feb 21 1997 07:12146
    
    	Hi,
    
    	It's possible that I make some mistake but see all good,
    	but I don't see the file created and not events on this:
    
    	/var/dna/scripts/start_event_dispatcher.ncl   
    	#
    # SCCSID @(#)start_event_dispatcher.template    400.1 DECnet/OSI
    11/8/94
    #
    # To make permanent changes in event logging behavior, copy this
    # file to start_event_dispatcher.ncl and edit appropriately.
    # As written, it will display all network management events (but one)
    # on the system console device.
    #
    create event dispatcher
    enable event dispatcher
    #
    # Establish the local outbound stream
    #
    create event dispatcher outbound stream local_stream
    set    event dispatcher outbound stream local_stream sink node 0
    enable event dispatcher outbound stream local_stream
    #
    # Create the local sink and disable the display of UIDs
    #
    create event dispatcher sink local_sink
    set    event dispatcher sink local_sink displayUIDs FALSE
    #
    # Removing the comment character from the first of the following
    commands
    # will cause all events to be stored in the file /usr/adm/event_file.
    # To change the name of the output file, edit and uncomment the
    # second command.
    #
    set event dispatcher sink local_sink client type file
    set event dispatcher sink local_sink file name /var/sna/event_file
    #
    # Enable the local sink
    #
    enable event dispatcher sink local_sink
    
    	
    
    	ncl> show event dispatcher sink local_sink all
    
    Node 0 Event Dispatcher SINK local_sink
    AT 1997-02-21-10:08:34.896+01:00I-----
    
    Identifiers
    
        Name                              = local_sink
    
    Status
    
        UID                               =
    86F5D2A0-86F8-11D0-800D-08002BE6924D
        State                             = On
        Buffer Size                       = 4096
    
    Characteristics
    
        Object Name                       = 0:.
        End User                          = number=82
        Template                          =
        Specific filter                   =
            (
                [
                    EventCode = ( Node 0:. , All) ,
                    Filter Action = Ignore
                ] ,
                [
                    EventCode = ( Node 0:. Event Dispatcher , All) ,
                    Filter Action = Ignore
                ] ,
                [
                    EventCode = ( Node 0:. Event Dispatcher SINK local_sink
    , All) ,
                    Filter Action = Pass
                ]
            )
        Global filter                     =
            (
                [
                    EventCode = ( ( Node ) , All) ,
                    Filter Action = Ignore
                ] ,
                [
                    EventCode = ( ( Node , Event Disp] ,
                [
                    Filter Action = Ignore
                ] ,
                [
                    EventCode = ( ( Node , Event Disp] ,
                [
                    EventCode = ( ( Node , Event Dispatcher , SINK ) , All)
    ,
                    Filter Action = Block
                ]
            )
        Catch All Filter                  = Pass
        Description                       = ""
        DisplayUIDs                       = False
        Client Type                       = File
        File Name                         = "/var/sna/event_file"
        Device Name                       = ""
        User Client                       = number=0
    
    Counters
    
        Events Filtered =                    0
        Events Lost =                    0
        Filter Changes =                    1
        Connections Accepted =                    0
        Creation Time                     = 1997-02-15-06:58:36.801+01:00I-----
                                                                                    
    
    # ps ax
    
    	 727 ??       I        0:00.03 /usr/sbin/dnalimd
      731 ??       I        0:13.57 /usr/sbin/dnaevld
      739 ??       IW       0:01.57 /usr/sbin/ctfd
    
    
    # cd /var/sna
    # ls
    KernelBuilt                  t21_init_sna_server.ans~
    kernel_install_notes.txt     t21_init_sna_server.ncl
    q25mcd.conf                  t21_init_sna_server.ncl.old
    qllc.mib                     t21icu
    sdlc.mib                     t21mcd.conf
    snacp.mib                    t21mcd.conf.sav1
    snagap.mib                   t21mcd.conf.sav2
    snalu.mib                    t21smc.conf
    t21_E13-1_release_notes      t21strsetup.conf
    t21_init_sna_server.ans
    
    
    
    
    	Sorry If make a mistake , I don't see this.
    
    	Thanks for your help,
    	Elsa Soengas
    	MCS Spain
7018.3Look at the outbound streamEDSCLU::GARRODIBM Interconnect EngineeringFri Feb 21 1997 13:308
    Do a
    
    ncl show event dispatcher out stream local_stream all
    
    I think for some unknown reason this is set up with Catch All Filter
    set to BLOCK instead of PASS. Change it to PASS.
    
    Dave
7018.4catch all filter = block by defaultMDR01::SOENGASMCS MadridMon Feb 24 1997 05:5810
    
    
    	Hi,
    
    	You have the correct answer , by default 
    	it's Catch All Filter = BLOCK
    
    	Thanks for your answers,
    	Elsa Soengas
    	MCS Spain