nv-l
[Top] [All Lists]

Ruleset questions....

To: nv-l@lists.tivoli.com
Subject: Ruleset questions....
From: Matt Ashfield <mda@UNB.CA>
Date: Thu, 18 Mar 1999 10:19:12 -0400
Reply-to: Matt Ashfield <mda@unb.ca>
Sender: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
Hi all,
 
I am just starting to play with creating rulesets. I've had some trouble getting one of them going. I am trying to get the ruleset to send an email if a NVNDWN_EV (netview node down event) is received and a NVNDUP_EV (netview node up event) for that downed node is NOT received within a time threshold. So basically I want to get an email if a node has been down for a particular period of time without being back up...I did this by creating two trap events. One is a NVNDWN_EV trap and the other is a NVNDUP_EV trap. I use these as inputs to a PASS ON MATCH. I try and match the nodename, Event Attribute 2...I then use this PASS ON MATCH as input to an ACTION which is my script which sends the email.
The way I have it now, it emails me everytime a node goes down, the rulest is defind as follows if it helps:
 
RuleSet6 RuleSet TrapID7 TrapID10
"" 1
TrapID7 TrapID AttrJoin8
netView6000 1.3.6.1.4.1.2.6.3 6 58916865 0 "netView6000         1.3.6.1.4.1.2.6.
3" "IBM_NVNDWN_EV           Specific 58916865      " "" 0
AttrJoin8 AttrJoin Action9
"" 0 "" 120 0 0 "2 2 0~"
Action9 Action
"/home/mda/mattdown $NVATTR_2" ""
TrapID10 TrapID AttrJoin8.2
netView6000 1.3.6.1.4.1.2.6.3 "6 " "58916864 " 1 "netView6000         1.3.6.1.4.
1.2.6.3" "IBM_NVNUP_EV            Specific 58916864      " "" 0
 
Any help would be geatly appreciated....
 
Matt Ashfield
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web