nv-l
[Top] [All Lists]

Re: Return codes in "In-Line Action" Ruleset nodes

To: nv-l@lists.tivoli.com
Subject: Re: Return codes in "In-Line Action" Ruleset nodes
From: "Boyles, Gary P" <gary.p.boyles@INTEL.COM>
Date: Wed, 9 Dec 1998 13:28:06 -0800
Reply-to: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
Sender: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
Why exactly are you pinging it five times?  I'd think
once were enough  (if you got a response back).

If you're going to do a re-check  (let's say because
of network conjestion)... I'd set the count to 5,
and maybe the wait-time (ie. -i) to 10.  You'd obviously
have to change the ruleset to timeout at about 1 minute.

If you're doing this because a node is bouncing up & down,
then I'd use the "Reset on Match" rule, and have both
interface up & down  (I wouldn't use node up/down) plug
into it.  I'd also set the "reset-on-match" wait time to
above a minute.

Note:  If you use interface up/down, you'll probably be
       wanting to look at the 1st word in the 4th attribute,
       instead of the node-name (i.e. 2nd attribute).

My 2 cents.

Gary Boyles


-----Original Message-----
From: Giuliotti, J. P. [mailto:JGiuliotti@MFS.COM]
Sent: Wednesday, December 09, 1998 12:35 PM
To: NV-L@UCSBVM.UCSB.EDU
Subject: Return codes in "In-Line Action" Ruleset nodes


Hello Again,

AIX 4.2 NV6000 4.1
When NV reports a Node Down event (NDWN_EV), I run it through a ruleset that
pings the node from an In-Line Action box with the following settings:
Command: ping -c 5 $NVATTR_2
                                Wait interval: 20 seconds
                                Command Exit Code Comparison: Not Equal to:
0

This tells me that if Netview doesn't see a node it will try to ping it 5
times and will give it 20 seconds to respond. If it sees a return code other
than zero (there is a problem), then it will forward it on to the next node
in the ruleset.

I am still getting false alarms. Am I misunderstanding the way an inline
action works? Is 20 seconds enough time for 5 responses? (I think so). What
if 2 out of the five pings are "time outs" due to network latency? Will that
trigger the return code to return other than a zero value even though the
other 3 pings were good?

Thanks in advance.


J.P. Giuliotti  - Massachusetts Financial Services
(617) 954-5684
JPG@MFS.COM

<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web