This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
Hi,
We are trying to set the ruleset for the following condition
Cisco router send the Down and UP trap msg to Netview.
1. For any node for the first trap, send mail alert and corresponding UP trap also. ( This condition is working)
2. For continous Down and UP trap msg in 10 minutes time, need to control and send only after 10mts corresponding trap msg alert mail. (This condition is problem)
attached document is ruleset which i am trying.
Thanks,
santosh
We are trying to set the ruleset as follows..
**********************Ruleset starts here*************************
RuleSet2 RuleSet TrapID3 TrapID10
"" 0
TrapID3 TrapID EventThresh4
cisco 1.3.6.1.4.1.9 "2 " "0 " 0 "cisco 1.3.6.1.4.1.9" "Cisco_Link_
Down Link Down " "" 0
EventThresh4 EventThresh ForwardCorr5 AttrJoin6 Action9
0 1 10 1 ~ Origin ~ ""
ForwardCorr5 ForwardCorr
"echo %"Node $A Interface $2 is $4%""
AttrJoin6 AttrJoin Action7 ForwardCorr8
"" 0 "" 600 "" 1 "Origin Origin 0~2 2 0~"
Action7 Action
"echo %"Node $NVA Interface $NVATTR_2 is $NVATTR_4%"|mail -s %"Node $NVA Interfa
ce $NVATTR_2 is $NVATTR_4 at $NVT%" root" ""
ForwardCorr8 ForwardCorr
""
Action9 Action
"/usr/OV/bin/ovxbeeb %"Link $NVA $NVATTR_1 $NVATTR_2 $NVATTR_3 at $NVT%" |mailx
-s %"$NVA $NVATTR_1 $NVATTR_2 $NVATTR_4 at $NVT%" root" test
TrapID10 TrapID EventThresh11
cisco 1.3.6.1.4.1.9 "3 " "0 " 0 "cisco 1.3.6.1.4.1.9" "Cisco_Link_
Up Link Up " "" 0
EventThresh11 EventThresh AttrJoin6.2 Action12
0 1 10 1 ~ Origin ~ ""
Action12 Action
"echo %"Node $NVA Interface $NVATTR_2 is $NVATTR_4%"|mail -s %"Node $NVA Interfa
ce $NVATTR_2 is $NVATTR_4 at $NVT%" root" vara
****************************Ruleset Ends here*******************************
<<mail.rs>>
mail.rs
Description: Binary data
|