|
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
|