I don't know what the variables in this particular trap from an 8260 mean but
you should have received documentation with the 8260 that will tell you. An
alternative is to go out to the http://www.networking.ibm.com web site, find the
section on the 8260 and see if there is a MIB you can download or more
documentation there.
It is up to each agent what to put in a trap. There is no universal standard.
So each vendor must define, either in a MIB or elsewhere, what his traps mean.
You must also understand at least this much, that it is unlikely that you will
be able to write one simple ruleset to cover all cases of what you want to do.
It is far more likely that you will have to write several different rulesets
(one for certain NetView traps, one for IBM 8260s, one for Cisco routers, and so
on ) or else one more complicated ruleset, using multiple Trap Settings, and
possibly multiple actions, to handle all conditions.
James Shanks
Tivoli (NetView for UNIX) L3 Support
"Sin Wai Yee, Maggie" <mwysin@KCRC.COM> on 08/08/99 10:10:58 PM
Please respond to Discussion of IBM NetView and POLYCENTER Manager on NetView
<NV-L@UCSBVM.UCSB.EDU>
To: NV-L@UCSBVM.UCSB.EDU
cc: (bcc: James Shanks/Tivoli Systems)
Subject: Re: Problem for represent meaningful information in action box of
rul eset
My action has defined like that
echo `date +"%r %d %h" ` $NVA $NV_ATTR1 $NV_ATTR2 $NV_ATTR3 $NV_ATTR4
$NV_ATTR4 | mail abc@xyz.com
And here is some of the result :
09:32:36 AM 09 Aug Device1 IBM 8250 - Module 4 Down ( This trap generated by
NETMON) - meaingful OK
09:29:49 AM 09 Aug Device1 3 3 2 7 A ( This trap generated by IBM 8260 )
-meaningless
For the second examples, all the attribute provided can not give me
meaningful information. I really can't specify each action for each type of
this specific events. But , the event browser of control desk can recongize
this type of event - because it allow me to define each event in the event
configuration. ( i have tried to define the action within event configuation
for each event - but in here no any ruleset can be implied - it will take
the action immediately after receiving the trap ).
Is there any solution for the case like second examples ?
Thanks
> -----Original Message-----
> From: James Shanks [SMTP:James_Shanks@TIVOLI.COM]
> Sent: Friday, August 06, 1999 8:25 PM
> To: NV-L@UCSBVM.ucsb.edu
> Subject: Re: Problem for represent meaningful information in action
> box of rul eset
>
> Maggie -
>
> Show us your action command so we can examine it.
>
> $NVG is the generic trap type, probably a number "6'. $NVS is the the
> specific
> trap number. So you would expect these to be numeric. As for the MIB
> number,
> you'll have to explain what you are doing and why you expected anything
> else.
>
> Did you want to send in the mail what you see in the event display? Then
> you
> must use xnmtrap to see how the event log message is formatted and send
> something similar to that. For example, if the event log message says
> "$3" then
> you must send "$NVATTR_3" in your mail. If it says "$4 interface is $5"
> then
> you must send " $NVATTR_4 interface is $NVATTR_5".
>
> Do you understand?
>
> James Shanks
> Tivoli (NetView for UNIX) L3 Support
>
>
>
> "Sin Wai Yee, Maggie" <mwysin@KCRC.COM> on 08/06/99 12:27:20 AM
>
> Please respond to Discussion of IBM NetView and POLYCENTER Manager on
> NetView
> <NV-L@UCSBVM.UCSB.EDU>
>
> To: NV-L@UCSBVM.UCSB.EDU
> cc: (bcc: James Shanks/Tivoli Systems)
> Subject: Problem for represent meaningful information in action box of
> rul
> eset
>
>
>
>
>
> I have configured ruleset in order to forward some events to mail.
>
> What I have received - is a sequence no - meaningless for me. ($NVG, $NVS
> -
> all are in number format ).
> Furthermore, our network device 's mib parameter are also in number
> format.
>
> -> Very meaningless message.
>
> Do all of you have any idea for that ?
>
> 1) is there any variable that I can used.
> or
> 2) is there any ovAPI can help me in this case ?
>
>
>
|