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