Hi,
(apologies in advance if you sub to the tme10 list as
well - I've cross posted because this one sits pretty much in the middle of the
two subjects).
I'm having a little
bit of trouble editing up a CDS file for the tecad_nv6k
adapter.
From the trace I've
got (below) I think the event is being discarded all the time, but I can't see
how/why it is doing that. I should be able to get the omnibackEvt event
processed properly.... The adapter is working ok for other events and the
trap looks ok in the netview event list.
Anyone got a view
where I'm going wrong.....or if anyone has found some good documentation on this
yet, that would be useful...
trace
file:
Trying Class
"omnibackEvt" Tue Jan 21 15:21:08 2003 NORMAL: SELECT , err
00, .\select.c line 0067: Entered
TECAD_EvalSelect Name: TECAD_TYPE 1 11 "ENTERPRISE"
Key: TECAD_TYPE 4 0 NULL Value: TECAD_TYPE
1 22 "1.3.6.1.4.1.11.2.17.1"
** This is right -
it's the EID I expect
Tue Jan 21 15:21:08
2003 VERBOSE: KERNEL , err 00, .\evaluation.c line 0092:
TECAD_GetConstantEntry Index <267> Tue Jan 21 15:21:08 2003
NORMAL: SELECT , err 00, .\select.c line
0510: Enter TECAD_TestSelectValue 1 1 22 22 775106097 775106097 Tue Jan 21
15:21:08 2003 NORMAL: SELECT , err 00,
.\select.c line 0513: Test_Value: 6882920 Tue Jan 21 15:21:08 2003
NORMAL: SELECT , err 00, .\select.c line
0516: Value: 6890000 Tue Jan 21 15:21:08 2003 NORMAL: SELECT , err
00, .\select.c line 0221: Correct is
TRUE Name: TECAD_TYPE 1 8 "SPECIFIC" Key:
TECAD_TYPE 4 0 NULL Value: TECAD_TYPE
2 4 "59047936"
** This is right -
its the specific value for the trap
Tue Jan 21 15:21:08
2003 VERBOSE: KERNEL , err 00, .\evaluation.c line 0092:
TECAD_GetConstantEntry Index <169> Tue Jan 21 15:21:08 2003
NORMAL: SELECT , err 00, .\select.c line
0510: Enter TECAD_TestSelectValue 2 2 4 4 59047936 59047936 Tue Jan 21
15:21:08 2003 NORMAL: SELECT , err 00,
.\select.c line 0513: Test_Value: 7014204 Tue Jan 21 15:21:08 2003
NORMAL: SELECT , err 00, .\select.c line
0516: Value: 7015052 Tue Jan 21 15:21:08 2003 NORMAL: SELECT , err
00, .\select.c line 0221: Correct is
TRUE Tue Jan 21 15:21:08 2003 VERBOSE: KERNEL , err 00,
.\evaluation.c line 0092: TECAD_GetConstantEntry Index <268> Tue Jan 21
15:21:08 2003 NORMAL: SELECT , err 00,
.\select.c line 0277: Finished TECAD_EvalSelect, returning FALSE Tue Jan 21
15:21:08 2003 LOW: KERNEL , err
00, .\kernel.c line 0311: Default action is
<*DISCARD*>
** The above seems
to says it's discarded my event! But why! It was going so well
......
Tue Jan 21 15:21:08
2003 NORMAL: KERNEL , err 00,
.\kernel.c line 0315: Finished kernel_select Tue Jan 21 15:21:08
2003 LOW: DRVSPEC, err 00,
driver_ov.c line 1469: Main loop : freeing event buffer Tue Jan 21 15:21:08
2003 VERBOSE: UTILS , err 00, \configuration.c line 1463: Free pointer
6b0a98 Tue Jan 21 15:21:08 2003 VERBOSE: UTILS , err 00,
\configuration.c line 1463: Free pointer 8b2eb8
tecad_nv6k.oid
(relevant bit):
"omnibackEvt" "1.3.6.1.4.1.11.2.17.1" "omnibackEvtApptype" "1.3.6.1.4.1.11.2.17.1.1.0" "omnibackEvtCellHost" "1.3.6.1.4.1.11.2.17.1.2.0" "omnibackEvtTrapMsgType" "1.3.6.1.4.1.11.2.17.1.3.0" "omnibackEvtAppName" "1.3.6.1.4.1.11.2.17.1.4.0" "omnibackEvtAppSev" "1.3.6.1.4.1.11.2.17.1.5.0" "omnibackEvtAppMsg" "1.3.6.1.4.1.11.2.17.1.6.0" "omnibackEvtParms" "1.3.6.1.4.1.11.2.17.1.7.0"
tecad_nv6k.cds:
CLASS
omnibackEvt SELECT 1: ATTR(=,$ENTERPRISE),
VALUE(PREFIX, "1.3.6.1.4.1.11.2.17.1") ; 2: $SPECIFIC =
59047936 ; 3: ATTR(=,"omnibackEvtApptype")
; 4: ATTR(=,"omnibackEvtCellHost") ;
5: ATTR(=,"omnibackEvtTrapMsgType") ; 6:
ATTR(=,"omnibackEvtAppName") ; 7:
ATTR(=,"omnibackEvtAppSev") ; 8:
ATTR(=,"omnibackEvtAppMsg") ; 9:
ATTR(=,"omnibackEvtParms") ; MAP cellMgrName = $V4
; trapmsg = $V5 ; appname = $V6 ; appmsg = $V8
; appsev = $V7 ; parms = $V9 ; msg
= "Omniback event" ; severity = WARNING
; END
tecad_nv6k.conf
(although it's not even really close to this yet!)
FilterMode=IN
FilterCache:Class=omnibackEvt Filter:Class=omnibackEvt
Any help
appreciated....
Karl
Karl Prinelle
Tivoli Certified
Consultant
Elyzium Ltd
Enterprise Systems Management
Consultants
Mobile: +44 (0)7813 189198
---------------------------------------------------------------------------
Elyzium Disclaimer:
This email transmission is confidential and intended solely for the person or
organisation to whom it is addressed. If you are not the intended recipient, you
must not copy, distribute or disseminate the information, or take any action in
reliance of it. Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be the views of any
organisation or employer. If you have received this message in error, do not
open any attachment but please notify the sender (above) deleting this message
from your system. Please rely on your own virus check no responsibility is taken
by the sender for any damage rising out of any bug or virus infection.
---------------------------------------------------------------------------
|